org.tridas.schema
Class TridasDimensions

java.lang.Object
  extended by org.tridas.schema.TridasDimensions
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class TridasDimensions
extends Object
implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.tridas.org/1.2.2}unit"/>
         <element name="height" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
         <choice>
           <sequence>
             <element name="diameter" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
           </sequence>
           <sequence>
             <element name="width" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="depth" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
           </sequence>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  BigDecimal depth
           
protected  BigDecimal diameter
           
protected  BigDecimal height
           
protected  TridasUnit unit
           
protected  BigDecimal width
           
 
Constructor Summary
TridasDimensions()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 BigDecimal getDepth()
          Gets the value of the depth property.
 BigDecimal getDiameter()
          Gets the value of the diameter property.
 BigDecimal getHeight()
          Gets the value of the height property.
 TridasUnit getUnit()
          Gets the value of the unit property.
 BigDecimal getWidth()
          Gets the value of the width property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetDepth()
           
 boolean isSetDiameter()
           
 boolean isSetHeight()
           
 boolean isSetUnit()
           
 boolean isSetWidth()
           
 void setDepth(BigDecimal value)
          Sets the value of the depth property.
 void setDiameter(BigDecimal value)
          Sets the value of the diameter property.
 void setHeight(BigDecimal value)
          Sets the value of the height property.
 void setUnit(TridasUnit value)
          Sets the value of the unit property.
 void setWidth(BigDecimal value)
          Sets the value of the width property.
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

unit

protected TridasUnit unit

height

protected BigDecimal height

width

protected BigDecimal width

depth

protected BigDecimal depth

diameter

protected BigDecimal diameter
Constructor Detail

TridasDimensions

public TridasDimensions()
Method Detail

getUnit

public TridasUnit getUnit()
Gets the value of the unit property.

Returns:
possible object is TridasUnit

setUnit

public void setUnit(TridasUnit value)
Sets the value of the unit property.

Parameters:
value - allowed object is TridasUnit

isSetUnit

public boolean isSetUnit()

getHeight

public BigDecimal getHeight()
Gets the value of the height property.

Returns:
possible object is BigDecimal

setHeight

public void setHeight(BigDecimal value)
Sets the value of the height property.

Parameters:
value - allowed object is BigDecimal

isSetHeight

public boolean isSetHeight()

getWidth

public BigDecimal getWidth()
Gets the value of the width property.

Returns:
possible object is BigDecimal

setWidth

public void setWidth(BigDecimal value)
Sets the value of the width property.

Parameters:
value - allowed object is BigDecimal

isSetWidth

public boolean isSetWidth()

getDepth

public BigDecimal getDepth()
Gets the value of the depth property.

Returns:
possible object is BigDecimal

setDepth

public void setDepth(BigDecimal value)
Sets the value of the depth property.

Parameters:
value - allowed object is BigDecimal

isSetDepth

public boolean isSetDepth()

getDiameter

public BigDecimal getDiameter()
Gets the value of the diameter property.

Returns:
possible object is BigDecimal

setDiameter

public void setDiameter(BigDecimal value)
Sets the value of the diameter property.

Parameters:
value - allowed object is BigDecimal

isSetDiameter

public boolean isSetDiameter()

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo


Copyright © 2011 TRiDaS. All Rights Reserved.