public CharacterClassType characterClass(CharacterClassType value) { getCharacterClass().add(value); return this; }
/** * Creates a new {@code CharacterClassType} instance by deeply copying a given {@code CharacterClassType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public CharacterClassType(final CharacterClassType o) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 super(); if (o == null) { throw new NullPointerException("Cannot create a copy of 'CharacterClassType' from 'null'."); } // 'CharacterClass' collection. if (o.characterClass!= null) { copyCharacterClass(o.getCharacterClass(), this.getCharacterClass()); } // CBuiltinLeafInfo: java.lang.String this.value = ((o.value == null)?null:o.getValue()); // CBuiltinLeafInfo: javax.xml.namespace.QName this.ref = ((o.ref == null)?null:o.getRef()); // CBuiltinLeafInfo: javax.xml.namespace.QName this.name = ((o.name == null)?null:o.getName()); }
copyCharacterClass(this.getCharacterClass(), clone.getCharacterClass());
} else if (null != cc.getCharacterClass() && !cc.getCharacterClass().isEmpty()) { for (CharacterClassType subClass : cc.getCharacterClass()) {
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { List<CharacterClassType> theCharacterClass; theCharacterClass = (((this.characterClass!= null)&&(!this.characterClass.isEmpty()))?this.getCharacterClass():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "characterClass", theCharacterClass), currentHashCode, theCharacterClass); } { String theValue; theValue = this.getValue(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "value", theValue), currentHashCode, theValue); } { QName theRef; theRef = this.getRef(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ref", theRef), currentHashCode, theRef); } { QName theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName); } return currentHashCode; }
lhsCharacterClass = (((this.characterClass!= null)&&(!this.characterClass.isEmpty()))?this.getCharacterClass():null); List<CharacterClassType> rhsCharacterClass; rhsCharacterClass = (((that.characterClass!= null)&&(!that.characterClass.isEmpty()))?that.getCharacterClass():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "characterClass", lhsCharacterClass), LocatorUtils.property(thatLocator, "characterClass", rhsCharacterClass), lhsCharacterClass, rhsCharacterClass)) { return false;