org.tridas.schema
Class TridasValues

java.lang.Object
  extended by org.tridas.schema.TridasValues
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 TridasValues
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}variable"/>
         <choice>
           <element ref="{http://www.tridas.org/1.2.2}unitless"/>
           <element ref="{http://www.tridas.org/1.2.2}unit"/>
         </choice>
         <element ref="{http://www.tridas.org/1.2.2}value" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  TridasUnit unit
           
protected  TridasUnitless unitless
           
protected  List<TridasValue> values
           
protected  TridasVariable variable
           
 
Constructor Summary
TridasValues()
           
 
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)
           
 TridasUnit getUnit()
          Gets the value of the unit property.
 TridasUnitless getUnitless()
          Gets the value of the unitless property.
 List<TridasValue> getValues()
          Gets the value of the values property.
 TridasVariable getVariable()
          Gets the value of the variable property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetUnit()
           
 boolean isSetUnitless()
           
 boolean isSetValues()
           
 boolean isSetVariable()
           
 void setUnit(TridasUnit value)
          Sets the value of the unit property.
 void setUnitless(TridasUnitless value)
          Sets the value of the unitless property.
 void setValues(List<TridasValue> values)
          Sets the value of the values property.
 void setVariable(TridasVariable value)
          Sets the value of the variable property.
 String toString()
           
 void unsetValues()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

variable

protected TridasVariable variable

unit

protected TridasUnit unit

unitless

protected TridasUnitless unitless

values

protected List<TridasValue> values
Constructor Detail

TridasValues

public TridasValues()
Method Detail

getVariable

public TridasVariable getVariable()
Gets the value of the variable property.

Returns:
possible object is TridasVariable

setVariable

public void setVariable(TridasVariable value)
Sets the value of the variable property.

Parameters:
value - allowed object is TridasVariable

isSetVariable

public boolean isSetVariable()

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()

getUnitless

public TridasUnitless getUnitless()
Gets the value of the unitless property.

Returns:
possible object is TridasUnitless

setUnitless

public void setUnitless(TridasUnitless value)
Sets the value of the unitless property.

Parameters:
value - allowed object is TridasUnitless

isSetUnitless

public boolean isSetUnitless()

getValues

public List<TridasValue> getValues()
Gets the value of the values property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the values property.

For example, to add a new item, do as follows:

    getValues().add(newItem);
 

Objects of the following type(s) are allowed in the list TridasValue


isSetValues

public boolean isSetValues()

unsetValues

public void unsetValues()

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

setValues

public void setValues(List<TridasValue> values)
Sets the value of the values property.

Parameters:
values - allowed object is TridasValue


Copyright © 2011 TRiDaS. All Rights Reserved.