Class SpecialValueType
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.commontypes.SpecialValueType
-
public class SpecialValueType extends Object
Java class for SpecialValueType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SpecialValueType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}description" maxOccurs="unbounded"/> </sequence> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Serializable>contentprotected longvalue
-
Constructor Summary
Constructors Constructor Description SpecialValueType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)List<Serializable>getContent()Gets the value of the content property.longgetValue()Gets the value of the value property.inthashCode()voidsetValue(long value)Sets the value of the value property.StringtoString()SpecialValueTypewithContent(Serializable... values)SpecialValueTypewithContent(Collection<Serializable> values)SpecialValueTypewithValue(long value)
-
-
-
Field Detail
-
content
protected List<Serializable> content
-
value
protected long value
-
-
Method Detail
-
getContent
public List<Serializable> getContent()
Gets the value of the content 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
setmethod for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
StringJAXBElement<DescriptionType>
-
getValue
public long getValue()
Gets the value of the value property.
-
setValue
public void setValue(long value)
Sets the value of the value property.
-
withContent
public SpecialValueType withContent(Serializable... values)
-
withContent
public SpecialValueType withContent(Collection<Serializable> values)
-
withValue
public SpecialValueType withValue(long value)
-
-