Class PartialType
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.commontypes.PartialType
-
public class PartialType extends Object
<p>Java class for PartialType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="PartialType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}valueCalculation" minOccurs="0"/> <element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}description" maxOccurs="unbounded"/> </sequence> <attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> <attribute name="possibleValues" use="required" type="{http://www.decoderdb.de/schema/commonTypes/1.2}rangeValues" /> <attribute name="reset" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="disableOther" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="multiply" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" /> </restriction> </complexContent> </complexType> </pre>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DescriptionType>descriptionprotected BooleandisableOtherprotected Shortmultiplyprotected intnumberprotected StringpossibleValuesprotected Booleanresetprotected ValueCalculationTypevalueCalculation
-
Constructor Summary
Constructors Constructor Description PartialType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)List<DescriptionType>getDescription()Gets the value of the description property.ShortgetMultiply()Gets the value of the multiply property.intgetNumber()Gets the value of the number property.StringgetPossibleValues()Gets the value of the possibleValues property.ValueCalculationTypegetValueCalculation()Gets the value of the valueCalculation property.inthashCode()BooleanisDisableOther()Gets the value of the disableOther property.BooleanisReset()Gets the value of the reset property.voidsetDisableOther(Boolean value)Sets the value of the disableOther property.voidsetMultiply(Short value)Sets the value of the multiply property.voidsetNumber(int value)Sets the value of the number property.voidsetPossibleValues(String value)Sets the value of the possibleValues property.voidsetReset(Boolean value)Sets the value of the reset property.voidsetValueCalculation(ValueCalculationType value)Sets the value of the valueCalculation property.StringtoString()PartialTypewithDescription(Collection<DescriptionType> values)PartialTypewithDescription(DescriptionType... values)PartialTypewithDisableOther(Boolean value)PartialTypewithMultiply(Short value)PartialTypewithNumber(int value)PartialTypewithPossibleValues(String value)PartialTypewithReset(Boolean value)PartialTypewithValueCalculation(ValueCalculationType value)
-
-
-
Field Detail
-
valueCalculation
protected ValueCalculationType valueCalculation
-
description
protected List<DescriptionType> description
-
number
protected int number
-
possibleValues
protected String possibleValues
-
reset
protected Boolean reset
-
disableOther
protected Boolean disableOther
-
multiply
protected Short multiply
-
-
Method Detail
-
getValueCalculation
public ValueCalculationType getValueCalculation()
Gets the value of the valueCalculation property.- Returns:
- possible object is
ValueCalculationType
-
setValueCalculation
public void setValueCalculation(ValueCalculationType value)
Sets the value of the valueCalculation property.- Parameters:
value- allowed object isValueCalculationType
-
getDescription
public List<DescriptionType> getDescription()
Gets the value of the description property. <p> 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 <CODE>set</CODE> method for the description property. <p> For example, to add a new item, do as follows: <pre> getDescription().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listDescriptionType
-
getNumber
public int getNumber()
Gets the value of the number property.
-
setNumber
public void setNumber(int value)
Sets the value of the number property.
-
getPossibleValues
public String getPossibleValues()
Gets the value of the possibleValues property.- Returns:
- possible object is
String
-
setPossibleValues
public void setPossibleValues(String value)
Sets the value of the possibleValues property.- Parameters:
value- allowed object isString
-
isReset
public Boolean isReset()
Gets the value of the reset property.- Returns:
- possible object is
Boolean
-
setReset
public void setReset(Boolean value)
Sets the value of the reset property.- Parameters:
value- allowed object isBoolean
-
isDisableOther
public Boolean isDisableOther()
Gets the value of the disableOther property.- Returns:
- possible object is
Boolean
-
setDisableOther
public void setDisableOther(Boolean value)
Sets the value of the disableOther property.- Parameters:
value- allowed object isBoolean
-
getMultiply
public Short getMultiply()
Gets the value of the multiply property.- Returns:
- possible object is
Short
-
setMultiply
public void setMultiply(Short value)
Sets the value of the multiply property.- Parameters:
value- allowed object isShort
-
withValueCalculation
public PartialType withValueCalculation(ValueCalculationType value)
-
withDescription
public PartialType withDescription(DescriptionType... values)
-
withDescription
public PartialType withDescription(Collection<DescriptionType> values)
-
withNumber
public PartialType withNumber(int value)
-
withPossibleValues
public PartialType withPossibleValues(String value)
-
withReset
public PartialType withReset(Boolean value)
-
withDisableOther
public PartialType withDisableOther(Boolean value)
-
withMultiply
public PartialType withMultiply(Short value)
-
-