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;
 
Geographic area of the dataset

Java class for AbstractEX_GeographicExtent_Type complex type.

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

 <complexType name="AbstractEX_GeographicExtent_Type">
   <complexContent>
     <extension base="{http://www.isotc211.org/2005/gco}AbstractObject_Type">
       <sequence>
         <element name="extentTypeCode" type="{http://www.isotc211.org/2005/gco}Boolean_PropertyType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "AbstractEX_GeographicExtent_Type", propOrder = {
     "extentTypeCode"
 })
     EXBoundingPolygonType.class,
 })
 public abstract class AbstractEXGeographicExtentType
     extends AbstractObjectType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     protected BooleanPropertyType extentTypeCode;

    
Gets the value of the extentTypeCode property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the extentTypeCode property.

Parameters:
value allowed object is
 
     public void setExtentTypeCode(BooleanPropertyType value) {
         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);
        {
            BooleanPropertyType theExtentTypeCode;
            theExtentTypeCode = this.getExtentTypeCode();
            strategy.appendField(locatorthis"extentTypeCode"buffertheExtentTypeCode);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof AbstractEXGeographicExtentType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final AbstractEXGeographicExtentType that = ((AbstractEXGeographicExtentTypeobject);
        {
            BooleanPropertyType lhsExtentTypeCode;
            lhsExtentTypeCode = this.getExtentTypeCode();
            BooleanPropertyType rhsExtentTypeCode;
            rhsExtentTypeCode = that.getExtentTypeCode();
            if (!strategy.equals(LocatorUtils.property(thisLocator"extentTypeCode"lhsExtentTypeCode), LocatorUtils.property(thatLocator"extentTypeCode"rhsExtentTypeCode), lhsExtentTypeCoderhsExtentTypeCode)) {
                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);
        {
            BooleanPropertyType theExtentTypeCode;
            theExtentTypeCode = this.getExtentTypeCode();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"extentTypeCode"theExtentTypeCode), currentHashCodetheExtentTypeCode);
        }
        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 AbstractEXGeographicExtentType) {
            final AbstractEXGeographicExtentType copy = ((AbstractEXGeographicExtentTypetarget);
            if (this.!= null) {
                BooleanPropertyType sourceExtentTypeCode;
                sourceExtentTypeCode = this.getExtentTypeCode();
                BooleanPropertyType copyExtentTypeCode = ((BooleanPropertyTypestrategy.copy(LocatorUtils.property(locator"extentTypeCode"sourceExtentTypeCode), sourceExtentTypeCode));
                copy.setExtentTypeCode(copyExtentTypeCode);
            } else {
                copy.extentTypeCode = 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 AbstractEXGeographicExtentType) {
            final AbstractEXGeographicExtentType target = this;
            final AbstractEXGeographicExtentType leftObject = ((AbstractEXGeographicExtentTypeleft);
            final AbstractEXGeographicExtentType rightObject = ((AbstractEXGeographicExtentTyperight);
            {
                BooleanPropertyType lhsExtentTypeCode;
                lhsExtentTypeCode = leftObject.getExtentTypeCode();
                BooleanPropertyType rhsExtentTypeCode;
                rhsExtentTypeCode = rightObject.getExtentTypeCode();
                BooleanPropertyType mergedExtentTypeCode = ((BooleanPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"extentTypeCode"lhsExtentTypeCode), LocatorUtils.property(rightLocator"extentTypeCode"rhsExtentTypeCode), lhsExtentTypeCoderhsExtentTypeCode));
                target.setExtentTypeCode(mergedExtentTypeCode);
            }
        }
    }
        setExtentTypeCode(value);
        return this;
    }
    @Override
    public AbstractEXGeographicExtentType withId(String value) {
        setId(value);
        return this;
    }
    @Override
        setUuid(value);
        return this;
    }
New to GrepCode? Check out our FAQ X