Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 generiert 
  // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. 
  // Generiert: 2013.01.31 um 01:29:25 AM CET 
  //
  
  
  package net.opengis.xls.v_1_1_0;
 

Java-Klasse für TimeType complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.

 <complexType name="TimeType">
   <complexContent>
     <extension base="{http://www.opengis.net/xls}TimeStampType">
       <attribute name="utcOffset" type="{http://www.w3.org/2001/XMLSchema}integer" />
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "TimeType")
 public class TimeType
     extends TimeStampType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     @XmlAttribute(name = "utcOffset")
     protected BigInteger utcOffset;

    
Ruft den Wert der utcOffset-Eigenschaft ab.

Returns:
possible object is
 
     public BigInteger getUtcOffset() {
         return ;
     }

    
Legt den Wert der utcOffset-Eigenschaft fest.

Parameters:
value allowed object is
 
     public void setUtcOffset(BigInteger 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);
        {
            BigInteger theUtcOffset;
            theUtcOffset = this.getUtcOffset();
            strategy.appendField(locatorthis"utcOffset"buffertheUtcOffset);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof TimeType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final TimeType that = ((TimeTypeobject);
        {
            BigInteger lhsUtcOffset;
            lhsUtcOffset = this.getUtcOffset();
            BigInteger rhsUtcOffset;
            rhsUtcOffset = that.getUtcOffset();
            if (!strategy.equals(LocatorUtils.property(thisLocator"utcOffset"lhsUtcOffset), LocatorUtils.property(thatLocator"utcOffset"rhsUtcOffset), lhsUtcOffsetrhsUtcOffset)) {
                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);
        {
            BigInteger theUtcOffset;
            theUtcOffset = this.getUtcOffset();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"utcOffset"theUtcOffset), currentHashCodetheUtcOffset);
        }
        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 TimeType) {
            final TimeType copy = ((TimeTypedraftCopy);
            if (this.!= null) {
                BigInteger sourceUtcOffset;
                sourceUtcOffset = this.getUtcOffset();
                BigInteger copyUtcOffset = ((BigIntegerstrategy.copy(LocatorUtils.property(locator"utcOffset"sourceUtcOffset), sourceUtcOffset));
                copy.setUtcOffset(copyUtcOffset);
            } else {
                copy.utcOffset = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new TimeType();
    }
    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 TimeType) {
            final TimeType target = this;
            final TimeType leftObject = ((TimeTypeleft);
            final TimeType rightObject = ((TimeTyperight);
            {
                BigInteger lhsUtcOffset;
                lhsUtcOffset = leftObject.getUtcOffset();
                BigInteger rhsUtcOffset;
                rhsUtcOffset = rightObject.getUtcOffset();
                target.setUtcOffset(((BigIntegerstrategy.merge(LocatorUtils.property(leftLocator"utcOffset"lhsUtcOffset), LocatorUtils.property(rightLocator"utcOffset"rhsUtcOffset), lhsUtcOffsetrhsUtcOffset)));
            }
        }
    }
New to GrepCode? Check out our FAQ X