Class PartialType
java.lang.Object
org.bidib.jbidibc.decoder.schema.commontypes.PartialType
Java class for PartialType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DescriptionType> protected Booleanprotected Shortprotected intprotected Stringprotected Booleanprotected ValueCalculationType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the description property.Gets the value of the multiply property.intGets the value of the number property.Gets the value of the possibleValues property.Gets the value of the valueCalculation property.inthashCode()Gets the value of the disableOther property.isReset()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.voidSets the value of the reset property.voidSets the value of the valueCalculation property.toString()withDescription(Collection<DescriptionType> values) withDescription(DescriptionType... values) withDisableOther(Boolean value) withMultiply(Short value) withNumber(int value) withPossibleValues(String value)
-
Field Details
-
valueCalculation
-
description
-
number
protected int number -
possibleValues
-
reset
-
disableOther
-
multiply
-
-
Constructor Details
-
PartialType
public PartialType()
-
-
Method Details
-
getValueCalculation
Gets the value of the valueCalculation property.- Returns:
- possible object is
ValueCalculationType
-
setValueCalculation
Sets the value of the valueCalculation property.- Parameters:
value- allowed object isValueCalculationType
-
getDescription
Gets the value of the description 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 description property.For example, to add a new item, do as follows:
getDescription().add(newItem);Objects of the following type(s) are allowed in the list
DescriptionType -
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
Gets the value of the possibleValues property.- Returns:
- possible object is
String
-
setPossibleValues
Sets the value of the possibleValues property.- Parameters:
value- allowed object isString
-
isReset
Gets the value of the reset property.- Returns:
- possible object is
Boolean
-
setReset
Sets the value of the reset property.- Parameters:
value- allowed object isBoolean
-
isDisableOther
Gets the value of the disableOther property.- Returns:
- possible object is
Boolean
-
setDisableOther
Sets the value of the disableOther property.- Parameters:
value- allowed object isBoolean
-
getMultiply
Gets the value of the multiply property.- Returns:
- possible object is
Short
-
setMultiply
Sets the value of the multiply property.- Parameters:
value- allowed object isShort
-
toString
-
equals
-
hashCode
public int hashCode() -
withValueCalculation
-
withDescription
-
withDescription
-
withNumber
-
withPossibleValues
-
withReset
-
withDisableOther
-
withMultiply
-