Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2015.04.16 at 07:39:09 AM CEST 
  //
  
  
  package net.opengis.iso19139.gmx.v_20060504;
 
 import java.util.List;

Java class for AbstractCT_Catalogue_Type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AbstractCT_Catalogue_Type">
   <complexContent>
     <extension base="{http://www.isotc211.org/2005/gco}AbstractObject_Type">
       <sequence>
         <element name="name" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType"/>
         <element name="scope" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" maxOccurs="unbounded"/>
         <element name="fieldOfApplication" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="versionNumber" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType"/>
         <element name="versionDate" type="{http://www.isotc211.org/2005/gco}Date_PropertyType"/>
         <element name="language" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="characterSet" type="{http://www.isotc211.org/2005/gmd}MD_CharacterSetCode_PropertyType" minOccurs="0"/>
         <element name="locale" type="{http://www.isotc211.org/2005/gmd}PT_Locale_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="subCatalogue" type="{http://www.isotc211.org/2005/gmx}CT_Catalogue_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "AbstractCT_Catalogue_Type", propOrder = {
     "name",
     "scope",
     "fieldOfApplication",
     "versionNumber",
     "versionDate",
     "language",
     "characterSet",
     "locale",
     "subCatalogue"
 })
     CTCodelistCatalogueType.class,
     CTCrsCatalogueType.class,
     CTUomCatalogueType.class
 })
 public abstract class AbstractCTCatalogueType
     extends AbstractObjectType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     @XmlElement(required = true)
     protected CharacterStringPropertyType name;
     @XmlElement(required = true)
     protected List<CharacterStringPropertyTypescope;
     @XmlElement(required = true)
     @XmlElement(required = true)
    protected DatePropertyType versionDate;
    protected List<PTLocalePropertyTypelocale;
    protected List<CTCataloguePropertyTypesubCatalogue;

    
Gets the value of the name property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the name property.

Parameters:
value allowed object is
    public void setName(CharacterStringPropertyType value) {
        this. = value;
    }

    
Gets the value of the scope property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the scope property.

For example, to add a new item, do as follows:

    getScope().add(newItem);
 

Objects of the following type(s) are allowed in the list

        if ( == null) {
             = new ArrayList<CharacterStringPropertyType>();
        }
        return this.;
    }

    
Gets the value of the fieldOfApplication property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the fieldOfApplication property.

For example, to add a new item, do as follows:

    getFieldOfApplication().add(newItem);
 

Objects of the following type(s) are allowed in the list

        if ( == null) {
             = new ArrayList<CharacterStringPropertyType>();
        }
        return this.;
    }

    
Gets the value of the versionNumber property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the versionNumber property.

Parameters:
value allowed object is
    public void setVersionNumber(CharacterStringPropertyType value) {
        this. = value;
    }

    
Gets the value of the versionDate property.

Returns:
possible object is
    public DatePropertyType getVersionDate() {
        return ;
    }

    
Sets the value of the versionDate property.

Parameters:
value allowed object is
    public void setVersionDate(DatePropertyType value) {
        this. = value;
    }

    
Gets the value of the language property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the language property.

Parameters:
value allowed object is
    public void setLanguage(CharacterStringPropertyType value) {
        this. = value;
    }

    
Gets the value of the characterSet property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the characterSet property.

Parameters:
value allowed object is
    public void setCharacterSet(MDCharacterSetCodePropertyType value) {
        this. = value;
    }

    
Gets the value of the locale property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the locale property.

For example, to add a new item, do as follows:

    getLocale().add(newItem);
 

Objects of the following type(s) are allowed in the list

    public List<PTLocalePropertyTypegetLocale() {
        if ( == null) {
             = new ArrayList<PTLocalePropertyType>();
        }
        return this.;
    }

    
Gets the value of the subCatalogue property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the subCatalogue property.

For example, to add a new item, do as follows:

    getSubCatalogue().add(newItem);
 

Objects of the following type(s) are allowed in the list

        if ( == null) {
             = new ArrayList<CTCataloguePropertyType>();
        }
        return this.;
    }
    public String toString() {
        final ToStringStrategy strategy = .;
        final StringBuilder buffer = new StringBuilder();
        append(nullbufferstrategy);
        return buffer.toString();
    }
    public StringBuilder append(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
        strategy.appendStart(locatorthisbuffer);
        appendFields(locatorbufferstrategy);
        strategy.appendEnd(locatorthisbuffer);
        return buffer;
    }
    public StringBuilder appendFields(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
        super.appendFields(locatorbufferstrategy);
        {
            CharacterStringPropertyType theName;
            theName = this.getName();
            strategy.appendField(locatorthis"name"buffertheName);
        }
        {
            List<CharacterStringPropertyTypetheScope;
            theScope = (((this.!= null)&&(!this..isEmpty()))?this.getScope():null);
            strategy.appendField(locatorthis"scope"buffertheScope);
        }
        {
            List<CharacterStringPropertyTypetheFieldOfApplication;
            theFieldOfApplication = (((this.!= null)&&(!this..isEmpty()))?this.getFieldOfApplication():null);
            strategy.appendField(locatorthis"fieldOfApplication"buffertheFieldOfApplication);
        }
        {
            CharacterStringPropertyType theVersionNumber;
            theVersionNumber = this.getVersionNumber();
            strategy.appendField(locatorthis"versionNumber"buffertheVersionNumber);
        }
        {
            DatePropertyType theVersionDate;
            theVersionDate = this.getVersionDate();
            strategy.appendField(locatorthis"versionDate"buffertheVersionDate);
        }
        {
            CharacterStringPropertyType theLanguage;
            theLanguage = this.getLanguage();
            strategy.appendField(locatorthis"language"buffertheLanguage);
        }
        {
            MDCharacterSetCodePropertyType theCharacterSet;
            theCharacterSet = this.getCharacterSet();
            strategy.appendField(locatorthis"characterSet"buffertheCharacterSet);
        }
        {
            List<PTLocalePropertyTypetheLocale;
            theLocale = (((this.!= null)&&(!this..isEmpty()))?this.getLocale():null);
            strategy.appendField(locatorthis"locale"buffertheLocale);
        }
        {
            List<CTCataloguePropertyTypetheSubCatalogue;
            theSubCatalogue = (((this.!= null)&&(!this..isEmpty()))?this.getSubCatalogue():null);
            strategy.appendField(locatorthis"subCatalogue"buffertheSubCatalogue);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof AbstractCTCatalogueType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final AbstractCTCatalogueType that = ((AbstractCTCatalogueTypeobject);
        {
            CharacterStringPropertyType lhsName;
            lhsName = this.getName();
            CharacterStringPropertyType rhsName;
            rhsName = that.getName();
            if (!strategy.equals(LocatorUtils.property(thisLocator"name"lhsName), LocatorUtils.property(thatLocator"name"rhsName), lhsNamerhsName)) {
                return false;
            }
        }
        {
            List<CharacterStringPropertyTypelhsScope;
            lhsScope = (((this.!= null)&&(!this..isEmpty()))?this.getScope():null);
            List<CharacterStringPropertyTyperhsScope;
            rhsScope = (((that.scope!= null)&&(!that.scope.isEmpty()))?that.getScope():null);
            if (!strategy.equals(LocatorUtils.property(thisLocator"scope"lhsScope), LocatorUtils.property(thatLocator"scope"rhsScope), lhsScoperhsScope)) {
                return false;
            }
        }
        {
            List<CharacterStringPropertyTypelhsFieldOfApplication;
            lhsFieldOfApplication = (((this.!= null)&&(!this..isEmpty()))?this.getFieldOfApplication():null);
            List<CharacterStringPropertyTyperhsFieldOfApplication;
            rhsFieldOfApplication = (((that.fieldOfApplication!= null)&&(!that.fieldOfApplication.isEmpty()))?that.getFieldOfApplication():null);
            if (!strategy.equals(LocatorUtils.property(thisLocator"fieldOfApplication"lhsFieldOfApplication), LocatorUtils.property(thatLocator"fieldOfApplication"rhsFieldOfApplication), lhsFieldOfApplicationrhsFieldOfApplication)) {
                return false;
            }
        }
        {
            CharacterStringPropertyType lhsVersionNumber;
            lhsVersionNumber = this.getVersionNumber();
            CharacterStringPropertyType rhsVersionNumber;
            rhsVersionNumber = that.getVersionNumber();
            if (!strategy.equals(LocatorUtils.property(thisLocator"versionNumber"lhsVersionNumber), LocatorUtils.property(thatLocator"versionNumber"rhsVersionNumber), lhsVersionNumberrhsVersionNumber)) {
                return false;
            }
        }
        {
            DatePropertyType lhsVersionDate;
            lhsVersionDate = this.getVersionDate();
            DatePropertyType rhsVersionDate;
            rhsVersionDate = that.getVersionDate();
            if (!strategy.equals(LocatorUtils.property(thisLocator"versionDate"lhsVersionDate), LocatorUtils.property(thatLocator"versionDate"rhsVersionDate), lhsVersionDaterhsVersionDate)) {
                return false;
            }
        }
        {
            CharacterStringPropertyType lhsLanguage;
            lhsLanguage = this.getLanguage();
            CharacterStringPropertyType rhsLanguage;
            rhsLanguage = that.getLanguage();
            if (!strategy.equals(LocatorUtils.property(thisLocator"language"lhsLanguage), LocatorUtils.property(thatLocator"language"rhsLanguage), lhsLanguagerhsLanguage)) {
                return false;
            }
        }
        {
            MDCharacterSetCodePropertyType lhsCharacterSet;
            lhsCharacterSet = this.getCharacterSet();
            MDCharacterSetCodePropertyType rhsCharacterSet;
            rhsCharacterSet = that.getCharacterSet();
            if (!strategy.equals(LocatorUtils.property(thisLocator"characterSet"lhsCharacterSet), LocatorUtils.property(thatLocator"characterSet"rhsCharacterSet), lhsCharacterSetrhsCharacterSet)) {
                return false;
            }
        }
        {
            List<PTLocalePropertyTypelhsLocale;
            lhsLocale = (((this.!= null)&&(!this..isEmpty()))?this.getLocale():null);
            List<PTLocalePropertyTyperhsLocale;
            rhsLocale = (((that.locale!= null)&&(!that.locale.isEmpty()))?that.getLocale():null);
            if (!strategy.equals(LocatorUtils.property(thisLocator"locale"lhsLocale), LocatorUtils.property(thatLocator"locale"rhsLocale), lhsLocalerhsLocale)) {
                return false;
            }
        }
        {
            List<CTCataloguePropertyTypelhsSubCatalogue;
            lhsSubCatalogue = (((this.!= null)&&(!this..isEmpty()))?this.getSubCatalogue():null);
            List<CTCataloguePropertyTyperhsSubCatalogue;
            rhsSubCatalogue = (((that.subCatalogue!= null)&&(!that.subCatalogue.isEmpty()))?that.getSubCatalogue():null);
            if (!strategy.equals(LocatorUtils.property(thisLocator"subCatalogue"lhsSubCatalogue), LocatorUtils.property(thatLocator"subCatalogue"rhsSubCatalogue), lhsSubCataloguerhsSubCatalogue)) {
                return false;
            }
        }
        return true;
    }
    public boolean equals(Object object) {
        final EqualsStrategy strategy = .;
        return equals(nullnullobjectstrategy);
    }
    public int hashCode(ObjectLocator locatorHashCodeStrategy strategy) {
        int currentHashCode = super.hashCode(locatorstrategy);
        {
            CharacterStringPropertyType theName;
            theName = this.getName();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"name"theName), currentHashCodetheName);
        }
        {
            List<CharacterStringPropertyTypetheScope;
            theScope = (((this.!= null)&&(!this..isEmpty()))?this.getScope():null);
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"scope"theScope), currentHashCodetheScope);
        }
        {
            List<CharacterStringPropertyTypetheFieldOfApplication;
            theFieldOfApplication = (((this.!= null)&&(!this..isEmpty()))?this.getFieldOfApplication():null);
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"fieldOfApplication"theFieldOfApplication), currentHashCodetheFieldOfApplication);
        }
        {
            CharacterStringPropertyType theVersionNumber;
            theVersionNumber = this.getVersionNumber();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"versionNumber"theVersionNumber), currentHashCodetheVersionNumber);
        }
        {
            DatePropertyType theVersionDate;
            theVersionDate = this.getVersionDate();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"versionDate"theVersionDate), currentHashCodetheVersionDate);
        }
        {
            CharacterStringPropertyType theLanguage;
            theLanguage = this.getLanguage();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"language"theLanguage), currentHashCodetheLanguage);
        }
        {
            MDCharacterSetCodePropertyType theCharacterSet;
            theCharacterSet = this.getCharacterSet();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"characterSet"theCharacterSet), currentHashCodetheCharacterSet);
        }
        {
            List<PTLocalePropertyTypetheLocale;
            theLocale = (((this.!= null)&&(!this..isEmpty()))?this.getLocale():null);
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"locale"theLocale), currentHashCodetheLocale);
        }
        {
            List<CTCataloguePropertyTypetheSubCatalogue;
            theSubCatalogue = (((this.!= null)&&(!this..isEmpty()))?this.getSubCatalogue():null);
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"subCatalogue"theSubCatalogue), currentHashCodetheSubCatalogue);
        }
        return currentHashCode;
    }
    public int hashCode() {
        final HashCodeStrategy strategy = .;
        return this.hashCode(nullstrategy);
    }
    public Object clone() {
        return copyTo(createNewInstance());
    }
    public Object copyTo(Object target) {
        final CopyStrategy strategy = .;
        return copyTo(nulltargetstrategy);
    }
    public Object copyTo(ObjectLocator locatorObject targetCopyStrategy strategy) {
        if (null == target) {
            throw new IllegalArgumentException("Target argument must not be null for abstract copyable classes.");
        }
        super.copyTo(locatortargetstrategy);
        if (target instanceof AbstractCTCatalogueType) {
            final AbstractCTCatalogueType copy = ((AbstractCTCatalogueTypetarget);
            if (this.!= null) {
                CharacterStringPropertyType sourceName;
                sourceName = this.getName();
                CharacterStringPropertyType copyName = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"name"sourceName), sourceName));
                copy.setName(copyName);
            } else {
                copy.name = null;
            }
            if ((this.!= null)&&(!this..isEmpty())) {
                List<CharacterStringPropertyTypesourceScope;
                sourceScope = (((this.!= null)&&(!this..isEmpty()))?this.getScope():null);
                @SuppressWarnings("unchecked")
                List<CharacterStringPropertyTypecopyScope = ((List<CharacterStringPropertyType> ) strategy.copy(LocatorUtils.property(locator"scope"sourceScope), sourceScope));
                copy.scope = null;
                if (copyScope!= null) {
                    List<CharacterStringPropertyTypeuniqueScopel = copy.getScope();
                    uniqueScopel.addAll(copyScope);
                }
            } else {
                copy.scope = null;
            }
            if ((this.!= null)&&(!this..isEmpty())) {
                List<CharacterStringPropertyTypesourceFieldOfApplication;
                sourceFieldOfApplication = (((this.!= null)&&(!this..isEmpty()))?this.getFieldOfApplication():null);
                @SuppressWarnings("unchecked")
                List<CharacterStringPropertyTypecopyFieldOfApplication = ((List<CharacterStringPropertyType> ) strategy.copy(LocatorUtils.property(locator"fieldOfApplication"sourceFieldOfApplication), sourceFieldOfApplication));
                copy.fieldOfApplication = null;
                if (copyFieldOfApplication!= null) {
                    List<CharacterStringPropertyTypeuniqueFieldOfApplicationl = copy.getFieldOfApplication();
                    uniqueFieldOfApplicationl.addAll(copyFieldOfApplication);
                }
            } else {
                copy.fieldOfApplication = null;
            }
            if (this.!= null) {
                CharacterStringPropertyType sourceVersionNumber;
                sourceVersionNumber = this.getVersionNumber();
                CharacterStringPropertyType copyVersionNumber = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"versionNumber"sourceVersionNumber), sourceVersionNumber));
                copy.setVersionNumber(copyVersionNumber);
            } else {
                copy.versionNumber = null;
            }
            if (this.!= null) {
                DatePropertyType sourceVersionDate;
                sourceVersionDate = this.getVersionDate();
                DatePropertyType copyVersionDate = ((DatePropertyTypestrategy.copy(LocatorUtils.property(locator"versionDate"sourceVersionDate), sourceVersionDate));
                copy.setVersionDate(copyVersionDate);
            } else {
                copy.versionDate = null;
            }
            if (this.!= null) {
                CharacterStringPropertyType sourceLanguage;
                sourceLanguage = this.getLanguage();
                CharacterStringPropertyType copyLanguage = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"language"sourceLanguage), sourceLanguage));
                copy.setLanguage(copyLanguage);
            } else {
                copy.language = null;
            }
            if (this.!= null) {
                MDCharacterSetCodePropertyType sourceCharacterSet;
                sourceCharacterSet = this.getCharacterSet();
                MDCharacterSetCodePropertyType copyCharacterSet = ((MDCharacterSetCodePropertyTypestrategy.copy(LocatorUtils.property(locator"characterSet"sourceCharacterSet), sourceCharacterSet));
                copy.setCharacterSet(copyCharacterSet);
            } else {
                copy.characterSet = null;
            }
            if ((this.!= null)&&(!this..isEmpty())) {
                List<PTLocalePropertyTypesourceLocale;
                sourceLocale = (((this.!= null)&&(!this..isEmpty()))?this.getLocale():null);
                @SuppressWarnings("unchecked")
                List<PTLocalePropertyTypecopyLocale = ((List<PTLocalePropertyType> ) strategy.copy(LocatorUtils.property(locator"locale"sourceLocale), sourceLocale));
                copy.locale = null;
                if (copyLocale!= null) {
                    List<PTLocalePropertyTypeuniqueLocalel = copy.getLocale();
                    uniqueLocalel.addAll(copyLocale);
                }
            } else {
                copy.locale = null;
            }
            if ((this.!= null)&&(!this..isEmpty())) {
                List<CTCataloguePropertyTypesourceSubCatalogue;
                sourceSubCatalogue = (((this.!= null)&&(!this..isEmpty()))?this.getSubCatalogue():null);
                @SuppressWarnings("unchecked")
                List<CTCataloguePropertyTypecopySubCatalogue = ((List<CTCataloguePropertyType> ) strategy.copy(LocatorUtils.property(locator"subCatalogue"sourceSubCatalogue), sourceSubCatalogue));
                copy.subCatalogue = null;
                if (copySubCatalogue!= null) {
                    List<CTCataloguePropertyTypeuniqueSubCataloguel = copy.getSubCatalogue();
                    uniqueSubCataloguel.addAll(copySubCatalogue);
                }
            } else {
                copy.subCatalogue = null;
            }
        }
        return target;
    }
    public void mergeFrom(Object leftObject right) {
        final MergeStrategy strategy = .;
        mergeFrom(nullnullleftrightstrategy);
    }
    public void mergeFrom(ObjectLocator leftLocatorObjectLocator rightLocatorObject leftObject rightMergeStrategy strategy) {
        super.mergeFrom(leftLocatorrightLocatorleftrightstrategy);
        if (right instanceof AbstractCTCatalogueType) {
            final AbstractCTCatalogueType target = this;
            final AbstractCTCatalogueType leftObject = ((AbstractCTCatalogueTypeleft);
            final AbstractCTCatalogueType rightObject = ((AbstractCTCatalogueTyperight);
            {
                CharacterStringPropertyType lhsName;
                lhsName = leftObject.getName();
                CharacterStringPropertyType rhsName;
                rhsName = rightObject.getName();
                CharacterStringPropertyType mergedName = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"name"lhsName), LocatorUtils.property(rightLocator"name"rhsName), lhsNamerhsName));
                target.setName(mergedName);
            }
            {
                List<CharacterStringPropertyTypelhsScope;
                lhsScope = (((leftObject.scope!= null)&&(!leftObject.scope.isEmpty()))?leftObject.getScope():null);
                List<CharacterStringPropertyTyperhsScope;
                rhsScope = (((rightObject.scope!= null)&&(!rightObject.scope.isEmpty()))?rightObject.getScope():null);
                List<CharacterStringPropertyTypemergedScope = ((List<CharacterStringPropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"scope"lhsScope), LocatorUtils.property(rightLocator"scope"rhsScope), lhsScoperhsScope));
                target.scope = null;
                if (mergedScope!= null) {
                    List<CharacterStringPropertyTypeuniqueScopel = target.getScope();
                    uniqueScopel.addAll(mergedScope);
                }
            }
            {
                List<CharacterStringPropertyTypelhsFieldOfApplication;
                lhsFieldOfApplication = (((leftObject.fieldOfApplication!= null)&&(!leftObject.fieldOfApplication.isEmpty()))?leftObject.getFieldOfApplication():null);
                List<CharacterStringPropertyTyperhsFieldOfApplication;
                rhsFieldOfApplication = (((rightObject.fieldOfApplication!= null)&&(!rightObject.fieldOfApplication.isEmpty()))?rightObject.getFieldOfApplication():null);
                List<CharacterStringPropertyTypemergedFieldOfApplication = ((List<CharacterStringPropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"fieldOfApplication"lhsFieldOfApplication), LocatorUtils.property(rightLocator"fieldOfApplication"rhsFieldOfApplication), lhsFieldOfApplicationrhsFieldOfApplication));
                target.fieldOfApplication = null;
                if (mergedFieldOfApplication!= null) {
                    List<CharacterStringPropertyTypeuniqueFieldOfApplicationl = target.getFieldOfApplication();
                    uniqueFieldOfApplicationl.addAll(mergedFieldOfApplication);
                }
            }
            {
                CharacterStringPropertyType lhsVersionNumber;
                lhsVersionNumber = leftObject.getVersionNumber();
                CharacterStringPropertyType rhsVersionNumber;
                rhsVersionNumber = rightObject.getVersionNumber();
                CharacterStringPropertyType mergedVersionNumber = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"versionNumber"lhsVersionNumber), LocatorUtils.property(rightLocator"versionNumber"rhsVersionNumber), lhsVersionNumberrhsVersionNumber));
                target.setVersionNumber(mergedVersionNumber);
            }
            {
                DatePropertyType lhsVersionDate;
                lhsVersionDate = leftObject.getVersionDate();
                DatePropertyType rhsVersionDate;
                rhsVersionDate = rightObject.getVersionDate();
                DatePropertyType mergedVersionDate = ((DatePropertyTypestrategy.merge(LocatorUtils.property(leftLocator"versionDate"lhsVersionDate), LocatorUtils.property(rightLocator"versionDate"rhsVersionDate), lhsVersionDaterhsVersionDate));
                target.setVersionDate(mergedVersionDate);
            }
            {
                CharacterStringPropertyType lhsLanguage;
                lhsLanguage = leftObject.getLanguage();
                CharacterStringPropertyType rhsLanguage;
                rhsLanguage = rightObject.getLanguage();
                CharacterStringPropertyType mergedLanguage = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"language"lhsLanguage), LocatorUtils.property(rightLocator"language"rhsLanguage), lhsLanguagerhsLanguage));
                target.setLanguage(mergedLanguage);
            }
            {
                MDCharacterSetCodePropertyType lhsCharacterSet;
                lhsCharacterSet = leftObject.getCharacterSet();
                MDCharacterSetCodePropertyType rhsCharacterSet;
                rhsCharacterSet = rightObject.getCharacterSet();
                MDCharacterSetCodePropertyType mergedCharacterSet = ((MDCharacterSetCodePropertyTypestrategy.merge(LocatorUtils.property(leftLocator"characterSet"lhsCharacterSet), LocatorUtils.property(rightLocator"characterSet"rhsCharacterSet), lhsCharacterSetrhsCharacterSet));
                target.setCharacterSet(mergedCharacterSet);
            }
            {
                List<PTLocalePropertyTypelhsLocale;
                lhsLocale = (((leftObject.locale!= null)&&(!leftObject.locale.isEmpty()))?leftObject.getLocale():null);
                List<PTLocalePropertyTyperhsLocale;
                rhsLocale = (((rightObject.locale!= null)&&(!rightObject.locale.isEmpty()))?rightObject.getLocale():null);
                List<PTLocalePropertyTypemergedLocale = ((List<PTLocalePropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"locale"lhsLocale), LocatorUtils.property(rightLocator"locale"rhsLocale), lhsLocalerhsLocale));
                target.locale = null;
                if (mergedLocale!= null) {
                    List<PTLocalePropertyTypeuniqueLocalel = target.getLocale();
                    uniqueLocalel.addAll(mergedLocale);
                }
            }
            {
                List<CTCataloguePropertyTypelhsSubCatalogue;
                lhsSubCatalogue = (((leftObject.subCatalogue!= null)&&(!leftObject.subCatalogue.isEmpty()))?leftObject.getSubCatalogue():null);
                List<CTCataloguePropertyTyperhsSubCatalogue;
                rhsSubCatalogue = (((rightObject.subCatalogue!= null)&&(!rightObject.subCatalogue.isEmpty()))?rightObject.getSubCatalogue():null);
                List<CTCataloguePropertyTypemergedSubCatalogue = ((List<CTCataloguePropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"subCatalogue"lhsSubCatalogue), LocatorUtils.property(rightLocator"subCatalogue"rhsSubCatalogue), lhsSubCataloguerhsSubCatalogue));
                target.subCatalogue = null;
                if (mergedSubCatalogue!= null) {
                    List<CTCataloguePropertyTypeuniqueSubCataloguel = target.getSubCatalogue();
                    uniqueSubCataloguel.addAll(mergedSubCatalogue);
                }
            }
        }
    }
    public void setScope(List<CharacterStringPropertyTypevalue) {
        this. = null;
        List<CharacterStringPropertyTypedraftl = this.getScope();
        draftl.addAll(value);
    }
        this. = null;
        List<CharacterStringPropertyTypedraftl = this.getFieldOfApplication();
        draftl.addAll(value);
    }
    public void setLocale(List<PTLocalePropertyTypevalue) {
        this. = null;
        List<PTLocalePropertyTypedraftl = this.getLocale();
        draftl.addAll(value);
    }
    public void setSubCatalogue(List<CTCataloguePropertyTypevalue) {
        this. = null;
        List<CTCataloguePropertyTypedraftl = this.getSubCatalogue();
        draftl.addAll(value);
    }
        setName(value);
        return this;
    }
        if (values!= null) {
            for (CharacterStringPropertyType valuevalues) {
                getScope().add(value);
            }
        }
        return this;
    }
        if (values!= null) {
            getScope().addAll(values);
        }
        return this;
    }
        if (values!= null) {
            for (CharacterStringPropertyType valuevalues) {
                getFieldOfApplication().add(value);
            }
        }
        return this;
    }
        if (values!= null) {
            getFieldOfApplication().addAll(values);
        }
        return this;
    }
        setVersionNumber(value);
        return this;
    }
        setVersionDate(value);
        return this;
    }
        setLanguage(value);
        return this;
    }
        setCharacterSet(value);
        return this;
    }
        if (values!= null) {
            for (PTLocalePropertyType valuevalues) {
                getLocale().add(value);
            }
        }
        return this;
    }
        if (values!= null) {
            getLocale().addAll(values);
        }
        return this;
    }
        if (values!= null) {
            for (CTCataloguePropertyType valuevalues) {
                getSubCatalogue().add(value);
            }
        }
        return this;
    }
        if (values!= null) {
            getSubCatalogue().addAll(values);
        }
        return this;
    }
        setScope(value);
        return this;
    }
        setFieldOfApplication(value);
        return this;
    }
        setLocale(value);
        return this;
    }
        setSubCatalogue(value);
        return this;
    }
    @Override
    public AbstractCTCatalogueType withId(String value) {
        setId(value);
        return this;
    }
    @Override
    public AbstractCTCatalogueType withUuid(String value) {
        setUuid(value);
        return this;
    }
New to GrepCode? Check out our FAQ X