JHPcte
Class PcteMutableAttributeValue
java.lang.Object
|
+--JHPcte.PcteAttributeValue
|
+--JHPcte.PcteMutableAttributeValue
- public class PcteMutableAttributeValue
- extends PcteAttributeValue
The mutable value of a Pcte attribute. The value type can be queried
and the value can be accessed accordingly.
If possible, values are converted according to the value type
requested (e.g. int -> String)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PcteMutableAttributeValue
public PcteMutableAttributeValue()
- default constructor
PcteMutableAttributeValue
public PcteMutableAttributeValue(boolean b)
- constructor for boolean attribute values
PcteMutableAttributeValue
public PcteMutableAttributeValue(int i)
- constructor for integer attribute values
PcteMutableAttributeValue
public PcteMutableAttributeValue(int i,
int type)
- constructor for integer/natural/enumeration attribute values
the valueType has to be set explicitly using the type parameter
PcteMutableAttributeValue
public PcteMutableAttributeValue(float f)
- constructor for float attribute values
PcteMutableAttributeValue
public PcteMutableAttributeValue(java.lang.String s)
- constructor for string attribute values
PcteMutableAttributeValue
public PcteMutableAttributeValue(java.lang.String s,
int type)
- constructor for time and other attribute values
value type has to be set explicitly using the type parameter
setBooleanValue
public void setBooleanValue(boolean b)
setIntValue
public void setIntValue(int i)
setEnumerationValue
public void setEnumerationValue(int i)
setNaturalValue
public void setNaturalValue(int i)
setFloatValue
public void setFloatValue(float f)
setStringValue
public void setStringValue(java.lang.String s)
setTimeValue
public void setTimeValue(java.lang.String s)
setValueType
public void setValueType(int type)
- set the attribute's value type (e.g. PCTE_INTEGER_ATTRIBUTE)