edu.isi.pegasus.planner.dax
Class Profile

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

public class Profile
extends Object

Profile Object for the DAX API

Version:
$Revision: 3201 $
Author:
gmehta

Nested Class Summary
static class Profile.NAMESPACE
          Supported NAMESPACES.
 
Field Summary
protected  String mKey
          Key of the profile
protected  String mNamespace
          Namespace of the profile
protected  String mValue
          Value of the profile
 
Constructor Summary
Profile(Profile.NAMESPACE namespace, String key, String value)
           
Profile(Profile p)
          Copy constructor
Profile(String namespace, String key)
          Create a new Profile object
Profile(String namespace, String key, String value)
          Create a new Profile object
 
Method Summary
 Profile clone()
          Create a copy of this Profile
 String getKey()
          Get the key of this Profile
 String getNameSpace()
          Get the namespace of this profile
 String getValue()
          Get the value of this profile
 Profile setValue(String value)
          Set the value of this Profile
 void toXML(XMLWriter writer)
           
 void toXML(XMLWriter writer, int indent)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

Profile

public Profile(String namespace,
               String key)
Create a new Profile object

Parameters:
namespace -
key -

Profile

public Profile(String namespace,
               String key,
               String value)
Create a new Profile object

Parameters:
namespace -
key -
value -

Profile

public Profile(Profile.NAMESPACE namespace,
               String key,
               String value)
Parameters:
namespace -
key -
value -

Profile

public Profile(Profile p)
Copy constructor

Parameters:
p -
Method Detail

getKey

public String getKey()
Get the key of this Profile

Returns:

getNameSpace

public String getNameSpace()
Get the namespace of this profile

Returns:

getValue

public String getValue()
Get the value of this profile

Returns:

setValue

public Profile setValue(String value)
Set the value of this Profile

Parameters:
value -
Returns:

clone

public Profile clone()
Create a copy of this Profile

Overrides:
clone in class Object
Returns:

toXML

public void toXML(XMLWriter writer)

toXML

public void toXML(XMLWriter writer,
                  int indent)


Copyright © 2011 The University of Southern California. All Rights Reserved.