Class Profile

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

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

    • mNamespace

      protected String mNamespace
      Namespace of the profile
    • mKey

      protected String mKey
      Key of the profile
    • mValue

      protected String mValue
      Value of the profile
  • Constructor Details

    • Profile

      public Profile(String namespace, String key)
      Create a new Profile object
      Parameters:
      namespace - the namespace
      key - the key
    • Profile

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

      public Profile(Profile.NAMESPACE namespace, String key, String value)
      Create a new Profile object
      Parameters:
      namespace - the namespace object
      key - the key
      value - the value
    • Profile

      public Profile(Profile p)
      Copy constructor
      Parameters:
      p - Profile t copy from
  • Method Details

    • getKey

      public String getKey()
      Get the key of this Profile
      Returns:
      the key
    • getNameSpace

      public String getNameSpace()
      Get the namespace of this profile
      Returns:
      the namespace
    • getValue

      public String getValue()
      Get the value of this profile
      Returns:
      the value
    • setValue

      public Profile setValue(String value)
      Set the value of this Profile
      Parameters:
      value - value to be set for the profile
      Returns:
      Profile
    • clone

      public Profile clone()
      Create a copy of this Profile
      Overrides:
      clone in class Object
      Returns:
      copy of the object
    • toXML

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

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