public class ValueType extends Object
Java class for ValueType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.bidib.org/schema/commonTypes/1.0}valueCalculation" minOccurs="0"/>
<element ref="{http://www.bidib.org/schema/commonTypes/1.0}description" maxOccurs="unbounded"/>
</sequence>
<attribute name="minValue" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
<attribute name="maxValue" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
<attribute name="reset" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="multiply" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<DescriptionType> |
description |
protected short |
maxValue |
protected short |
minValue |
protected Short |
multiply |
protected Boolean |
reset |
protected ValueCalculationType |
valueCalculation |
| Constructor and Description |
|---|
ValueType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
short |
getMaxValue()
Gets the value of the maxValue property.
|
short |
getMinValue()
Gets the value of the minValue property.
|
Short |
getMultiply()
Gets the value of the multiply property.
|
ValueCalculationType |
getValueCalculation()
Gets the value of the valueCalculation property.
|
int |
hashCode() |
Boolean |
isReset()
Gets the value of the reset property.
|
void |
setMaxValue(short value)
Sets the value of the maxValue property.
|
void |
setMinValue(short value)
Sets the value of the minValue property.
|
void |
setMultiply(Short value)
Sets the value of the multiply property.
|
void |
setReset(Boolean value)
Sets the value of the reset property.
|
void |
setValueCalculation(ValueCalculationType value)
Sets the value of the valueCalculation property.
|
String |
toString() |
ValueType |
withDescription(Collection<DescriptionType> values) |
ValueType |
withDescription(DescriptionType... values) |
ValueType |
withMaxValue(short value) |
ValueType |
withMinValue(short value) |
ValueType |
withMultiply(Short value) |
ValueType |
withReset(Boolean value) |
ValueType |
withValueCalculation(ValueCalculationType value) |
protected ValueCalculationType valueCalculation
protected List<DescriptionType> description
protected short minValue
protected short maxValue
protected Boolean reset
protected Short multiply
public ValueCalculationType getValueCalculation()
ValueCalculationTypepublic void setValueCalculation(ValueCalculationType value)
value - allowed object is
ValueCalculationTypepublic List<DescriptionType> getDescription()
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 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
public short getMinValue()
public void setMinValue(short value)
public short getMaxValue()
public void setMaxValue(short value)
public Boolean isReset()
Booleanpublic void setReset(Boolean value)
value - allowed object is
Booleanpublic Short getMultiply()
Shortpublic void setMultiply(Short value)
value - allowed object is
Shortpublic ValueType withValueCalculation(ValueCalculationType value)
public ValueType withDescription(DescriptionType... values)
public ValueType withDescription(Collection<DescriptionType> values)
public ValueType withMinValue(short value)
public ValueType withMaxValue(short value)
Copyright © 2017. All rights reserved.