Package edu.isi.pegasus.planner.dax
Class Profile
- java.lang.Object
-
- edu.isi.pegasus.planner.dax.Profile
-
public class Profile extends java.lang.Object
Profile Object for the DAX API- Version:
- $Revision$
- Author:
- gmehta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Profile.NAMESPACE
Supported NAMESPACES.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
mKey
Key of the profileprotected java.lang.String
mNamespace
Namespace of the profileprotected java.lang.String
mValue
Value of the profile
-
Constructor Summary
Constructors Constructor Description Profile(Profile p)
Copy constructorProfile(Profile.NAMESPACE namespace, java.lang.String key, java.lang.String value)
Create a new Profile objectProfile(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 Profile
clone()
Create a copy of this Profilejava.lang.String
getKey()
Get the key of this Profilejava.lang.String
getNameSpace()
Get the namespace of this profilejava.lang.String
getValue()
Get the value of this profileProfile
setValue(java.lang.String value)
Set the value of this Profilevoid
toXML(edu.isi.pegasus.common.util.XMLWriter writer)
void
toXML(edu.isi.pegasus.common.util.XMLWriter writer, int indent)
-
-
-
Constructor Detail
-
Profile
public Profile(java.lang.String namespace, java.lang.String key)
Create a new Profile object- Parameters:
namespace
- the namespacekey
- the key
-
Profile
public Profile(java.lang.String namespace, java.lang.String key, java.lang.String value)
Create a new Profile object- Parameters:
namespace
- the namespacekey
- the keyvalue
- the value
-
Profile
public Profile(Profile.NAMESPACE namespace, java.lang.String key, java.lang.String value)
Create a new Profile object- Parameters:
namespace
- the namespace objectkey
- the keyvalue
- the value
-
Profile
public Profile(Profile p)
Copy constructor- Parameters:
p
- Profile t copy from
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Get the key of this Profile- Returns:
- the key
-
getNameSpace
public java.lang.String getNameSpace()
Get the namespace of this profile- Returns:
- the namespace
-
getValue
public java.lang.String getValue()
Get the value of this profile- Returns:
- the value
-
setValue
public Profile setValue(java.lang.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 classjava.lang.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)
-
-