public class ValueMetaAndData extends Object
Modifier and Type | Field and Description |
---|---|
static String |
VALUE_REPOSITORY_DATE_CONVERSION_MASK |
static String |
VALUE_REPOSITORY_DECIMAL_SYMBOL |
static String |
VALUE_REPOSITORY_GROUPING_SYMBOL |
static String |
VALUE_REPOSITORY_INTEGER_CONVERSION_MASK |
static String |
VALUE_REPOSITORY_NUMBER_CONVERSION_MASK |
static String |
XML_TAG |
Constructor and Description |
---|
ValueMetaAndData() |
ValueMetaAndData(Node valnode)
Construct a new Value and read the data from XML
|
ValueMetaAndData(String valueName,
Object valueData) |
ValueMetaAndData(ValueMetaInterface valueMeta,
Object valueData) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Object |
getValueData() |
ValueMetaInterface |
getValueMeta() |
String |
getXML()
Produce the XML representation of this value.
|
boolean |
loadXML(Node valnode)
Read the data for this Value from an XML Node
|
void |
setValueData(Object valueData) |
void |
setValueMeta(ValueMetaInterface valueMeta) |
String |
toString() |
String |
toStringMeta() |
public static final String XML_TAG
public static final String VALUE_REPOSITORY_NUMBER_CONVERSION_MASK
public static final String VALUE_REPOSITORY_INTEGER_CONVERSION_MASK
public static final String VALUE_REPOSITORY_DATE_CONVERSION_MASK
public static final String VALUE_REPOSITORY_DECIMAL_SYMBOL
public static final String VALUE_REPOSITORY_GROUPING_SYMBOL
public ValueMetaAndData()
public ValueMetaAndData(ValueMetaInterface valueMeta, Object valueData)
valueMeta
- valueData
- public ValueMetaAndData(String valueName, Object valueData) throws KettleValueException
KettleValueException
public ValueMetaAndData(Node valnode)
valnode
- The XML Node to read from.public String getXML() throws KettleValueException
KettleValueException
- in case there is a data conversion error, only throws in case of lazy conversionpublic boolean loadXML(Node valnode)
valnode
- The XML Node to read frompublic String toStringMeta()
public Object getValueData()
public void setValueData(Object valueData)
valueData
- the valueData to setpublic ValueMetaInterface getValueMeta()
public void setValueMeta(ValueMetaInterface valueMeta)
valueMeta
- the valueMeta to set