Package edu.isi.pegasus.planner.dax
Class MetaData
java.lang.Object
edu.isi.pegasus.planner.dax.MetaData
Metadata object for the DAX API
- Version:
- $Revision$
- Author:
- gmehta
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCustom serializer for YAML representation of a MetaData k,v pair -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Create a copy of this Metdata ObjectgetKey()Get the key of this metadata objectprivate StringgetType()Get the type of the metdata objectgetValue()Get the value of the metdata objectSet the value of the metadatavoidtoXML(edu.isi.pegasus.common.util.XMLWriter writer) voidtoXML(edu.isi.pegasus.common.util.XMLWriter writer, int indent)
-
Field Details
-
mKey
Metadata Key -
mType
Metadata type -
mValue
Metadata value
-
-
Constructor Details
-
MetaData
Copy constructor- Parameters:
m- the MetaData object being copied from
-
MetaData
Create a new Metadata object- Parameters:
key- the keyvalue- the value
-
MetaData
Create a new Metadata object- Parameters:
type- type of metadatakey- the keyvalue- the value
-
-
Method Details
-
clone
Create a copy of this Metdata Object -
setValue
Set the value of the metadata- Parameters:
value- value to be set for metadata attribute- Returns:
- MetaData
-
getKey
Get the key of this metadata object- Returns:
- the key
-
getType
Get the type of the metdata object- Returns:
- the type
-
getValue
Get the value of the metdata object- Returns:
- the value
-
toXML
public void toXML(edu.isi.pegasus.common.util.XMLWriter writer) -
toXML
public void toXML(edu.isi.pegasus.common.util.XMLWriter writer, int indent)
-