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.03.28 at 10:20:34 AM CET 
   //
   
   
   package net.opengis.iso19139.gmd.v_20060504;
  
  import java.util.List;

Java class for MD_DataIdentification_Type complex type.

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

 <complexType name="MD_DataIdentification_Type">
   <complexContent>
     <extension base="{http://www.isotc211.org/2005/gmd}AbstractMD_Identification_Type">
       <sequence>
         <element name="spatialRepresentationType" type="{http://www.isotc211.org/2005/gmd}MD_SpatialRepresentationTypeCode_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="spatialResolution" type="{http://www.isotc211.org/2005/gmd}MD_Resolution_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="language" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" maxOccurs="unbounded"/>
         <element name="characterSet" type="{http://www.isotc211.org/2005/gmd}MD_CharacterSetCode_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="topicCategory" type="{http://www.isotc211.org/2005/gmd}MD_TopicCategoryCode_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="environmentDescription" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="extent" type="{http://www.isotc211.org/2005/gmd}EX_Extent_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="supplementalInformation" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  
  @XmlType(name = "MD_DataIdentification_Type", propOrder = {
      "spatialRepresentationType",
      "spatialResolution",
      "language",
      "characterSet",
      "topicCategory",
      "environmentDescription",
      "extent",
      "supplementalInformation"
  })
  public class MDDataIdentificationType
      extends AbstractMDIdentificationType
      implements CloneableCopyToEqualsHashCodeMergeFromToString
  {
  
      @XmlElement(required = true)
      protected List<CharacterStringPropertyTypelanguage;
      protected List<EXExtentPropertyTypeextent;
Gets the value of the spatialRepresentationType 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 spatialRepresentationType property.

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

    getSpatialRepresentationType().add(newItem);
 

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

 
         if ( == null) {
         }
         return this.;
     }

    
Gets the value of the spatialResolution 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 spatialResolution property.

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

    getSpatialResolution().add(newItem);
 

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

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

    
Gets the value of the language 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 language property.

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

    getLanguage().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 characterSet 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 characterSet property.

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

    getCharacterSet().add(newItem);
 

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

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

    
Gets the value of the topicCategory 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 topicCategory property.

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

    getTopicCategory().add(newItem);
 

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

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

    
Gets the value of the environmentDescription property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the environmentDescription property.

Parameters:
value allowed object is
 
         this. = value;
     }

    
Gets the value of the extent 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 extent property.

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

    getExtent().add(newItem);
 

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

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

    
Gets the value of the supplementalInformation property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the supplementalInformation property.

Parameters:
value allowed object is
 
         this. = value;
     }
 
     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);
         {
             List<MDSpatialRepresentationTypeCodePropertyTypetheSpatialRepresentationType;
             theSpatialRepresentationType = (((this.!= null)&&(!this..isEmpty()))?this.getSpatialRepresentationType():null);
             strategy.appendField(locatorthis"spatialRepresentationType"buffertheSpatialRepresentationType);
         }
         {
             List<MDResolutionPropertyTypetheSpatialResolution;
             theSpatialResolution = (((this.!= null)&&(!this..isEmpty()))?this.getSpatialResolution():null);
             strategy.appendField(locatorthis"spatialResolution"buffertheSpatialResolution);
         }
         {
             List<CharacterStringPropertyTypetheLanguage;
             theLanguage = (((this.!= null)&&(!this..isEmpty()))?this.getLanguage():null);
             strategy.appendField(locatorthis"language"buffertheLanguage);
         }
         {
             List<MDCharacterSetCodePropertyTypetheCharacterSet;
             theCharacterSet = (((this.!= null)&&(!this..isEmpty()))?this.getCharacterSet():null);
             strategy.appendField(locatorthis"characterSet"buffertheCharacterSet);
         }
         {
             List<MDTopicCategoryCodePropertyTypetheTopicCategory;
             theTopicCategory = (((this.!= null)&&(!this..isEmpty()))?this.getTopicCategory():null);
             strategy.appendField(locatorthis"topicCategory"buffertheTopicCategory);
         }
         {
             CharacterStringPropertyType theEnvironmentDescription;
             theEnvironmentDescription = this.getEnvironmentDescription();
             strategy.appendField(locatorthis"environmentDescription"buffertheEnvironmentDescription);
         }
         {
             List<EXExtentPropertyTypetheExtent;
             theExtent = (((this.!= null)&&(!this..isEmpty()))?this.getExtent():null);
             strategy.appendField(locatorthis"extent"buffertheExtent);
         }
         {
             CharacterStringPropertyType theSupplementalInformation;
             theSupplementalInformation = this.getSupplementalInformation();
             strategy.appendField(locatorthis"supplementalInformation"buffertheSupplementalInformation);
         }
         return buffer;
     }
 
     public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
         if (!(object instanceof MDDataIdentificationType)) {
             return false;
         }
         if (this == object) {
             return true;
         }
         if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
             return false;
         }
         final MDDataIdentificationType that = ((MDDataIdentificationTypeobject);
         {
             List<MDSpatialRepresentationTypeCodePropertyTypelhsSpatialRepresentationType;
             lhsSpatialRepresentationType = (((this.!= null)&&(!this..isEmpty()))?this.getSpatialRepresentationType():null);
             List<MDSpatialRepresentationTypeCodePropertyTyperhsSpatialRepresentationType;
             rhsSpatialRepresentationType = (((that.spatialRepresentationType!= null)&&(!that.spatialRepresentationType.isEmpty()))?that.getSpatialRepresentationType():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"spatialRepresentationType"lhsSpatialRepresentationType), LocatorUtils.property(thatLocator"spatialRepresentationType"rhsSpatialRepresentationType), lhsSpatialRepresentationTyperhsSpatialRepresentationType)) {
                 return false;
             }
         }
         {
             List<MDResolutionPropertyTypelhsSpatialResolution;
             lhsSpatialResolution = (((this.!= null)&&(!this..isEmpty()))?this.getSpatialResolution():null);
             List<MDResolutionPropertyTyperhsSpatialResolution;
             rhsSpatialResolution = (((that.spatialResolution!= null)&&(!that.spatialResolution.isEmpty()))?that.getSpatialResolution():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"spatialResolution"lhsSpatialResolution), LocatorUtils.property(thatLocator"spatialResolution"rhsSpatialResolution), lhsSpatialResolutionrhsSpatialResolution)) {
                 return false;
             }
         }
         {
             List<CharacterStringPropertyTypelhsLanguage;
             lhsLanguage = (((this.!= null)&&(!this..isEmpty()))?this.getLanguage():null);
             List<CharacterStringPropertyTyperhsLanguage;
             rhsLanguage = (((that.language!= null)&&(!that.language.isEmpty()))?that.getLanguage():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"language"lhsLanguage), LocatorUtils.property(thatLocator"language"rhsLanguage), lhsLanguagerhsLanguage)) {
                 return false;
             }
         }
         {
             List<MDCharacterSetCodePropertyTypelhsCharacterSet;
             lhsCharacterSet = (((this.!= null)&&(!this..isEmpty()))?this.getCharacterSet():null);
             List<MDCharacterSetCodePropertyTyperhsCharacterSet;
             rhsCharacterSet = (((that.characterSet!= null)&&(!that.characterSet.isEmpty()))?that.getCharacterSet():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"characterSet"lhsCharacterSet), LocatorUtils.property(thatLocator"characterSet"rhsCharacterSet), lhsCharacterSetrhsCharacterSet)) {
                 return false;
             }
         }
         {
             List<MDTopicCategoryCodePropertyTypelhsTopicCategory;
             lhsTopicCategory = (((this.!= null)&&(!this..isEmpty()))?this.getTopicCategory():null);
             List<MDTopicCategoryCodePropertyTyperhsTopicCategory;
             rhsTopicCategory = (((that.topicCategory!= null)&&(!that.topicCategory.isEmpty()))?that.getTopicCategory():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"topicCategory"lhsTopicCategory), LocatorUtils.property(thatLocator"topicCategory"rhsTopicCategory), lhsTopicCategoryrhsTopicCategory)) {
                 return false;
             }
         }
         {
             CharacterStringPropertyType lhsEnvironmentDescription;
             lhsEnvironmentDescription = this.getEnvironmentDescription();
             CharacterStringPropertyType rhsEnvironmentDescription;
             rhsEnvironmentDescription = that.getEnvironmentDescription();
             if (!strategy.equals(LocatorUtils.property(thisLocator"environmentDescription"lhsEnvironmentDescription), LocatorUtils.property(thatLocator"environmentDescription"rhsEnvironmentDescription), lhsEnvironmentDescriptionrhsEnvironmentDescription)) {
                 return false;
             }
         }
         {
             List<EXExtentPropertyTypelhsExtent;
             lhsExtent = (((this.!= null)&&(!this..isEmpty()))?this.getExtent():null);
             List<EXExtentPropertyTyperhsExtent;
             rhsExtent = (((that.extent!= null)&&(!that.extent.isEmpty()))?that.getExtent():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"extent"lhsExtent), LocatorUtils.property(thatLocator"extent"rhsExtent), lhsExtentrhsExtent)) {
                 return false;
             }
         }
         {
             CharacterStringPropertyType lhsSupplementalInformation;
             lhsSupplementalInformation = this.getSupplementalInformation();
             CharacterStringPropertyType rhsSupplementalInformation;
             rhsSupplementalInformation = that.getSupplementalInformation();
             if (!strategy.equals(LocatorUtils.property(thisLocator"supplementalInformation"lhsSupplementalInformation), LocatorUtils.property(thatLocator"supplementalInformation"rhsSupplementalInformation), lhsSupplementalInformationrhsSupplementalInformation)) {
                 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);
         {
             List<MDSpatialRepresentationTypeCodePropertyTypetheSpatialRepresentationType;
             theSpatialRepresentationType = (((this.!= null)&&(!this..isEmpty()))?this.getSpatialRepresentationType():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"spatialRepresentationType"theSpatialRepresentationType), currentHashCodetheSpatialRepresentationType);
         }
         {
             List<MDResolutionPropertyTypetheSpatialResolution;
             theSpatialResolution = (((this.!= null)&&(!this..isEmpty()))?this.getSpatialResolution():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"spatialResolution"theSpatialResolution), currentHashCodetheSpatialResolution);
         }
         {
             List<CharacterStringPropertyTypetheLanguage;
             theLanguage = (((this.!= null)&&(!this..isEmpty()))?this.getLanguage():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"language"theLanguage), currentHashCodetheLanguage);
         }
         {
             List<MDCharacterSetCodePropertyTypetheCharacterSet;
             theCharacterSet = (((this.!= null)&&(!this..isEmpty()))?this.getCharacterSet():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"characterSet"theCharacterSet), currentHashCodetheCharacterSet);
         }
         {
             List<MDTopicCategoryCodePropertyTypetheTopicCategory;
             theTopicCategory = (((this.!= null)&&(!this..isEmpty()))?this.getTopicCategory():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"topicCategory"theTopicCategory), currentHashCodetheTopicCategory);
         }
         {
             CharacterStringPropertyType theEnvironmentDescription;
             theEnvironmentDescription = this.getEnvironmentDescription();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"environmentDescription"theEnvironmentDescription), currentHashCodetheEnvironmentDescription);
         }
         {
             List<EXExtentPropertyTypetheExtent;
             theExtent = (((this.!= null)&&(!this..isEmpty()))?this.getExtent():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"extent"theExtent), currentHashCodetheExtent);
         }
         {
             CharacterStringPropertyType theSupplementalInformation;
             theSupplementalInformation = this.getSupplementalInformation();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"supplementalInformation"theSupplementalInformation), currentHashCodetheSupplementalInformation);
         }
         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) {
         final Object draftCopy = ((target == null)?createNewInstance():target);
         super.copyTo(locatordraftCopystrategy);
         if (draftCopy instanceof MDDataIdentificationType) {
             final MDDataIdentificationType copy = ((MDDataIdentificationTypedraftCopy);
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<MDSpatialRepresentationTypeCodePropertyTypesourceSpatialRepresentationType;
                 sourceSpatialRepresentationType = (((this.!= null)&&(!this..isEmpty()))?this.getSpatialRepresentationType():null);
                 @SuppressWarnings("unchecked")
                 List<MDSpatialRepresentationTypeCodePropertyTypecopySpatialRepresentationType = ((List<MDSpatialRepresentationTypeCodePropertyType> ) strategy.copy(LocatorUtils.property(locator"spatialRepresentationType"sourceSpatialRepresentationType), sourceSpatialRepresentationType));
                 copy.spatialRepresentationType = null;
                 if (copySpatialRepresentationType!= null) {
                     List<MDSpatialRepresentationTypeCodePropertyTypeuniqueSpatialRepresentationTypel = copy.getSpatialRepresentationType();
                     uniqueSpatialRepresentationTypel.addAll(copySpatialRepresentationType);
                 }
             } else {
                 copy.spatialRepresentationType = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<MDResolutionPropertyTypesourceSpatialResolution;
                 sourceSpatialResolution = (((this.!= null)&&(!this..isEmpty()))?this.getSpatialResolution():null);
                 @SuppressWarnings("unchecked")
                 List<MDResolutionPropertyTypecopySpatialResolution = ((List<MDResolutionPropertyType> ) strategy.copy(LocatorUtils.property(locator"spatialResolution"sourceSpatialResolution), sourceSpatialResolution));
                 copy.spatialResolution = null;
                 if (copySpatialResolution!= null) {
                     List<MDResolutionPropertyTypeuniqueSpatialResolutionl = copy.getSpatialResolution();
                     uniqueSpatialResolutionl.addAll(copySpatialResolution);
                 }
             } else {
                 copy.spatialResolution = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<CharacterStringPropertyTypesourceLanguage;
                 sourceLanguage = (((this.!= null)&&(!this..isEmpty()))?this.getLanguage():null);
                 @SuppressWarnings("unchecked")
                 List<CharacterStringPropertyTypecopyLanguage = ((List<CharacterStringPropertyType> ) strategy.copy(LocatorUtils.property(locator"language"sourceLanguage), sourceLanguage));
                 copy.language = null;
                 if (copyLanguage!= null) {
                     List<CharacterStringPropertyTypeuniqueLanguagel = copy.getLanguage();
                     uniqueLanguagel.addAll(copyLanguage);
                 }
             } else {
                 copy.language = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<MDCharacterSetCodePropertyTypesourceCharacterSet;
                 sourceCharacterSet = (((this.!= null)&&(!this..isEmpty()))?this.getCharacterSet():null);
                 @SuppressWarnings("unchecked")
                 List<MDCharacterSetCodePropertyTypecopyCharacterSet = ((List<MDCharacterSetCodePropertyType> ) strategy.copy(LocatorUtils.property(locator"characterSet"sourceCharacterSet), sourceCharacterSet));
                 copy.characterSet = null;
                 if (copyCharacterSet!= null) {
                     List<MDCharacterSetCodePropertyTypeuniqueCharacterSetl = copy.getCharacterSet();
                     uniqueCharacterSetl.addAll(copyCharacterSet);
                 }
             } else {
                 copy.characterSet = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<MDTopicCategoryCodePropertyTypesourceTopicCategory;
                 sourceTopicCategory = (((this.!= null)&&(!this..isEmpty()))?this.getTopicCategory():null);
                 @SuppressWarnings("unchecked")
                 List<MDTopicCategoryCodePropertyTypecopyTopicCategory = ((List<MDTopicCategoryCodePropertyType> ) strategy.copy(LocatorUtils.property(locator"topicCategory"sourceTopicCategory), sourceTopicCategory));
                 copy.topicCategory = null;
                 if (copyTopicCategory!= null) {
                     List<MDTopicCategoryCodePropertyTypeuniqueTopicCategoryl = copy.getTopicCategory();
                     uniqueTopicCategoryl.addAll(copyTopicCategory);
                 }
             } else {
                 copy.topicCategory = null;
             }
             if (this.!= null) {
                 CharacterStringPropertyType sourceEnvironmentDescription;
                 sourceEnvironmentDescription = this.getEnvironmentDescription();
                 CharacterStringPropertyType copyEnvironmentDescription = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"environmentDescription"sourceEnvironmentDescription), sourceEnvironmentDescription));
                 copy.setEnvironmentDescription(copyEnvironmentDescription);
             } else {
                 copy.environmentDescription = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<EXExtentPropertyTypesourceExtent;
                 sourceExtent = (((this.!= null)&&(!this..isEmpty()))?this.getExtent():null);
                 @SuppressWarnings("unchecked")
                 List<EXExtentPropertyTypecopyExtent = ((List<EXExtentPropertyType> ) strategy.copy(LocatorUtils.property(locator"extent"sourceExtent), sourceExtent));
                 copy.extent = null;
                 if (copyExtent!= null) {
                     List<EXExtentPropertyTypeuniqueExtentl = copy.getExtent();
                     uniqueExtentl.addAll(copyExtent);
                 }
             } else {
                 copy.extent = null;
             }
             if (this.!= null) {
                 CharacterStringPropertyType sourceSupplementalInformation;
                 sourceSupplementalInformation = this.getSupplementalInformation();
                 CharacterStringPropertyType copySupplementalInformation = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"supplementalInformation"sourceSupplementalInformation), sourceSupplementalInformation));
                 copy.setSupplementalInformation(copySupplementalInformation);
             } else {
                 copy.supplementalInformation = null;
             }
         }
         return draftCopy;
     }
 
     public Object createNewInstance() {
         return new MDDataIdentificationType();
     }
 
     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 MDDataIdentificationType) {
             final MDDataIdentificationType target = this;
             final MDDataIdentificationType leftObject = ((MDDataIdentificationTypeleft);
             final MDDataIdentificationType rightObject = ((MDDataIdentificationTyperight);
             {
                 List<MDSpatialRepresentationTypeCodePropertyTypelhsSpatialRepresentationType;
                 lhsSpatialRepresentationType = (((leftObject.spatialRepresentationType!= null)&&(!leftObject.spatialRepresentationType.isEmpty()))?leftObject.getSpatialRepresentationType():null);
                 List<MDSpatialRepresentationTypeCodePropertyTyperhsSpatialRepresentationType;
                 rhsSpatialRepresentationType = (((rightObject.spatialRepresentationType!= null)&&(!rightObject.spatialRepresentationType.isEmpty()))?rightObject.getSpatialRepresentationType():null);
                 List<MDSpatialRepresentationTypeCodePropertyTypemergedSpatialRepresentationType = ((List<MDSpatialRepresentationTypeCodePropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"spatialRepresentationType"lhsSpatialRepresentationType), LocatorUtils.property(rightLocator"spatialRepresentationType"rhsSpatialRepresentationType), lhsSpatialRepresentationTyperhsSpatialRepresentationType));
                 target.spatialRepresentationType = null;
                 if (mergedSpatialRepresentationType!= null) {
                     List<MDSpatialRepresentationTypeCodePropertyTypeuniqueSpatialRepresentationTypel = target.getSpatialRepresentationType();
                     uniqueSpatialRepresentationTypel.addAll(mergedSpatialRepresentationType);
                 }
             }
             {
                 List<MDResolutionPropertyTypelhsSpatialResolution;
                 lhsSpatialResolution = (((leftObject.spatialResolution!= null)&&(!leftObject.spatialResolution.isEmpty()))?leftObject.getSpatialResolution():null);
                 List<MDResolutionPropertyTyperhsSpatialResolution;
                 rhsSpatialResolution = (((rightObject.spatialResolution!= null)&&(!rightObject.spatialResolution.isEmpty()))?rightObject.getSpatialResolution():null);
                 List<MDResolutionPropertyTypemergedSpatialResolution = ((List<MDResolutionPropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"spatialResolution"lhsSpatialResolution), LocatorUtils.property(rightLocator"spatialResolution"rhsSpatialResolution), lhsSpatialResolutionrhsSpatialResolution));
                 target.spatialResolution = null;
                 if (mergedSpatialResolution!= null) {
                     List<MDResolutionPropertyTypeuniqueSpatialResolutionl = target.getSpatialResolution();
                     uniqueSpatialResolutionl.addAll(mergedSpatialResolution);
                 }
             }
             {
                 List<CharacterStringPropertyTypelhsLanguage;
                 lhsLanguage = (((leftObject.language!= null)&&(!leftObject.language.isEmpty()))?leftObject.getLanguage():null);
                 List<CharacterStringPropertyTyperhsLanguage;
                 rhsLanguage = (((rightObject.language!= null)&&(!rightObject.language.isEmpty()))?rightObject.getLanguage():null);
                 List<CharacterStringPropertyTypemergedLanguage = ((List<CharacterStringPropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"language"lhsLanguage), LocatorUtils.property(rightLocator"language"rhsLanguage), lhsLanguagerhsLanguage));
                 target.language = null;
                 if (mergedLanguage!= null) {
                     List<CharacterStringPropertyTypeuniqueLanguagel = target.getLanguage();
                     uniqueLanguagel.addAll(mergedLanguage);
                 }
             }
             {
                 List<MDCharacterSetCodePropertyTypelhsCharacterSet;
                 lhsCharacterSet = (((leftObject.characterSet!= null)&&(!leftObject.characterSet.isEmpty()))?leftObject.getCharacterSet():null);
                 List<MDCharacterSetCodePropertyTyperhsCharacterSet;
                 rhsCharacterSet = (((rightObject.characterSet!= null)&&(!rightObject.characterSet.isEmpty()))?rightObject.getCharacterSet():null);
                 List<MDCharacterSetCodePropertyTypemergedCharacterSet = ((List<MDCharacterSetCodePropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"characterSet"lhsCharacterSet), LocatorUtils.property(rightLocator"characterSet"rhsCharacterSet), lhsCharacterSetrhsCharacterSet));
                 target.characterSet = null;
                 if (mergedCharacterSet!= null) {
                     List<MDCharacterSetCodePropertyTypeuniqueCharacterSetl = target.getCharacterSet();
                     uniqueCharacterSetl.addAll(mergedCharacterSet);
                 }
             }
             {
                 List<MDTopicCategoryCodePropertyTypelhsTopicCategory;
                 lhsTopicCategory = (((leftObject.topicCategory!= null)&&(!leftObject.topicCategory.isEmpty()))?leftObject.getTopicCategory():null);
                 List<MDTopicCategoryCodePropertyTyperhsTopicCategory;
                 rhsTopicCategory = (((rightObject.topicCategory!= null)&&(!rightObject.topicCategory.isEmpty()))?rightObject.getTopicCategory():null);
                 List<MDTopicCategoryCodePropertyTypemergedTopicCategory = ((List<MDTopicCategoryCodePropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"topicCategory"lhsTopicCategory), LocatorUtils.property(rightLocator"topicCategory"rhsTopicCategory), lhsTopicCategoryrhsTopicCategory));
                 target.topicCategory = null;
                 if (mergedTopicCategory!= null) {
                     List<MDTopicCategoryCodePropertyTypeuniqueTopicCategoryl = target.getTopicCategory();
                     uniqueTopicCategoryl.addAll(mergedTopicCategory);
                 }
             }
             {
                 CharacterStringPropertyType lhsEnvironmentDescription;
                 lhsEnvironmentDescription = leftObject.getEnvironmentDescription();
                 CharacterStringPropertyType rhsEnvironmentDescription;
                 rhsEnvironmentDescription = rightObject.getEnvironmentDescription();
                 CharacterStringPropertyType mergedEnvironmentDescription = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"environmentDescription"lhsEnvironmentDescription), LocatorUtils.property(rightLocator"environmentDescription"rhsEnvironmentDescription), lhsEnvironmentDescriptionrhsEnvironmentDescription));
                 target.setEnvironmentDescription(mergedEnvironmentDescription);
             }
             {
                 List<EXExtentPropertyTypelhsExtent;
                 lhsExtent = (((leftObject.extent!= null)&&(!leftObject.extent.isEmpty()))?leftObject.getExtent():null);
                 List<EXExtentPropertyTyperhsExtent;
                 rhsExtent = (((rightObject.extent!= null)&&(!rightObject.extent.isEmpty()))?rightObject.getExtent():null);
                 List<EXExtentPropertyTypemergedExtent = ((List<EXExtentPropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"extent"lhsExtent), LocatorUtils.property(rightLocator"extent"rhsExtent), lhsExtentrhsExtent));
                 target.extent = null;
                 if (mergedExtent!= null) {
                     List<EXExtentPropertyTypeuniqueExtentl = target.getExtent();
                     uniqueExtentl.addAll(mergedExtent);
                 }
             }
             {
                 CharacterStringPropertyType lhsSupplementalInformation;
                 lhsSupplementalInformation = leftObject.getSupplementalInformation();
                 CharacterStringPropertyType rhsSupplementalInformation;
                 rhsSupplementalInformation = rightObject.getSupplementalInformation();
                 CharacterStringPropertyType mergedSupplementalInformation = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"supplementalInformation"lhsSupplementalInformation), LocatorUtils.property(rightLocator"supplementalInformation"rhsSupplementalInformation), lhsSupplementalInformationrhsSupplementalInformation));
                 target.setSupplementalInformation(mergedSupplementalInformation);
             }
         }
     }
 
         this. = null;
         draftl.addAll(value);
     }
 
     public void setSpatialResolution(List<MDResolutionPropertyTypevalue) {
         this. = null;
         List<MDResolutionPropertyTypedraftl = this.getSpatialResolution();
         draftl.addAll(value);
     }
 
     public void setLanguage(List<CharacterStringPropertyTypevalue) {
         this. = null;
         List<CharacterStringPropertyTypedraftl = this.getLanguage();
         draftl.addAll(value);
     }
 
     public void setCharacterSet(List<MDCharacterSetCodePropertyTypevalue) {
         this. = null;
         List<MDCharacterSetCodePropertyTypedraftl = this.getCharacterSet();
         draftl.addAll(value);
     }
 
     public void setTopicCategory(List<MDTopicCategoryCodePropertyTypevalue) {
         this. = null;
         List<MDTopicCategoryCodePropertyTypedraftl = this.getTopicCategory();
         draftl.addAll(value);
     }
 
     public void setExtent(List<EXExtentPropertyTypevalue) {
         this. = null;
         List<EXExtentPropertyTypedraftl = this.getExtent();
         draftl.addAll(value);
     }
 
         if (values!= null) {
             for (MDSpatialRepresentationTypeCodePropertyType valuevalues) {
                 getSpatialRepresentationType().add(value);
             }
         }
         return this;
     }
 
         if (values!= null) {
             getSpatialRepresentationType().addAll(values);
         }
         return this;
     }
 
         if (values!= null) {
             for (MDResolutionPropertyType valuevalues) {
                 getSpatialResolution().add(value);
             }
         }
         return this;
     }
 
         if (values!= null) {
             getSpatialResolution().addAll(values);
         }
         return this;
     }
 
         if (values!= null) {
             for (CharacterStringPropertyType valuevalues) {
                 getLanguage().add(value);
             }
         }
         return this;
     }
 
         if (values!= null) {
             getLanguage().addAll(values);
         }
         return this;
     }
 
         if (values!= null) {
             for (MDCharacterSetCodePropertyType valuevalues) {
                 getCharacterSet().add(value);
             }
         }
         return this;
     }
 
         if (values!= null) {
             getCharacterSet().addAll(values);
         }
         return this;
     }
 
         if (values!= null) {
             for (MDTopicCategoryCodePropertyType valuevalues) {
                 getTopicCategory().add(value);
             }
         }
         return this;
     }
 
         if (values!= null) {
             getTopicCategory().addAll(values);
         }
         return this;
     }
 
         setEnvironmentDescription(value);
         return this;
     }
 
         if (values!= null) {
             for (EXExtentPropertyType valuevalues) {
                 getExtent().add(value);
             }
         }
         return this;
     }
 
         if (values!= null) {
             getExtent().addAll(values);
         }
         return this;
     }
 
         setSupplementalInformation(value);
         return this;
     }
 
         setSpatialRepresentationType(value);
         return this;
     }
 
         setSpatialResolution(value);
         return this;
     }
 
         setLanguage(value);
         return this;
     }
 
         setCharacterSet(value);
         return this;
     }
 
         setTopicCategory(value);
         return this;
     }
 
         setExtent(value);
         return this;
     }
 
     @Override
         setCitation(value);
         return this;
     }
 
     @Override
         setAbstract(value);
         return this;
     }
 
     @Override
         setPurpose(value);
         return this;
     }
 
     @Override
         if (values!= null) {
             for (CharacterStringPropertyType valuevalues) {
                 getCredit().add(value);
             }
         }
         return this;
     }
 
     @Override
         if (values!= null) {
             getCredit().addAll(values);
         }
         return this;
     }
 
     @Override
         if (values!= null) {
             for (MDProgressCodePropertyType valuevalues) {
                 getStatus().add(value);
             }
         }
         return this;
     }
 
     @Override
         if (values!= null) {
             getStatus().addAll(values);
         }
         return this;
     }
 
     @Override
         if (values!= null) {
             for (CIResponsiblePartyPropertyType valuevalues) {
                 getPointOfContact().add(value);
             }
         }
         return this;
     }
 
     @Override
         if (values!= null) {
             getPointOfContact().addAll(values);
         }
         return this;
     }
 
     @Override
         if (values!= null) {
             for (MDMaintenanceInformationPropertyType valuevalues) {
                 getResourceMaintenance().add(value);
             }
         }
         return this;
     }
 
     @Override
         if (values!= null) {
             getResourceMaintenance().addAll(values);
         }
         return this;
     }
 
     @Override
         if (values!= null) {
             for (MDBrowseGraphicPropertyType valuevalues) {
                 getGraphicOverview().add(value);
             }
         }
         return this;
    }
    @Override
        if (values!= null) {
            getGraphicOverview().addAll(values);
        }
        return this;
    }
    @Override
        if (values!= null) {
            for (MDFormatPropertyType valuevalues) {
                getResourceFormat().add(value);
            }
        }
        return this;
    }
    @Override
        if (values!= null) {
            getResourceFormat().addAll(values);
        }
        return this;
    }
    @Override
        if (values!= null) {
            for (MDKeywordsPropertyType valuevalues) {
                getDescriptiveKeywords().add(value);
            }
        }
        return this;
    }
    @Override
        if (values!= null) {
            getDescriptiveKeywords().addAll(values);
        }
        return this;
    }
    @Override
        if (values!= null) {
            for (MDUsagePropertyType valuevalues) {
                getResourceSpecificUsage().add(value);
            }
        }
        return this;
    }
    @Override
        if (values!= null) {
            getResourceSpecificUsage().addAll(values);
        }
        return this;
    }
    @Override
        if (values!= null) {