Class ValueMetaAndData


  • public class ValueMetaAndData
    extends Object
    • Constructor Detail

      • ValueMetaAndData

        public ValueMetaAndData()
      • ValueMetaAndData

        public ValueMetaAndData​(ValueMetaInterface valueMeta,
                                Object valueData)
        Parameters:
        valueMeta -
        valueData -
      • 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
      • setValueMeta

        public void setValueMeta​(ValueMetaInterface valueMeta)
        Parameters:
        valueMeta - the valueMeta to set