Class ValueMetaAndData

java.lang.Object
org.pentaho.di.core.row.ValueMetaAndData

public class ValueMetaAndData extends Object
  • Field Details

  • Constructor Details

    • 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 Details

    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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