org.edg.data.reptor.info
Class ComputingElementInfo

java.lang.Object
  extended byorg.edg.data.reptor.info.ComputingElementInfo

public class ComputingElementInfo
extends java.lang.Object

The ComputingElement class represents an EDG CE as stored in the Information Services - using only the information needed by the replica management services. This class is constructed by the InfoService interface. Currently it contains information about its close storage elements and the virtual organizations that may access it.

Version:
$Id: ComputingElementInfo.java,v 1.15 2004/08/12 08:03:36 jamesc Exp $
Author:
Peter Kunszt, Heinz Stockinger
See Also:
InfoService

Constructor Summary
ComputingElementInfo(java.lang.String name, java.lang.String id, java.util.Iterator closeSEs, java.util.Iterator voList)
           
 
Method Summary
 java.util.Iterator getCloseSEs()
          return an Iterator over the list of Close SEs
 java.lang.String getID()
          Get the ID of the CE.
 java.lang.String getName()
          Get the string identifyer (name) of the CE.
 java.util.Iterator getVOs()
           
 boolean isCloseSE(java.lang.String seHost)
          Checks whether the given host is a close SE
 boolean isSupportedVO(java.lang.String vo)
           
 void printInfo(InfoPrinter p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputingElementInfo

public ComputingElementInfo(java.lang.String name,
                            java.lang.String id,
                            java.util.Iterator closeSEs,
                            java.util.Iterator voList)
Method Detail

getCloseSEs

public java.util.Iterator getCloseSEs()
return an Iterator over the list of Close SEs

Returns:
an Iterator over Strings

isCloseSE

public boolean isCloseSE(java.lang.String seHost)
Checks whether the given host is a close SE

Returns:
true or false

getName

public java.lang.String getName()
Get the string identifyer (name) of the CE.

Returns:
the name or null if the StorageElement has not been initialized

getID

public java.lang.String getID()
Get the ID of the CE.

Returns:
the ID or null if the ComputingElement has not been initialized (i.e. was not constructed by the Info Services.)

getVOs

public java.util.Iterator getVOs()

isSupportedVO

public boolean isSupportedVO(java.lang.String vo)

printInfo

public void printInfo(InfoPrinter p)