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;
 
Common ways in which the dataset may be obtained or received, and related instructions and fee information

Java class for MD_StandardOrderProcess_Type complex type.

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

 <complexType name="MD_StandardOrderProcess_Type">
   <complexContent>
     <extension base="{http://www.isotc211.org/2005/gco}AbstractObject_Type">
       <sequence>
         <element name="fees" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="plannedAvailableDateTime" type="{http://www.isotc211.org/2005/gco}DateTime_PropertyType" minOccurs="0"/>
         <element name="orderingInstructions" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="turnaround" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "MD_StandardOrderProcess_Type", propOrder = {
     "fees",
     "plannedAvailableDateTime",
     "orderingInstructions",
     "turnaround"
 })
     extends AbstractObjectType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     protected CharacterStringPropertyType fees;
     protected CharacterStringPropertyType turnaround;

    
Gets the value of the fees property.

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

    
Sets the value of the fees property.

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

    
Gets the value of the plannedAvailableDateTime property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the plannedAvailableDateTime property.

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

    
Gets the value of the orderingInstructions property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the orderingInstructions property.

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

    
Gets the value of the turnaround property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the turnaround property.

Parameters:
value allowed object is
    public void setTurnaround(CharacterStringPropertyType 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);
        {
            CharacterStringPropertyType theFees;
            theFees = this.getFees();
            strategy.appendField(locatorthis"fees"buffertheFees);
        }
        {
            DateTimePropertyType thePlannedAvailableDateTime;
            thePlannedAvailableDateTime = this.getPlannedAvailableDateTime();
            strategy.appendField(locatorthis"plannedAvailableDateTime"bufferthePlannedAvailableDateTime);
        }
        {
            CharacterStringPropertyType theOrderingInstructions;
            theOrderingInstructions = this.getOrderingInstructions();
            strategy.appendField(locatorthis"orderingInstructions"buffertheOrderingInstructions);
        }
        {
            CharacterStringPropertyType theTurnaround;
            theTurnaround = this.getTurnaround();
            strategy.appendField(locatorthis"turnaround"buffertheTurnaround);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof MDStandardOrderProcessType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final MDStandardOrderProcessType that = ((MDStandardOrderProcessTypeobject);
        {
            CharacterStringPropertyType lhsFees;
            lhsFees = this.getFees();
            CharacterStringPropertyType rhsFees;
            rhsFees = that.getFees();
            if (!strategy.equals(LocatorUtils.property(thisLocator"fees"lhsFees), LocatorUtils.property(thatLocator"fees"rhsFees), lhsFeesrhsFees)) {
                return false;
            }
        }
        {
            DateTimePropertyType lhsPlannedAvailableDateTime;
            lhsPlannedAvailableDateTime = this.getPlannedAvailableDateTime();
            DateTimePropertyType rhsPlannedAvailableDateTime;
            rhsPlannedAvailableDateTime = that.getPlannedAvailableDateTime();
            if (!strategy.equals(LocatorUtils.property(thisLocator"plannedAvailableDateTime"lhsPlannedAvailableDateTime), LocatorUtils.property(thatLocator"plannedAvailableDateTime"rhsPlannedAvailableDateTime), lhsPlannedAvailableDateTimerhsPlannedAvailableDateTime)) {
                return false;
            }
        }
        {
            CharacterStringPropertyType lhsOrderingInstructions;
            lhsOrderingInstructions = this.getOrderingInstructions();
            CharacterStringPropertyType rhsOrderingInstructions;
            rhsOrderingInstructions = that.getOrderingInstructions();
            if (!strategy.equals(LocatorUtils.property(thisLocator"orderingInstructions"lhsOrderingInstructions), LocatorUtils.property(thatLocator"orderingInstructions"rhsOrderingInstructions), lhsOrderingInstructionsrhsOrderingInstructions)) {
                return false;
            }
        }
        {
            CharacterStringPropertyType lhsTurnaround;
            lhsTurnaround = this.getTurnaround();
            CharacterStringPropertyType rhsTurnaround;
            rhsTurnaround = that.getTurnaround();
            if (!strategy.equals(LocatorUtils.property(thisLocator"turnaround"lhsTurnaround), LocatorUtils.property(thatLocator"turnaround"rhsTurnaround), lhsTurnaroundrhsTurnaround)) {
                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 theFees;
            theFees = this.getFees();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"fees"theFees), currentHashCodetheFees);
        }
        {
            DateTimePropertyType thePlannedAvailableDateTime;
            thePlannedAvailableDateTime = this.getPlannedAvailableDateTime();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"plannedAvailableDateTime"thePlannedAvailableDateTime), currentHashCodethePlannedAvailableDateTime);
        }
        {
            CharacterStringPropertyType theOrderingInstructions;
            theOrderingInstructions = this.getOrderingInstructions();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"orderingInstructions"theOrderingInstructions), currentHashCodetheOrderingInstructions);
        }
        {
            CharacterStringPropertyType theTurnaround;
            theTurnaround = this.getTurnaround();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"turnaround"theTurnaround), currentHashCodetheTurnaround);
        }
        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 MDStandardOrderProcessType) {
            final MDStandardOrderProcessType copy = ((MDStandardOrderProcessTypedraftCopy);
            if (this.!= null) {
                CharacterStringPropertyType sourceFees;
                sourceFees = this.getFees();
                CharacterStringPropertyType copyFees = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"fees"sourceFees), sourceFees));
                copy.setFees(copyFees);
            } else {
                copy.fees = null;
            }
            if (this.!= null) {
                DateTimePropertyType sourcePlannedAvailableDateTime;
                sourcePlannedAvailableDateTime = this.getPlannedAvailableDateTime();
                DateTimePropertyType copyPlannedAvailableDateTime = ((DateTimePropertyTypestrategy.copy(LocatorUtils.property(locator"plannedAvailableDateTime"sourcePlannedAvailableDateTime), sourcePlannedAvailableDateTime));
                copy.setPlannedAvailableDateTime(copyPlannedAvailableDateTime);
            } else {
                copy.plannedAvailableDateTime = null;
            }
            if (this.!= null) {
                CharacterStringPropertyType sourceOrderingInstructions;
                sourceOrderingInstructions = this.getOrderingInstructions();
                CharacterStringPropertyType copyOrderingInstructions = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"orderingInstructions"sourceOrderingInstructions), sourceOrderingInstructions));
                copy.setOrderingInstructions(copyOrderingInstructions);
            } else {
                copy.orderingInstructions = null;
            }
            if (this.!= null) {
                CharacterStringPropertyType sourceTurnaround;
                sourceTurnaround = this.getTurnaround();
                CharacterStringPropertyType copyTurnaround = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"turnaround"sourceTurnaround), sourceTurnaround));
                copy.setTurnaround(copyTurnaround);
            } else {
                copy.turnaround = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new MDStandardOrderProcessType();
    }
    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 MDStandardOrderProcessType) {
            final MDStandardOrderProcessType target = this;
            final MDStandardOrderProcessType leftObject = ((MDStandardOrderProcessTypeleft);
            final MDStandardOrderProcessType rightObject = ((MDStandardOrderProcessTyperight);
            {
                CharacterStringPropertyType lhsFees;
                lhsFees = leftObject.getFees();
                CharacterStringPropertyType rhsFees;
                rhsFees = rightObject.getFees();
                CharacterStringPropertyType mergedFees = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"fees"lhsFees), LocatorUtils.property(rightLocator"fees"rhsFees), lhsFeesrhsFees));
                target.setFees(mergedFees);
            }
            {
                DateTimePropertyType lhsPlannedAvailableDateTime;
                lhsPlannedAvailableDateTime = leftObject.getPlannedAvailableDateTime();
                DateTimePropertyType rhsPlannedAvailableDateTime;
                rhsPlannedAvailableDateTime = rightObject.getPlannedAvailableDateTime();
                DateTimePropertyType mergedPlannedAvailableDateTime = ((DateTimePropertyTypestrategy.merge(LocatorUtils.property(leftLocator"plannedAvailableDateTime"lhsPlannedAvailableDateTime), LocatorUtils.property(rightLocator"plannedAvailableDateTime"rhsPlannedAvailableDateTime), lhsPlannedAvailableDateTimerhsPlannedAvailableDateTime));
                target.setPlannedAvailableDateTime(mergedPlannedAvailableDateTime);
            }
            {
                CharacterStringPropertyType lhsOrderingInstructions;
                lhsOrderingInstructions = leftObject.getOrderingInstructions();
                CharacterStringPropertyType rhsOrderingInstructions;
                rhsOrderingInstructions = rightObject.getOrderingInstructions();
                CharacterStringPropertyType mergedOrderingInstructions = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"orderingInstructions"lhsOrderingInstructions), LocatorUtils.property(rightLocator"orderingInstructions"rhsOrderingInstructions), lhsOrderingInstructionsrhsOrderingInstructions));
                target.setOrderingInstructions(mergedOrderingInstructions);
            }
            {
                CharacterStringPropertyType lhsTurnaround;
                lhsTurnaround = leftObject.getTurnaround();
                CharacterStringPropertyType rhsTurnaround;
                rhsTurnaround = rightObject.getTurnaround();
                CharacterStringPropertyType mergedTurnaround = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"turnaround"lhsTurnaround), LocatorUtils.property(rightLocator"turnaround"rhsTurnaround), lhsTurnaroundrhsTurnaround));
                target.setTurnaround(mergedTurnaround);
            }
        }
    }
        setFees(value);
        return this;
    }
        setPlannedAvailableDateTime(value);
        return this;
    }
        setOrderingInstructions(value);
        return this;
    }
        setTurnaround(value);
        return this;
    }
    @Override
    public MDStandardOrderProcessType withId(String value) {
        setId(value);
        return this;
    }
    @Override
    public MDStandardOrderProcessType withUuid(String value) {
        setUuid(value);
        return this;
    }
New to GrepCode? Check out our FAQ X