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.gmd.v_20060504;
  
  import java.util.List;
New metadata element, not found in ISO 19115, which is required to describe geographic data

Java class for MD_ExtendedElementInformation_Type complex type.

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

 <complexType name="MD_ExtendedElementInformation_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="shortName" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="domainCode" type="{http://www.isotc211.org/2005/gco}Integer_PropertyType" minOccurs="0"/>
         <element name="definition" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType"/>
         <element name="obligation" type="{http://www.isotc211.org/2005/gmd}MD_ObligationCode_PropertyType" minOccurs="0"/>
         <element name="condition" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="dataType" type="{http://www.isotc211.org/2005/gmd}MD_DatatypeCode_PropertyType"/>
         <element name="maximumOccurrence" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="domainValue" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="parentEntity" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" maxOccurs="unbounded"/>
         <element name="rule" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType"/>
         <element name="rationale" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="source" type="{http://www.isotc211.org/2005/gmd}CI_ResponsibleParty_PropertyType" maxOccurs="unbounded"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  
  @XmlType(name = "MD_ExtendedElementInformation_Type", propOrder = {
      "name",
      "shortName",
      "domainCode",
      "definition",
      "obligation",
      "condition",
      "dataType",
      "maximumOccurrence",
      "domainValue",
      "parentEntity",
      "rule",
      "rationale",
      "source"
  })
      extends AbstractObjectType
      implements CloneableCopyToEqualsHashCodeMergeFromToString
  {
  
      @XmlElement(required = true)
      protected CharacterStringPropertyType name;
      protected CharacterStringPropertyType shortName;
      protected IntegerPropertyType domainCode;
      @XmlElement(required = true)
      protected CharacterStringPropertyType definition;
     @XmlElement(required = true)
     @XmlElement(required = true)
     @XmlElement(required = true)
     protected CharacterStringPropertyType rule;
     @XmlElement(required = true)
     protected List<CIResponsiblePartyPropertyTypesource;

    
Gets the value of the name property.

Returns:
possible object is
 
     public CharacterStringPropertyType getName() {
         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 shortName property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the shortName property.

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

    
Gets the value of the domainCode property.

Returns:
possible object is
 
     public IntegerPropertyType getDomainCode() {
         return ;
     }

    
Sets the value of the domainCode property.

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

    
Gets the value of the definition property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the definition property.

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

    
Gets the value of the obligation property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the obligation property.

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

    
Gets the value of the condition property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the condition property.

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

    
Gets the value of the dataType property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the dataType property.

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

    
Gets the value of the maximumOccurrence property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the maximumOccurrence property.

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

    
Gets the value of the domainValue property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the domainValue property.

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

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

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

    getParentEntity().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 rule property.

Returns:
possible object is
 
     public CharacterStringPropertyType getRule() {
         return ;
     }

    
Sets the value of the rule property.

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

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

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

    getRationale().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 source 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 source property.

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

    getSource().add(newItem);
 

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

 
         if ( == null) {
              = new ArrayList<CIResponsiblePartyPropertyType>();
         }
         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);
         }
         {
             CharacterStringPropertyType theShortName;
             theShortName = this.getShortName();
             strategy.appendField(locatorthis"shortName"buffertheShortName);
         }
         {
             IntegerPropertyType theDomainCode;
             theDomainCode = this.getDomainCode();
             strategy.appendField(locatorthis"domainCode"buffertheDomainCode);
         }
         {
             CharacterStringPropertyType theDefinition;
             theDefinition = this.getDefinition();
             strategy.appendField(locatorthis"definition"buffertheDefinition);
         }
         {
             MDObligationCodePropertyType theObligation;
             theObligation = this.getObligation();
             strategy.appendField(locatorthis"obligation"buffertheObligation);
         }
         {
             CharacterStringPropertyType theCondition;
             theCondition = this.getCondition();
             strategy.appendField(locatorthis"condition"buffertheCondition);
         }
         {
             MDDatatypeCodePropertyType theDataType;
             theDataType = this.getDataType();
             strategy.appendField(locatorthis"dataType"buffertheDataType);
         }
         {
             CharacterStringPropertyType theMaximumOccurrence;
             theMaximumOccurrence = this.getMaximumOccurrence();
             strategy.appendField(locatorthis"maximumOccurrence"buffertheMaximumOccurrence);
         }
         {
             CharacterStringPropertyType theDomainValue;
             theDomainValue = this.getDomainValue();
             strategy.appendField(locatorthis"domainValue"buffertheDomainValue);
         }
         {
             List<CharacterStringPropertyTypetheParentEntity;
             theParentEntity = (((this.!= null)&&(!this..isEmpty()))?this.getParentEntity():null);
             strategy.appendField(locatorthis"parentEntity"buffertheParentEntity);
         }
         {
             CharacterStringPropertyType theRule;
             theRule = this.getRule();
             strategy.appendField(locatorthis"rule"buffertheRule);
         }
         {
             List<CharacterStringPropertyTypetheRationale;
             theRationale = (((this.!= null)&&(!this..isEmpty()))?this.getRationale():null);
             strategy.appendField(locatorthis"rationale"buffertheRationale);
         }
         {
             List<CIResponsiblePartyPropertyTypetheSource;
             theSource = (((this.!= null)&&(!this..isEmpty()))?this.getSource():null);
             strategy.appendField(locatorthis"source"buffertheSource);
         }
         return buffer;
     }
 
     public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
         if (!(object instanceof MDExtendedElementInformationType)) {
             return false;
         }
         if (this == object) {
             return true;
         }
         if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
             return false;
         }
         final MDExtendedElementInformationType that = ((MDExtendedElementInformationTypeobject);
         {
             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;
             }
         }
         {
             CharacterStringPropertyType lhsShortName;
             lhsShortName = this.getShortName();
             CharacterStringPropertyType rhsShortName;
             rhsShortName = that.getShortName();
             if (!strategy.equals(LocatorUtils.property(thisLocator"shortName"lhsShortName), LocatorUtils.property(thatLocator"shortName"rhsShortName), lhsShortNamerhsShortName)) {
                 return false;
             }
         }
         {
             IntegerPropertyType lhsDomainCode;
             lhsDomainCode = this.getDomainCode();
             IntegerPropertyType rhsDomainCode;
             rhsDomainCode = that.getDomainCode();
             if (!strategy.equals(LocatorUtils.property(thisLocator"domainCode"lhsDomainCode), LocatorUtils.property(thatLocator"domainCode"rhsDomainCode), lhsDomainCoderhsDomainCode)) {
                 return false;
             }
         }
         {
             CharacterStringPropertyType lhsDefinition;
             lhsDefinition = this.getDefinition();
             CharacterStringPropertyType rhsDefinition;
             rhsDefinition = that.getDefinition();
             if (!strategy.equals(LocatorUtils.property(thisLocator"definition"lhsDefinition), LocatorUtils.property(thatLocator"definition"rhsDefinition), lhsDefinitionrhsDefinition)) {
                 return false;
             }
         }
         {
             MDObligationCodePropertyType lhsObligation;
             lhsObligation = this.getObligation();
             MDObligationCodePropertyType rhsObligation;
             rhsObligation = that.getObligation();
             if (!strategy.equals(LocatorUtils.property(thisLocator"obligation"lhsObligation), LocatorUtils.property(thatLocator"obligation"rhsObligation), lhsObligationrhsObligation)) {
                 return false;
             }
         }
         {
             CharacterStringPropertyType lhsCondition;
             lhsCondition = this.getCondition();
             CharacterStringPropertyType rhsCondition;
             rhsCondition = that.getCondition();
             if (!strategy.equals(LocatorUtils.property(thisLocator"condition"lhsCondition), LocatorUtils.property(thatLocator"condition"rhsCondition), lhsConditionrhsCondition)) {
                 return false;
             }
         }
         {
             MDDatatypeCodePropertyType lhsDataType;
             lhsDataType = this.getDataType();
             MDDatatypeCodePropertyType rhsDataType;
             rhsDataType = that.getDataType();
             if (!strategy.equals(LocatorUtils.property(thisLocator"dataType"lhsDataType), LocatorUtils.property(thatLocator"dataType"rhsDataType), lhsDataTyperhsDataType)) {
                 return false;
             }
         }
         {
             CharacterStringPropertyType lhsMaximumOccurrence;
             lhsMaximumOccurrence = this.getMaximumOccurrence();
             CharacterStringPropertyType rhsMaximumOccurrence;
             rhsMaximumOccurrence = that.getMaximumOccurrence();
             if (!strategy.equals(LocatorUtils.property(thisLocator"maximumOccurrence"lhsMaximumOccurrence), LocatorUtils.property(thatLocator"maximumOccurrence"rhsMaximumOccurrence), lhsMaximumOccurrencerhsMaximumOccurrence)) {
                 return false;
             }
         }
         {
             CharacterStringPropertyType lhsDomainValue;
             lhsDomainValue = this.getDomainValue();
             CharacterStringPropertyType rhsDomainValue;
             rhsDomainValue = that.getDomainValue();
             if (!strategy.equals(LocatorUtils.property(thisLocator"domainValue"lhsDomainValue), LocatorUtils.property(thatLocator"domainValue"rhsDomainValue), lhsDomainValuerhsDomainValue)) {
                 return false;
             }
         }
         {
             List<CharacterStringPropertyTypelhsParentEntity;
             lhsParentEntity = (((this.!= null)&&(!this..isEmpty()))?this.getParentEntity():null);
             List<CharacterStringPropertyTyperhsParentEntity;
             rhsParentEntity = (((that.parentEntity!= null)&&(!that.parentEntity.isEmpty()))?that.getParentEntity():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"parentEntity"lhsParentEntity), LocatorUtils.property(thatLocator"parentEntity"rhsParentEntity), lhsParentEntityrhsParentEntity)) {
                 return false;
             }
         }
         {
             CharacterStringPropertyType lhsRule;
             lhsRule = this.getRule();
             CharacterStringPropertyType rhsRule;
             rhsRule = that.getRule();
             if (!strategy.equals(LocatorUtils.property(thisLocator"rule"lhsRule), LocatorUtils.property(thatLocator"rule"rhsRule), lhsRulerhsRule)) {
                 return false;
             }
         }
         {
             List<CharacterStringPropertyTypelhsRationale;
             lhsRationale = (((this.!= null)&&(!this..isEmpty()))?this.getRationale():null);
             List<CharacterStringPropertyTyperhsRationale;
             rhsRationale = (((that.rationale!= null)&&(!that.rationale.isEmpty()))?that.getRationale():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"rationale"lhsRationale), LocatorUtils.property(thatLocator"rationale"rhsRationale), lhsRationalerhsRationale)) {
                 return false;
             }
         }
         {
             List<CIResponsiblePartyPropertyTypelhsSource;
             lhsSource = (((this.!= null)&&(!this..isEmpty()))?this.getSource():null);
             List<CIResponsiblePartyPropertyTyperhsSource;
             rhsSource = (((that.source!= null)&&(!that.source.isEmpty()))?that.getSource():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"source"lhsSource), LocatorUtils.property(thatLocator"source"rhsSource), lhsSourcerhsSource)) {
                 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);
         }
         {
             CharacterStringPropertyType theShortName;
             theShortName = this.getShortName();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"shortName"theShortName), currentHashCodetheShortName);
         }
         {
             IntegerPropertyType theDomainCode;
             theDomainCode = this.getDomainCode();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"domainCode"theDomainCode), currentHashCodetheDomainCode);
         }
         {
             CharacterStringPropertyType theDefinition;
             theDefinition = this.getDefinition();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"definition"theDefinition), currentHashCodetheDefinition);
         }
         {
             MDObligationCodePropertyType theObligation;
             theObligation = this.getObligation();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"obligation"theObligation), currentHashCodetheObligation);
         }
         {
             CharacterStringPropertyType theCondition;
             theCondition = this.getCondition();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"condition"theCondition), currentHashCodetheCondition);
         }
         {
             MDDatatypeCodePropertyType theDataType;
             theDataType = this.getDataType();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"dataType"theDataType), currentHashCodetheDataType);
         }
         {
             CharacterStringPropertyType theMaximumOccurrence;
             theMaximumOccurrence = this.getMaximumOccurrence();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"maximumOccurrence"theMaximumOccurrence), currentHashCodetheMaximumOccurrence);
         }
         {
             CharacterStringPropertyType theDomainValue;
             theDomainValue = this.getDomainValue();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"domainValue"theDomainValue), currentHashCodetheDomainValue);
         }
         {
             List<CharacterStringPropertyTypetheParentEntity;
             theParentEntity = (((this.!= null)&&(!this..isEmpty()))?this.getParentEntity():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"parentEntity"theParentEntity), currentHashCodetheParentEntity);
         }
         {
             CharacterStringPropertyType theRule;
             theRule = this.getRule();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"rule"theRule), currentHashCodetheRule);
         }
         {
             List<CharacterStringPropertyTypetheRationale;
             theRationale = (((this.!= null)&&(!this..isEmpty()))?this.getRationale():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"rationale"theRationale), currentHashCodetheRationale);
         }
         {
             List<CIResponsiblePartyPropertyTypetheSource;
             theSource = (((this.!= null)&&(!this..isEmpty()))?this.getSource():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"source"theSource), currentHashCodetheSource);
         }
         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 MDExtendedElementInformationType) {
             final MDExtendedElementInformationType copy = ((MDExtendedElementInformationTypedraftCopy);
             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) {
                 CharacterStringPropertyType sourceShortName;
                 sourceShortName = this.getShortName();
                 CharacterStringPropertyType copyShortName = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"shortName"sourceShortName), sourceShortName));
                 copy.setShortName(copyShortName);
             } else {
                 copy.shortName = null;
             }
             if (this.!= null) {
                 IntegerPropertyType sourceDomainCode;
                 sourceDomainCode = this.getDomainCode();
                 IntegerPropertyType copyDomainCode = ((IntegerPropertyTypestrategy.copy(LocatorUtils.property(locator"domainCode"sourceDomainCode), sourceDomainCode));
                 copy.setDomainCode(copyDomainCode);
             } else {
                 copy.domainCode = null;
             }
             if (this.!= null) {
                 CharacterStringPropertyType sourceDefinition;
                 sourceDefinition = this.getDefinition();
                 CharacterStringPropertyType copyDefinition = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"definition"sourceDefinition), sourceDefinition));
                 copy.setDefinition(copyDefinition);
             } else {
                 copy.definition = null;
             }
             if (this.!= null) {
                 MDObligationCodePropertyType sourceObligation;
                 sourceObligation = this.getObligation();
                 MDObligationCodePropertyType copyObligation = ((MDObligationCodePropertyTypestrategy.copy(LocatorUtils.property(locator"obligation"sourceObligation), sourceObligation));
                 copy.setObligation(copyObligation);
             } else {
                 copy.obligation = null;
             }
             if (this.!= null) {
                 CharacterStringPropertyType sourceCondition;
                 sourceCondition = this.getCondition();
                 CharacterStringPropertyType copyCondition = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"condition"sourceCondition), sourceCondition));
                 copy.setCondition(copyCondition);
             } else {
                 copy.condition = null;
             }
             if (this.!= null) {
                 MDDatatypeCodePropertyType sourceDataType;
                 sourceDataType = this.getDataType();
                 MDDatatypeCodePropertyType copyDataType = ((MDDatatypeCodePropertyTypestrategy.copy(LocatorUtils.property(locator"dataType"sourceDataType), sourceDataType));
                 copy.setDataType(copyDataType);
             } else {
                 copy.dataType = null;
             }
             if (this.!= null) {
                 CharacterStringPropertyType sourceMaximumOccurrence;
                 sourceMaximumOccurrence = this.getMaximumOccurrence();
                 CharacterStringPropertyType copyMaximumOccurrence = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"maximumOccurrence"sourceMaximumOccurrence), sourceMaximumOccurrence));
                 copy.setMaximumOccurrence(copyMaximumOccurrence);
             } else {
                 copy.maximumOccurrence = null;
             }
             if (this.!= null) {
                 CharacterStringPropertyType sourceDomainValue;
                 sourceDomainValue = this.getDomainValue();
                 CharacterStringPropertyType copyDomainValue = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"domainValue"sourceDomainValue), sourceDomainValue));
                 copy.setDomainValue(copyDomainValue);
             } else {
                 copy.domainValue = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<CharacterStringPropertyTypesourceParentEntity;
                 sourceParentEntity = (((this.!= null)&&(!this..isEmpty()))?this.getParentEntity():null);
                 @SuppressWarnings("unchecked")
                 List<CharacterStringPropertyTypecopyParentEntity = ((List<CharacterStringPropertyType> ) strategy.copy(LocatorUtils.property(locator"parentEntity"sourceParentEntity), sourceParentEntity));
                 copy.parentEntity = null;
                 if (copyParentEntity!= null) {
                     List<CharacterStringPropertyTypeuniqueParentEntityl = copy.getParentEntity();
                     uniqueParentEntityl.addAll(copyParentEntity);
                 }
             } else {
                 copy.parentEntity = null;
             }
             if (this.!= null) {
                 CharacterStringPropertyType sourceRule;
                 sourceRule = this.getRule();
                 CharacterStringPropertyType copyRule = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"rule"sourceRule), sourceRule));
                 copy.setRule(copyRule);
             } else {
                 copy.rule = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<CharacterStringPropertyTypesourceRationale;
                 sourceRationale = (((this.!= null)&&(!this..isEmpty()))?this.getRationale():null);
                 @SuppressWarnings("unchecked")
                 List<CharacterStringPropertyTypecopyRationale = ((List<CharacterStringPropertyType> ) strategy.copy(LocatorUtils.property(locator"rationale"sourceRationale), sourceRationale));
                 copy.rationale = null;
                 if (copyRationale!= null) {
                     List<CharacterStringPropertyTypeuniqueRationalel = copy.getRationale();
                     uniqueRationalel.addAll(copyRationale);
                 }
             } else {
                 copy.rationale = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<CIResponsiblePartyPropertyTypesourceSource;
                 sourceSource = (((this.!= null)&&(!this..isEmpty()))?this.getSource():null);
                 @SuppressWarnings("unchecked")
                 List<CIResponsiblePartyPropertyTypecopySource = ((List<CIResponsiblePartyPropertyType> ) strategy.copy(LocatorUtils.property(locator"source"sourceSource), sourceSource));
                 copy.source = null;
                 if (copySource!= null) {
                     List<CIResponsiblePartyPropertyTypeuniqueSourcel = copy.getSource();
                     uniqueSourcel.addAll(copySource);
                 }
             } else {
                 copy.source = null;
             }
         }
         return draftCopy;
     }
 
     public Object createNewInstance() {
         return new MDExtendedElementInformationType();
     }
 
     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 MDExtendedElementInformationType) {
             final MDExtendedElementInformationType target = this;
             final MDExtendedElementInformationType leftObject = ((MDExtendedElementInformationTypeleft);
             final MDExtendedElementInformationType rightObject = ((MDExtendedElementInformationTyperight);
             {
                 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);
             }
             {
                 CharacterStringPropertyType lhsShortName;
                 lhsShortName = leftObject.getShortName();
                 CharacterStringPropertyType rhsShortName;
                 rhsShortName = rightObject.getShortName();
                 CharacterStringPropertyType mergedShortName = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"shortName"lhsShortName), LocatorUtils.property(rightLocator"shortName"rhsShortName), lhsShortNamerhsShortName));
                 target.setShortName(mergedShortName);
             }
             {
                 IntegerPropertyType lhsDomainCode;
                 lhsDomainCode = leftObject.getDomainCode();
                 IntegerPropertyType rhsDomainCode;
                 rhsDomainCode = rightObject.getDomainCode();
                 IntegerPropertyType mergedDomainCode = ((IntegerPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"domainCode"lhsDomainCode), LocatorUtils.property(rightLocator"domainCode"rhsDomainCode), lhsDomainCoderhsDomainCode));
                 target.setDomainCode(mergedDomainCode);
             }
             {
                 CharacterStringPropertyType lhsDefinition;
                 lhsDefinition = leftObject.getDefinition();
                 CharacterStringPropertyType rhsDefinition;
                 rhsDefinition = rightObject.getDefinition();
                 CharacterStringPropertyType mergedDefinition = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"definition"lhsDefinition), LocatorUtils.property(rightLocator"definition"rhsDefinition), lhsDefinitionrhsDefinition));
                 target.setDefinition(mergedDefinition);
             }
             {
                 MDObligationCodePropertyType lhsObligation;
                 lhsObligation = leftObject.getObligation();
                 MDObligationCodePropertyType rhsObligation;
                 rhsObligation = rightObject.getObligation();
                 MDObligationCodePropertyType mergedObligation = ((MDObligationCodePropertyTypestrategy.merge(LocatorUtils.property(leftLocator"obligation"lhsObligation), LocatorUtils.property(rightLocator"obligation"rhsObligation), lhsObligationrhsObligation));
                 target.setObligation(mergedObligation);
             }
             {
                 CharacterStringPropertyType lhsCondition;
                 lhsCondition = leftObject.getCondition();
                 CharacterStringPropertyType rhsCondition;
                 rhsCondition = rightObject.getCondition();
                 CharacterStringPropertyType mergedCondition = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"condition"lhsCondition), LocatorUtils.property(rightLocator"condition"rhsCondition), lhsConditionrhsCondition));
                 target.setCondition(mergedCondition);
             }
             {
                 MDDatatypeCodePropertyType lhsDataType;
                 lhsDataType = leftObject.getDataType();
                 MDDatatypeCodePropertyType rhsDataType;
                 rhsDataType = rightObject.getDataType();
                 MDDatatypeCodePropertyType mergedDataType = ((MDDatatypeCodePropertyTypestrategy.merge(LocatorUtils.property(leftLocator"dataType"lhsDataType), LocatorUtils.property(rightLocator"dataType"rhsDataType), lhsDataTyperhsDataType));
                 target.setDataType(mergedDataType);
             }
             {
                 CharacterStringPropertyType lhsMaximumOccurrence;
                 lhsMaximumOccurrence = leftObject.getMaximumOccurrence();
                 CharacterStringPropertyType rhsMaximumOccurrence;
                 rhsMaximumOccurrence = rightObject.getMaximumOccurrence();
                 CharacterStringPropertyType mergedMaximumOccurrence = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"maximumOccurrence"lhsMaximumOccurrence), LocatorUtils.property(rightLocator"maximumOccurrence"rhsMaximumOccurrence), lhsMaximumOccurrencerhsMaximumOccurrence));
                 target.setMaximumOccurrence(mergedMaximumOccurrence);
             }
             {
                 CharacterStringPropertyType lhsDomainValue;
                 lhsDomainValue = leftObject.getDomainValue();
                 CharacterStringPropertyType rhsDomainValue;
                 rhsDomainValue = rightObject.getDomainValue();
                 CharacterStringPropertyType mergedDomainValue = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"domainValue"lhsDomainValue), LocatorUtils.property(rightLocator"domainValue"rhsDomainValue), lhsDomainValuerhsDomainValue));
                 target.setDomainValue(mergedDomainValue);
             }
             {
                 List<CharacterStringPropertyTypelhsParentEntity;
                 lhsParentEntity = (((leftObject.parentEntity!= null)&&(!leftObject.parentEntity.isEmpty()))?leftObject.getParentEntity():null);
                 List<CharacterStringPropertyTyperhsParentEntity;
                 rhsParentEntity = (((rightObject.parentEntity!= null)&&(!rightObject.parentEntity.isEmpty()))?rightObject.getParentEntity():null);
                 List<CharacterStringPropertyTypemergedParentEntity = ((List<CharacterStringPropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"parentEntity"lhsParentEntity), LocatorUtils.property(rightLocator"parentEntity"rhsParentEntity), lhsParentEntityrhsParentEntity));
                 target.parentEntity = null;
                 if (mergedParentEntity!= null) {
                     List<CharacterStringPropertyTypeuniqueParentEntityl = target.getParentEntity();
                     uniqueParentEntityl.addAll(mergedParentEntity);
                 }
             }
             {
                 CharacterStringPropertyType lhsRule;
                 lhsRule = leftObject.getRule();
                 CharacterStringPropertyType rhsRule;
                 rhsRule = rightObject.getRule();
                 CharacterStringPropertyType mergedRule = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"rule"lhsRule), LocatorUtils.property(rightLocator"rule"rhsRule), lhsRulerhsRule));
                 target.setRule(mergedRule);
             }
             {
                 List<CharacterStringPropertyTypelhsRationale;
                 lhsRationale = (((leftObject.rationale!= null)&&(!leftObject.rationale.isEmpty()))?leftObject.getRationale():null);
                 List<CharacterStringPropertyTyperhsRationale;
                 rhsRationale = (((rightObject.rationale!= null)&&(!rightObject.rationale.isEmpty()))?rightObject.getRationale():null);
                 List<CharacterStringPropertyTypemergedRationale = ((List<CharacterStringPropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"rationale"lhsRationale), LocatorUtils.property(rightLocator"rationale"rhsRationale), lhsRationalerhsRationale));
                 target.rationale = null;
                 if (mergedRationale!= null) {
                     List<CharacterStringPropertyTypeuniqueRationalel = target.getRationale();
                     uniqueRationalel.addAll(mergedRationale);
                 }
             }
             {
                 List<CIResponsiblePartyPropertyTypelhsSource;
                 lhsSource = (((leftObject.source!= null)&&(!leftObject.source.isEmpty()))?leftObject.getSource():null);
                 List<CIResponsiblePartyPropertyTyperhsSource;
                 rhsSource = (((rightObject.source!= null)&&(!rightObject.source.isEmpty()))?rightObject.getSource():null);
                 List<CIResponsiblePartyPropertyTypemergedSource = ((List<CIResponsiblePartyPropertyType> ) strategy.merge(LocatorUtils.property(leftLocator"source"lhsSource), LocatorUtils.property(rightLocator"source"rhsSource), lhsSourcerhsSource));
                 target.source = null;
                 if (mergedSource!= null) {
                    List<CIResponsiblePartyPropertyTypeuniqueSourcel = target.getSource();
                    uniqueSourcel.addAll(mergedSource);
                }
            }
        }
    }
    public void setParentEntity(List<CharacterStringPropertyTypevalue) {
        this. = null;
        List<CharacterStringPropertyTypedraftl = this.getParentEntity();
        draftl.addAll(value);
    }
    public void setRationale(List<CharacterStringPropertyTypevalue) {
        this. = null;
        List<CharacterStringPropertyTypedraftl = this.getRationale();
        draftl.addAll(value);
    }
    public void setSource(List<CIResponsiblePartyPropertyTypevalue) {
        this. = null;
        List<CIResponsiblePartyPropertyTypedraftl = this.getSource();
        draftl.addAll(value);
    }
        setName(value);
        return this;
    }
        setShortName(value);
        return this;
    }
        setDomainCode(value);
        return this;
    }
        setDefinition(value);
        return this;
    }
        setObligation(value);
        return this;
    }
        setCondition(value);
        return this;
    }
        setDataType(value);
        return this;
    }
        setMaximumOccurrence(value);
        return this;
    }
        setDomainValue(value);
        return this;
    }
        if (values!= null) {
            for (CharacterStringPropertyType valuevalues) {
                getParentEntity().add(value);
            }
        }
        return this;
    }
        if (values!= null) {
            getParentEntity().addAll(values);
        }
        return this;
    }
        setRule(value);
        return this;
    }
        if (values!= null) {
            for (CharacterStringPropertyType valuevalues) {
                getRationale().add(value);
            }
        }
        return this;
    }
        if (values!= null) {
            getRationale().addAll(values);
        }
        return this;
    }
        if (values!= null) {
            for (CIResponsiblePartyPropertyType valuevalues) {
                getSource().add(value);
            }
        }
        return this;
    }
        if (values!= null) {
            getSource().addAll(values);
        }
        return this;
    }
        setParentEntity(value);
        return this;
    }
        setRationale(value);
        return this;
    }