edu.isi.pegasus.planner.catalog.site.classes
public class Connection extends AbstractSiteData
| Modifier and Type | Field and Description |
|---|---|
private String |
mKey
The connection key.
|
private String |
mValue
The value of the connection key.
|
| Constructor and Description |
|---|
Connection()
The default constructor.
|
Connection(String key,
String value)
The overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SiteDataVisitor visitor)
Accept method for the SiteData classes that accepts a visitor
|
Object |
clone()
Returns the clone of the object.
|
String |
getKey()
Returns the connection key.
|
String |
getValue()
Returns the key value.
|
void |
initialize(String key,
String value)
Initializes the object.
|
void |
setKey(String key)
Returns the connection key.
|
void |
setValue(String value)
Returns the key value.
|
void |
toXML(Writer writer,
String indent)
Writes out the xml description of the object.
|
toString, toXML, writeAttributeprivate String mKey
private String mValue
public void initialize(String key, String value)
key - the keyvalue - the key valuepublic String getKey()
public String getValue()
public void setKey(String key)
key - the keypublic void setValue(String value)
value - the value.public void toXML(Writer writer, String indent) throws IOException
toXML in class AbstractSiteDatawriter - is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.indent - the indent to be used.IOException - if something fishy happens to the stream.public Object clone()
clone in class AbstractSiteDatapublic void accept(SiteDataVisitor visitor)
AbstractSiteDataaccept in class AbstractSiteDatavisitor - the visitor to be used