Package edu.isi.pegasus.planner.dax
Class Profile
- java.lang.Object
-
- edu.isi.pegasus.planner.dax.Profile
-
public class Profile extends java.lang.ObjectProfile Object for the DAX API- Version:
- $Revision$
- Author:
- gmehta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProfile.NAMESPACESupported NAMESPACES.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringmKeyKey of the profileprotected java.lang.StringmNamespaceNamespace of the profileprotected java.lang.StringmValueValue of the profile
-
Constructor Summary
Constructors Constructor Description Profile(Profile p)Copy constructorProfile(Profile.NAMESPACE namespace, java.lang.String key, java.lang.String value)Profile(java.lang.String namespace, java.lang.String key)Create a new Profile objectProfile(java.lang.String namespace, java.lang.String key, java.lang.String value)Create a new Profile object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Profileclone()Create a copy of this Profilejava.lang.StringgetKey()Get the key of this Profilejava.lang.StringgetNameSpace()Get the namespace of this profilejava.lang.StringgetValue()Get the value of this profileProfilesetValue(java.lang.String value)Set the value of this ProfilevoidtoXML(XMLWriter writer)voidtoXML(XMLWriter writer, int indent)
-
-
-
Constructor Detail
-
Profile
public Profile(java.lang.String namespace, java.lang.String key)Create a new Profile object- Parameters:
namespace-key-
-
Profile
public Profile(java.lang.String namespace, java.lang.String key, java.lang.String value)Create a new Profile object- Parameters:
namespace-key-value-
-
Profile
public Profile(Profile.NAMESPACE namespace, java.lang.String key, java.lang.String value)
- Parameters:
namespace-key-value-
-
Profile
public Profile(Profile p)
Copy constructor- Parameters:
p-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Get the key of this Profile- Returns:
-
getNameSpace
public java.lang.String getNameSpace()
Get the namespace of this profile- Returns:
-
getValue
public java.lang.String getValue()
Get the value of this profile- Returns:
-
setValue
public Profile setValue(java.lang.String value)
Set the value of this Profile- Parameters:
value-- Returns:
-
clone
public Profile clone()
Create a copy of this Profile- Overrides:
clonein classjava.lang.Object- Returns:
-
toXML
public void toXML(XMLWriter writer)
-
toXML
public void toXML(XMLWriter writer, int indent)
-
-