edu.isi.pegasus.planner.invocation
public class CPU extends MachineInfo implements HasText
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME
The element name
|
private StringBuffer |
mValue
The text value
|
mAttributeMap| Constructor and Description |
|---|
CPU()
The default constructor
|
CPU(String value)
Constructs a piece of data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendValue(String fragment)
Appends a piece of text to the existing text.
|
String |
getElementName()
Returns the name of the xml element corresponding to the object.
|
String |
getValue()
Accessor
|
void |
setValue(String value)
Accessor.
|
addAttribute, addAttributes, get, getAttributeKeysIterator, toString, toXMLprivate StringBuffer mValue
public static final String ELEMENT_NAME
public CPU()
public CPU(String value)
value - is the data to remember. The string may be empty,
but it must not be null.NullPointerException - if the argument was null.public String getElementName()
getElementName in class MachineInfopublic void appendValue(String fragment)
appendValue in interface HasTextfragment - is a piece of text to append to existing text.
Appending null is a noop.public String getValue()
getValue in interface HasTextsetValue(String)public void setValue(String value)
setValue in interface HasTextvalue - is the new value to set.getValue()