|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.site.classes.SiteData
edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
edu.isi.pegasus.planner.catalog.site.classes.Connection
public class Connection
This data class describes a connection property for replica catalog.
| Field Summary | |
|---|---|
private String |
mKey
The connection key. |
private String |
mValue
The value of the connection key. |
| Constructor Summary | |
|---|---|
Connection()
The default constructor. |
|
Connection(String key,
String value)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData |
|---|
toString, toXML, writeAttribute |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String mKey
private String mValue
| Constructor Detail |
|---|
public Connection()
public Connection(String key,
String value)
key - the keyvalue - the key value| Method Detail |
|---|
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 AbstractSiteData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||