g-Eclipse
Release 1.0.0

eu.geclipse.info.glue
Class AbstractGlueTable

java.lang.Object
  extended by eu.geclipse.info.glue.AbstractGlueTable
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GlueBatchJob, GlueBatchQueue, GlueBatchSystem, GlueCE, GlueCEAccessControlBaseRule, GlueCEContactString, GlueCESEBind, GlueCEVOView, GlueCEVOViewAccessControlBaseRule, GlueCluster, GlueHost, GlueHostLocalFileSystem, GlueHostNetworkAdapter, GlueHostPoolAccount, GlueHostProcess, GlueHostRemoteFileSystem, GlueHostRole, GlueLocation, GlueSA, GlueSAAccessControlBaseRule, GlueSE, GlueSEAccessProtocol, GlueSEAccessProtocolCapability, GlueSEAccessProtocolSupportedSecurity, GlueSEControlProtocol, GlueSEControlProtocolCapability, GlueService, GlueServiceAccessControlRule, GlueServiceAssociation, GlueServiceData, GlueServiceOwner, GlueServiceStatus, GlueSite, GlueSiteInfo, GlueSiteSponsor, GlueSL, GlueSubCluster, GlueSubClusterLocation, GlueSubClusterSoftwareRunTimeEnvironment, GlueVO

public abstract class AbstractGlueTable
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 boolean byRefOnly
           
 java.lang.String displayName
          The name that will be shown on the tree in the glue info view.
 java.lang.String retrievalTime
          The date and time that this object was retrieved and stored
 java.lang.String tableName
           
 
Constructor Summary
AbstractGlueTable()
           
 
Method Summary
 java.lang.String getDisplayName()
           
 java.lang.Object getFieldByName(java.lang.String fieldName)
           
 java.lang.String getID()
           
 java.lang.String getKey()
          Get the key
 java.lang.String getRetrievalTime()
           
 java.lang.String getVotype()
          Get the type of the vo that this glue table belongs to.
 java.lang.Object setFieldByName(java.lang.String fieldName, java.lang.Object value)
          Update the value of an attribute of the Glue object.
 void setKey(java.lang.String key)
          Set the key
 void setRetrievalTime(java.lang.String retrievalTime)
           
 void setVoType(java.lang.String voType)
          Set the type of the vo that this glue table belongs to.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tableName

public java.lang.String tableName

displayName

public java.lang.String displayName
The name that will be shown on the tree in the glue info view.


byRefOnly

public boolean byRefOnly

retrievalTime

public java.lang.String retrievalTime
The date and time that this object was retrieved and stored

Constructor Detail

AbstractGlueTable

public AbstractGlueTable()
Method Detail

setVoType

public void setVoType(java.lang.String voType)
Set the type of the vo that this glue table belongs to.

Parameters:
voType - a string of the VO type, like gria or glite

getVotype

public java.lang.String getVotype()
Get the type of the vo that this glue table belongs to.

Returns:
the type of the vo or an empty string.

getID

public java.lang.String getID()
Returns:
The unique identified for this Glue entry

getDisplayName

public java.lang.String getDisplayName()
Returns:
the display name for this Glue entry

setFieldByName

public java.lang.Object setFieldByName(java.lang.String fieldName,
                                       java.lang.Object value)
                                throws java.lang.RuntimeException,
                                       java.lang.IllegalAccessException
Update the value of an attribute of the Glue object. If there is no attribute with the provided name and there is an attribute named fieldNameList the provided value is appended to that list.

Parameters:
fieldName - the name of the field to modify
value -
Returns:
the value of the updated field, null in the case of a list
Throws:
java.lang.RuntimeException
java.lang.IllegalAccessException

getFieldByName

public java.lang.Object getFieldByName(java.lang.String fieldName)
                                throws java.lang.RuntimeException,
                                       java.lang.IllegalAccessException,
                                       java.lang.NoSuchFieldException
Parameters:
fieldName - the name of the field to return
Returns:
the value of the specified field
Throws:
java.lang.RuntimeException
java.lang.IllegalAccessException
java.lang.NoSuchFieldException

setKey

public void setKey(java.lang.String key)
Set the key

Parameters:
key -

getKey

public java.lang.String getKey()
Get the key

Returns:
They key as String or null

getRetrievalTime

public java.lang.String getRetrievalTime()

setRetrievalTime

public void setRetrievalTime(java.lang.String retrievalTime)

g-Eclipse
Release 1.0.0