edu.isi.pegasus.planner.dax
Class MetaData

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

public class MetaData
extends Object

Metadata object for the DAX API

Version:
$Revision: 3201 $
Author:
gmehta

Field Summary
protected  String mKey
          Metadata Key
protected  String mType
          Metadata type
protected  String mValue
          Metadata value
 
Constructor Summary
MetaData(MetaData m)
          Copy constructor
MetaData(String type, String key)
          Create a new Metadata object
MetaData(String type, String key, String value)
          Create a new Metadata object
 
Method Summary
 MetaData clone()
          Create a copy of this Metdata Object
 String getKey()
          Get the key of this metadata object
 String getType()
          Get the type of the metdata object
 String getValue()
          Get the value of the metdata object
 MetaData setValue(String value)
          Set the value of the metadata
 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

mKey

protected String mKey
Metadata Key


mType

protected String mType
Metadata type


mValue

protected String mValue
Metadata value

Constructor Detail

MetaData

public MetaData(MetaData m)
Copy constructor

Parameters:
m -

MetaData

public MetaData(String type,
                String key)
Create a new Metadata object

Parameters:
type -
key -

MetaData

public MetaData(String type,
                String key,
                String value)
Create a new Metadata object

Parameters:
type -
key -
value -
Method Detail

clone

public MetaData clone()
Create a copy of this Metdata Object

Overrides:
clone in class Object
Returns:

setValue

public MetaData setValue(String value)
Set the value of the metadata

Parameters:
value -
Returns:

getKey

public String getKey()
Get the key of this metadata object

Returns:

getType

public String getType()
Get the type of the metdata object

Returns:

getValue

public String getValue()
Get the value of the metdata 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.