org.globus.mds.glue
Class SubClusterOrHostType

java.lang.Object
  extended byorg.globus.mds.glue.SubClusterOrHostType
All Implemented Interfaces:
AnyContentType, Serializable
Direct Known Subclasses:
HostType, SubClusterType

public class SubClusterOrHostType
extends Object
implements Serializable, AnyContentType

A subcluster contains at least one host, as well as having properties associated with it that represent the state of every host within the subcluster. TODO: need some specification of uniqueness. It is reasonable for fairly simple type such as architecture to say that it MAY NOT appear on both a Host and its containing SubCluster, but for filesystems (for example) it might be desirable to put some filesystems on the SubCluster (eg. nfs or pvfs) and some on the Hosts (eg. /scratch)

See Also:
Serialized Form

Constructor Summary
SubClusterOrHostType()
           
SubClusterOrHostType(BenchmarkType benchmark, ProcessorType processor, MainMemoryType mainMemory, OperatingSystemType operatingSystem, StorageDeviceType[] storageDevice, ArchitectureType architecture, ApplicationSoftwareType applicationSoftware, FileSystemType[] fileSystem, NetworkAdapterType[] networkAdapter, MessageElement[] _any, String name, String uniqueID, URI informationServiceURL)
           
 
Method Summary
 boolean equals(Object obj)
           
 MessageElement[] get_any()
          Gets the _any value for this SubClusterOrHostType.
 ApplicationSoftwareType getApplicationSoftware()
          Gets the applicationSoftware value for this SubClusterOrHostType.
 ArchitectureType getArchitecture()
          Gets the architecture value for this SubClusterOrHostType.
 BenchmarkType getBenchmark()
          Gets the benchmark value for this SubClusterOrHostType.
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 FileSystemType[] getFileSystem()
          Gets the fileSystem value for this SubClusterOrHostType.
 FileSystemType getFileSystem(int i)
           
 URI getInformationServiceURL()
          Gets the informationServiceURL value for this SubClusterOrHostType.
 MainMemoryType getMainMemory()
          Gets the mainMemory value for this SubClusterOrHostType.
 String getName()
          Gets the name value for this SubClusterOrHostType.
 NetworkAdapterType[] getNetworkAdapter()
          Gets the networkAdapter value for this SubClusterOrHostType.
 NetworkAdapterType getNetworkAdapter(int i)
           
 OperatingSystemType getOperatingSystem()
          Gets the operatingSystem value for this SubClusterOrHostType.
 ProcessorType getProcessor()
          Gets the processor value for this SubClusterOrHostType.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 StorageDeviceType[] getStorageDevice()
          Gets the storageDevice value for this SubClusterOrHostType.
 StorageDeviceType getStorageDevice(int i)
           
static TypeDesc getTypeDesc()
          Return type metadata object
 String getUniqueID()
          Gets the uniqueID value for this SubClusterOrHostType.
 int hashCode()
           
 void set_any(MessageElement[] _any)
          Sets the _any value for this SubClusterOrHostType.
 void setApplicationSoftware(ApplicationSoftwareType applicationSoftware)
          Sets the applicationSoftware value for this SubClusterOrHostType.
 void setArchitecture(ArchitectureType architecture)
          Sets the architecture value for this SubClusterOrHostType.
 void setBenchmark(BenchmarkType benchmark)
          Sets the benchmark value for this SubClusterOrHostType.
 void setFileSystem(FileSystemType[] fileSystem)
          Sets the fileSystem value for this SubClusterOrHostType.
 void setFileSystem(int i, FileSystemType _value)
           
 void setInformationServiceURL(URI informationServiceURL)
          Sets the informationServiceURL value for this SubClusterOrHostType.
 void setMainMemory(MainMemoryType mainMemory)
          Sets the mainMemory value for this SubClusterOrHostType.
 void setName(String name)
          Sets the name value for this SubClusterOrHostType.
 void setNetworkAdapter(int i, NetworkAdapterType _value)
           
 void setNetworkAdapter(NetworkAdapterType[] networkAdapter)
          Sets the networkAdapter value for this SubClusterOrHostType.
 void setOperatingSystem(OperatingSystemType operatingSystem)
          Sets the operatingSystem value for this SubClusterOrHostType.
 void setProcessor(ProcessorType processor)
          Sets the processor value for this SubClusterOrHostType.
 void setStorageDevice(int i, StorageDeviceType _value)
           
 void setStorageDevice(StorageDeviceType[] storageDevice)
          Sets the storageDevice value for this SubClusterOrHostType.
 void setUniqueID(String uniqueID)
          Sets the uniqueID value for this SubClusterOrHostType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubClusterOrHostType

public SubClusterOrHostType()

SubClusterOrHostType

public SubClusterOrHostType(BenchmarkType benchmark,
                            ProcessorType processor,
                            MainMemoryType mainMemory,
                            OperatingSystemType operatingSystem,
                            StorageDeviceType[] storageDevice,
                            ArchitectureType architecture,
                            ApplicationSoftwareType applicationSoftware,
                            FileSystemType[] fileSystem,
                            NetworkAdapterType[] networkAdapter,
                            MessageElement[] _any,
                            String name,
                            String uniqueID,
                            URI informationServiceURL)
Method Detail

getBenchmark

public BenchmarkType getBenchmark()
Gets the benchmark value for this SubClusterOrHostType.

Returns:
benchmark

setBenchmark

public void setBenchmark(BenchmarkType benchmark)
Sets the benchmark value for this SubClusterOrHostType.

Parameters:
benchmark -

getProcessor

public ProcessorType getProcessor()
Gets the processor value for this SubClusterOrHostType.

Returns:
processor

setProcessor

public void setProcessor(ProcessorType processor)
Sets the processor value for this SubClusterOrHostType.

Parameters:
processor -

getMainMemory

public MainMemoryType getMainMemory()
Gets the mainMemory value for this SubClusterOrHostType.

Returns:
mainMemory

setMainMemory

public void setMainMemory(MainMemoryType mainMemory)
Sets the mainMemory value for this SubClusterOrHostType.

Parameters:
mainMemory -

getOperatingSystem

public OperatingSystemType getOperatingSystem()
Gets the operatingSystem value for this SubClusterOrHostType.

Returns:
operatingSystem

setOperatingSystem

public void setOperatingSystem(OperatingSystemType operatingSystem)
Sets the operatingSystem value for this SubClusterOrHostType.

Parameters:
operatingSystem -

getStorageDevice

public StorageDeviceType[] getStorageDevice()
Gets the storageDevice value for this SubClusterOrHostType.

Returns:
storageDevice

setStorageDevice

public void setStorageDevice(StorageDeviceType[] storageDevice)
Sets the storageDevice value for this SubClusterOrHostType.

Parameters:
storageDevice -

getStorageDevice

public StorageDeviceType getStorageDevice(int i)

setStorageDevice

public void setStorageDevice(int i,
                             StorageDeviceType _value)

getArchitecture

public ArchitectureType getArchitecture()
Gets the architecture value for this SubClusterOrHostType.

Returns:
architecture

setArchitecture

public void setArchitecture(ArchitectureType architecture)
Sets the architecture value for this SubClusterOrHostType.

Parameters:
architecture -

getApplicationSoftware

public ApplicationSoftwareType getApplicationSoftware()
Gets the applicationSoftware value for this SubClusterOrHostType.

Returns:
applicationSoftware

setApplicationSoftware

public void setApplicationSoftware(ApplicationSoftwareType applicationSoftware)
Sets the applicationSoftware value for this SubClusterOrHostType.

Parameters:
applicationSoftware -

getFileSystem

public FileSystemType[] getFileSystem()
Gets the fileSystem value for this SubClusterOrHostType.

Returns:
fileSystem

setFileSystem

public void setFileSystem(FileSystemType[] fileSystem)
Sets the fileSystem value for this SubClusterOrHostType.

Parameters:
fileSystem -

getFileSystem

public FileSystemType getFileSystem(int i)

setFileSystem

public void setFileSystem(int i,
                          FileSystemType _value)

getNetworkAdapter

public NetworkAdapterType[] getNetworkAdapter()
Gets the networkAdapter value for this SubClusterOrHostType.

Returns:
networkAdapter

setNetworkAdapter

public void setNetworkAdapter(NetworkAdapterType[] networkAdapter)
Sets the networkAdapter value for this SubClusterOrHostType.

Parameters:
networkAdapter -

getNetworkAdapter

public NetworkAdapterType getNetworkAdapter(int i)

setNetworkAdapter

public void setNetworkAdapter(int i,
                              NetworkAdapterType _value)

get_any

public MessageElement[] get_any()
Gets the _any value for this SubClusterOrHostType.

Specified by:
get_any in interface AnyContentType
Returns:
_any

set_any

public void set_any(MessageElement[] _any)
Sets the _any value for this SubClusterOrHostType.

Specified by:
set_any in interface AnyContentType
Parameters:
_any -

getName

public String getName()
Gets the name value for this SubClusterOrHostType.

Returns:
name

setName

public void setName(String name)
Sets the name value for this SubClusterOrHostType.

Parameters:
name -

getUniqueID

public String getUniqueID()
Gets the uniqueID value for this SubClusterOrHostType.

Returns:
uniqueID

setUniqueID

public void setUniqueID(String uniqueID)
Sets the uniqueID value for this SubClusterOrHostType.

Parameters:
uniqueID -

getInformationServiceURL

public URI getInformationServiceURL()
Gets the informationServiceURL value for this SubClusterOrHostType.

Returns:
informationServiceURL

setInformationServiceURL

public void setInformationServiceURL(URI informationServiceURL)
Sets the informationServiceURL value for this SubClusterOrHostType.

Parameters:
informationServiceURL -

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

getTypeDesc

public static TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static Serializer getSerializer(String mechType,
                                       Class _javaType,
                                       QName _xmlType)
Get Custom Serializer


getDeserializer

public static Deserializer getDeserializer(String mechType,
                                           Class _javaType,
                                           QName _xmlType)
Get Custom Deserializer



Copyright © 1999-2006 University of Chicago. All rights reserved.