Package org.pentaho.di.core.row
Class ValueMetaAndData
- java.lang.Object
-
- org.pentaho.di.core.row.ValueMetaAndData
-
public class ValueMetaAndData extends Object
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description ValueMetaAndData()
ValueMetaAndData(String valueName, Object valueData)
ValueMetaAndData(ValueMetaInterface valueMeta, Object valueData)
ValueMetaAndData(Node valnode)
Construct a new Value and read the data from XML
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Nodevoid
setValueData(Object valueData)
void
setValueMeta(ValueMetaInterface valueMeta)
String
toString()
String
toStringMeta()
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
VALUE_REPOSITORY_NUMBER_CONVERSION_MASK
public static final String VALUE_REPOSITORY_NUMBER_CONVERSION_MASK
- See Also:
- Constant Field Values
-
VALUE_REPOSITORY_INTEGER_CONVERSION_MASK
public static final String VALUE_REPOSITORY_INTEGER_CONVERSION_MASK
- See Also:
- Constant Field Values
-
VALUE_REPOSITORY_DATE_CONVERSION_MASK
public static final String VALUE_REPOSITORY_DATE_CONVERSION_MASK
- See Also:
- Constant Field Values
-
VALUE_REPOSITORY_DECIMAL_SYMBOL
public static final String VALUE_REPOSITORY_DECIMAL_SYMBOL
- See Also:
- Constant Field Values
-
VALUE_REPOSITORY_GROUPING_SYMBOL
public static final String VALUE_REPOSITORY_GROUPING_SYMBOL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ValueMetaAndData
public ValueMetaAndData()
-
ValueMetaAndData
public ValueMetaAndData(ValueMetaInterface valueMeta, Object valueData)
- Parameters:
valueMeta
-valueData
-
-
ValueMetaAndData
public ValueMetaAndData(String valueName, Object valueData) throws KettleValueException
- Throws:
KettleValueException
-
ValueMetaAndData
public ValueMetaAndData(Node valnode)
Construct a new Value and read the data from XML- Parameters:
valnode
- The XML Node to read from.
-
-
Method Detail
-
getXML
public String getXML() throws KettleValueException
Produce the XML representation of this value.- Returns:
- a String containing the XML to represent this Value.
- Throws:
KettleValueException
- in case there is a data conversion error, only throws in case of lazy conversion
-
loadXML
public boolean loadXML(Node valnode)
Read the data for this Value from an XML Node- Parameters:
valnode
- The XML Node to read from- Returns:
- true if all went well, false if something went wrong.
-
toStringMeta
public String toStringMeta()
-
getValueData
public Object getValueData()
- Returns:
- the valueData
-
setValueData
public void setValueData(Object valueData)
- Parameters:
valueData
- the valueData to set
-
getValueMeta
public ValueMetaInterface getValueMeta()
- Returns:
- the valueMeta
-
setValueMeta
public void setValueMeta(ValueMetaInterface valueMeta)
- Parameters:
valueMeta
- the valueMeta to set
-
-