Class CPU
- java.lang.Object
-
- org.griphyn.vdl.Chimera
-
- edu.isi.pegasus.planner.invocation.Invocation
-
- edu.isi.pegasus.planner.invocation.MachineInfo
-
- edu.isi.pegasus.planner.invocation.CPU
-
- All Implemented Interfaces:
HasText,java.io.Serializable
public class CPU extends MachineInfo implements HasText
The CPU element.- Version:
- $Revision$
- Author:
- Karan Vahi
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELEMENT_NAMEThe element nameprivate java.lang.StringBuffermValueThe text value-
Fields inherited from class edu.isi.pegasus.planner.invocation.MachineInfo
mAttributeMap
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendValue(java.lang.String fragment)Appends a piece of text to the existing text.java.lang.StringgetElementName()Returns the name of the xml element corresponding to the object.java.lang.StringgetValue()AccessorvoidsetValue(java.lang.String value)Accessor.-
Methods inherited from class edu.isi.pegasus.planner.invocation.MachineInfo
addAttribute, addAttributes, get, getAttributeKeysIterator, toString, toXML
-
-
-
-
Field Detail
-
mValue
private java.lang.StringBuffer mValue
The text value
-
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
The element name- See Also:
- Constant Field Values
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
Returns the name of the xml element corresponding to the object.- Specified by:
getElementNamein classMachineInfo- Returns:
- name
-
appendValue
public void appendValue(java.lang.String fragment)
Appends a piece of text to the existing text.- Specified by:
appendValuein interfaceHasText- Parameters:
fragment- is a piece of text to append to existing text. Appendingnullis a noop.
-
getValue
public java.lang.String getValue()
Accessor- Specified by:
getValuein interfaceHasText- See Also:
setValue(String)
-
setValue
public void setValue(java.lang.String value)
Accessor.- Specified by:
setValuein interfaceHasText- Parameters:
value- is the new value to set.- See Also:
getValue()
-
-