Class MetaData

java.lang.Object
edu.isi.pegasus.planner.dax.MetaData

public class MetaData extends Object
Metadata object for the DAX API
Version:
$Revision$
Author:
gmehta
  • Field Details

    • mKey

      protected String mKey
      Metadata Key
    • mType

      protected String mType
      Metadata type
    • mValue

      protected String mValue
      Metadata value
  • Constructor Details

    • MetaData

      public MetaData(MetaData m)
      Copy constructor
      Parameters:
      m - the MetaData object being copied from
    • MetaData

      public MetaData(String key, String value)
      Create a new Metadata object
      Parameters:
      key - the key
      value - the value
    • MetaData

      private MetaData(String type, String key, String value)
      Create a new Metadata object
      Parameters:
      type - type of metadata
      key - the key
      value - the value
  • Method Details

    • clone

      public MetaData clone()
      Create a copy of this Metdata Object
      Overrides:
      clone in class Object
      Returns:
      clone of the object
    • setValue

      public MetaData setValue(String value)
      Set the value of the metadata
      Parameters:
      value - value to be set for metadata attribute
      Returns:
      MetaData
    • getKey

      public String getKey()
      Get the key of this metadata object
      Returns:
      the key
    • getType

      private String getType()
      Get the type of the metdata object
      Returns:
      the type
    • getValue

      public String getValue()
      Get the value of the metdata object
      Returns:
      the value
    • toXML

      public void toXML(edu.isi.pegasus.common.util.XMLWriter writer)
    • toXML

      public void toXML(edu.isi.pegasus.common.util.XMLWriter writer, int indent)