Class LRC
- java.lang.Object
-
- edu.isi.pegasus.planner.catalog.site.impl.old.classes.LRC
-
public class LRC extends java.lang.ObjectThis is a data class that is used to store information about a local replica catalog, that is associated with a site in the pool configuration catalog.The various attributes that can be associated with the the server are displayed in the following table.
Attribute Name Attribute Description url the url string pointing to local replica catalog. - Version:
- $Revision$
- Author:
- Gaurang Mehta gmehta@isi.edu, Karan Vahi vahi@isi.edu
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringmLRCURLThe contact string to the lrc e.g rls://sukhna.isi.edu .
-
Constructor Summary
Constructors Constructor Description LRC(java.lang.String url)Constructor for the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetURL()Returns the LRC url associated with a pool.voidsetURL(java.lang.String url)Sets the url of the LRC associated with the object.java.lang.StringtoMultiLine()Returns the textual description of the contents ofLRCobject in the multiline format.java.lang.StringtoString()Returns the textual description of the contents ofLRCobject.java.lang.StringtoXML()Returns the XML description of the contents ofLRCobject.
-
-
-
Method Detail
-
getURL
public java.lang.String getURL()
Returns the LRC url associated with a pool.- Returns:
- the lrc url.
-
setURL
public void setURL(java.lang.String url)
Sets the url of the LRC associated with the object.- Parameters:
url- the url string.
-
toMultiLine
public java.lang.String toMultiLine()
Returns the textual description of the contents ofLRCobject in the multiline format.- Returns:
- the textual description in multiline format.
-
toString
public java.lang.String toString()
Returns the textual description of the contents ofLRCobject.- Overrides:
toStringin classjava.lang.Object- Returns:
- the textual description.
-
toXML
public java.lang.String toXML()
Returns the XML description of the contents ofLRCobject.- Returns:
- the xml description.
-
-