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;
 
Vertical domain of dataset

Java class for EX_VerticalExtent_Type complex type.

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

 <complexType name="EX_VerticalExtent_Type">
   <complexContent>
     <extension base="{http://www.isotc211.org/2005/gco}AbstractObject_Type">
       <sequence>
         <element name="minimumValue" type="{http://www.isotc211.org/2005/gco}Real_PropertyType"/>
         <element name="maximumValue" type="{http://www.isotc211.org/2005/gco}Real_PropertyType"/>
         <element name="verticalCRS" type="{http://www.isotc211.org/2005/gsr}SC_CRS_PropertyType"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "EX_VerticalExtent_Type", propOrder = {
     "minimumValue",
     "maximumValue",
     "verticalCRS"
 })
 public class EXVerticalExtentType
     extends AbstractObjectType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     @XmlElement(required = true)
     protected RealPropertyType minimumValue;
     @XmlElement(required = true)
     protected RealPropertyType maximumValue;
     @XmlElement(required = true)
     protected SCCRSPropertyType verticalCRS;

    
Gets the value of the minimumValue property.

Returns:
possible object is
 
     public RealPropertyType getMinimumValue() {
         return ;
     }

    
Sets the value of the minimumValue property.

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

    
Gets the value of the maximumValue property.

Returns:
possible object is
    public RealPropertyType getMaximumValue() {
        return ;
    }

    
Sets the value of the maximumValue property.

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

    
Gets the value of the verticalCRS property.

Returns:
possible object is
    public SCCRSPropertyType getVerticalCRS() {
        return ;
    }

    
Sets the value of the verticalCRS property.

Parameters:
value allowed object is
    public void setVerticalCRS(SCCRSPropertyType 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);
        {
            RealPropertyType theMinimumValue;
            theMinimumValue = this.getMinimumValue();
            strategy.appendField(locatorthis"minimumValue"buffertheMinimumValue);
        }
        {
            RealPropertyType theMaximumValue;
            theMaximumValue = this.getMaximumValue();
            strategy.appendField(locatorthis"maximumValue"buffertheMaximumValue);
        }
        {
            SCCRSPropertyType theVerticalCRS;
            theVerticalCRS = this.getVerticalCRS();
            strategy.appendField(locatorthis"verticalCRS"buffertheVerticalCRS);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof EXVerticalExtentType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final EXVerticalExtentType that = ((EXVerticalExtentTypeobject);
        {
            RealPropertyType lhsMinimumValue;
            lhsMinimumValue = this.getMinimumValue();
            RealPropertyType rhsMinimumValue;
            rhsMinimumValue = that.getMinimumValue();
            if (!strategy.equals(LocatorUtils.property(thisLocator"minimumValue"lhsMinimumValue), LocatorUtils.property(thatLocator"minimumValue"rhsMinimumValue), lhsMinimumValuerhsMinimumValue)) {
                return false;
            }
        }
        {
            RealPropertyType lhsMaximumValue;
            lhsMaximumValue = this.getMaximumValue();
            RealPropertyType rhsMaximumValue;
            rhsMaximumValue = that.getMaximumValue();
            if (!strategy.equals(LocatorUtils.property(thisLocator"maximumValue"lhsMaximumValue), LocatorUtils.property(thatLocator"maximumValue"rhsMaximumValue), lhsMaximumValuerhsMaximumValue)) {
                return false;
            }
        }
        {
            SCCRSPropertyType lhsVerticalCRS;
            lhsVerticalCRS = this.getVerticalCRS();
            SCCRSPropertyType rhsVerticalCRS;
            rhsVerticalCRS = that.getVerticalCRS();
            if (!strategy.equals(LocatorUtils.property(thisLocator"verticalCRS"lhsVerticalCRS), LocatorUtils.property(thatLocator"verticalCRS"rhsVerticalCRS), lhsVerticalCRSrhsVerticalCRS)) {
                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);
        {
            RealPropertyType theMinimumValue;
            theMinimumValue = this.getMinimumValue();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"minimumValue"theMinimumValue), currentHashCodetheMinimumValue);
        }
        {
            RealPropertyType theMaximumValue;
            theMaximumValue = this.getMaximumValue();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"maximumValue"theMaximumValue), currentHashCodetheMaximumValue);
        }
        {
            SCCRSPropertyType theVerticalCRS;
            theVerticalCRS = this.getVerticalCRS();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"verticalCRS"theVerticalCRS), currentHashCodetheVerticalCRS);
        }
        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 EXVerticalExtentType) {
            final EXVerticalExtentType copy = ((EXVerticalExtentTypedraftCopy);
            if (this.!= null) {
                RealPropertyType sourceMinimumValue;
                sourceMinimumValue = this.getMinimumValue();
                RealPropertyType copyMinimumValue = ((RealPropertyTypestrategy.copy(LocatorUtils.property(locator"minimumValue"sourceMinimumValue), sourceMinimumValue));
                copy.setMinimumValue(copyMinimumValue);
            } else {
                copy.minimumValue = null;
            }
            if (this.!= null) {
                RealPropertyType sourceMaximumValue;
                sourceMaximumValue = this.getMaximumValue();
                RealPropertyType copyMaximumValue = ((RealPropertyTypestrategy.copy(LocatorUtils.property(locator"maximumValue"sourceMaximumValue), sourceMaximumValue));
                copy.setMaximumValue(copyMaximumValue);
            } else {
                copy.maximumValue = null;
            }
            if (this.!= null) {
                SCCRSPropertyType sourceVerticalCRS;
                sourceVerticalCRS = this.getVerticalCRS();
                SCCRSPropertyType copyVerticalCRS = ((SCCRSPropertyTypestrategy.copy(LocatorUtils.property(locator"verticalCRS"sourceVerticalCRS), sourceVerticalCRS));
                copy.setVerticalCRS(copyVerticalCRS);
            } else {
                copy.verticalCRS = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new EXVerticalExtentType();
    }
    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 EXVerticalExtentType) {
            final EXVerticalExtentType target = this;
            final EXVerticalExtentType leftObject = ((EXVerticalExtentTypeleft);
            final EXVerticalExtentType rightObject = ((EXVerticalExtentTyperight);
            {
                RealPropertyType lhsMinimumValue;
                lhsMinimumValue = leftObject.getMinimumValue();
                RealPropertyType rhsMinimumValue;
                rhsMinimumValue = rightObject.getMinimumValue();
                RealPropertyType mergedMinimumValue = ((RealPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"minimumValue"lhsMinimumValue), LocatorUtils.property(rightLocator"minimumValue"rhsMinimumValue), lhsMinimumValuerhsMinimumValue));
                target.setMinimumValue(mergedMinimumValue);
            }
            {
                RealPropertyType lhsMaximumValue;
                lhsMaximumValue = leftObject.getMaximumValue();
                RealPropertyType rhsMaximumValue;
                rhsMaximumValue = rightObject.getMaximumValue();
                RealPropertyType mergedMaximumValue = ((RealPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"maximumValue"lhsMaximumValue), LocatorUtils.property(rightLocator"maximumValue"rhsMaximumValue), lhsMaximumValuerhsMaximumValue));
                target.setMaximumValue(mergedMaximumValue);
            }
            {
                SCCRSPropertyType lhsVerticalCRS;
                lhsVerticalCRS = leftObject.getVerticalCRS();
                SCCRSPropertyType rhsVerticalCRS;
                rhsVerticalCRS = rightObject.getVerticalCRS();
                SCCRSPropertyType mergedVerticalCRS = ((SCCRSPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"verticalCRS"lhsVerticalCRS), LocatorUtils.property(rightLocator"verticalCRS"rhsVerticalCRS), lhsVerticalCRSrhsVerticalCRS));
                target.setVerticalCRS(mergedVerticalCRS);
            }
        }
    }
        setMinimumValue(value);
        return this;
    }
        setMaximumValue(value);
        return this;
    }
        setVerticalCRS(value);
        return this;
    }
    @Override
    public EXVerticalExtentType withId(String value) {
        setId(value);
        return this;
    }
    @Override
    public EXVerticalExtentType withUuid(String value) {
        setUuid(value);
        return this;
    }
New to GrepCode? Check out our FAQ X