org.globus.mds.glue
Class SubClusterOrHostType

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

public class SubClusterOrHostType
extends java.lang.Object
implements java.io.Serializable, org.apache.axis.encoding.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

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  org.apache.axis.message.MessageElement[] _any
           
private  ApplicationSoftwareType applicationSoftware
           
private  ArchitectureType architecture
           
private  BenchmarkType benchmark
           
private  FileSystemType[] fileSystem
           
private  org.apache.axis.types.URI informationServiceURL
           
private  MainMemoryType mainMemory
           
private  java.lang.String name
           
private  NetworkAdapterType[] networkAdapter
           
private  OperatingSystemType operatingSystem
           
private  ProcessorType processor
           
private  StorageDeviceType[] storageDevice
           
private static org.apache.axis.description.TypeDesc typeDesc
           
private  java.lang.String uniqueID
           
 
Constructor Summary
SubClusterOrHostType()
           
SubClusterOrHostType(org.apache.axis.message.MessageElement[] _any, ApplicationSoftwareType applicationSoftware, ArchitectureType architecture, BenchmarkType benchmark, FileSystemType[] fileSystem, org.apache.axis.types.URI informationServiceURL, MainMemoryType mainMemory, java.lang.String name, NetworkAdapterType[] networkAdapter, OperatingSystemType operatingSystem, ProcessorType processor, StorageDeviceType[] storageDevice, java.lang.String uniqueID)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 org.apache.axis.message.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 org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 FileSystemType[] getFileSystem()
          Gets the fileSystem value for this SubClusterOrHostType.
 FileSystemType getFileSystem(int i)
           
 org.apache.axis.types.URI getInformationServiceURL()
          Gets the informationServiceURL value for this SubClusterOrHostType.
 MainMemoryType getMainMemory()
          Gets the mainMemory value for this SubClusterOrHostType.
 java.lang.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 org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 StorageDeviceType[] getStorageDevice()
          Gets the storageDevice value for this SubClusterOrHostType.
 StorageDeviceType getStorageDevice(int i)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getUniqueID()
          Gets the uniqueID value for this SubClusterOrHostType.
 int hashCode()
           
 void set_any(org.apache.axis.message.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(org.apache.axis.types.URI informationServiceURL)
          Sets the informationServiceURL value for this SubClusterOrHostType.
 void setMainMemory(MainMemoryType mainMemory)
          Sets the mainMemory value for this SubClusterOrHostType.
 void setName(java.lang.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(java.lang.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
 

Field Detail

benchmark

private BenchmarkType benchmark

processor

private ProcessorType processor

mainMemory

private MainMemoryType mainMemory

operatingSystem

private OperatingSystemType operatingSystem

storageDevice

private StorageDeviceType[] storageDevice

architecture

private ArchitectureType architecture

applicationSoftware

private ApplicationSoftwareType applicationSoftware

fileSystem

private FileSystemType[] fileSystem

networkAdapter

private NetworkAdapterType[] networkAdapter

_any

private org.apache.axis.message.MessageElement[] _any

name

private java.lang.String name

uniqueID

private java.lang.String uniqueID

informationServiceURL

private org.apache.axis.types.URI informationServiceURL

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

private static org.apache.axis.description.TypeDesc typeDesc
Constructor Detail

SubClusterOrHostType

public SubClusterOrHostType()

SubClusterOrHostType

public SubClusterOrHostType(org.apache.axis.message.MessageElement[] _any,
                            ApplicationSoftwareType applicationSoftware,
                            ArchitectureType architecture,
                            BenchmarkType benchmark,
                            FileSystemType[] fileSystem,
                            org.apache.axis.types.URI informationServiceURL,
                            MainMemoryType mainMemory,
                            java.lang.String name,
                            NetworkAdapterType[] networkAdapter,
                            OperatingSystemType operatingSystem,
                            ProcessorType processor,
                            StorageDeviceType[] storageDevice,
                            java.lang.String uniqueID)
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 org.apache.axis.message.MessageElement[] get_any()
Gets the _any value for this SubClusterOrHostType.

Specified by:
get_any in interface org.apache.axis.encoding.AnyContentType
Returns:
_any

set_any

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

Specified by:
set_any in interface org.apache.axis.encoding.AnyContentType
Parameters:
_any -

getName

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

Returns:
name

setName

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

Parameters:
name -

getUniqueID

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

Returns:
uniqueID

setUniqueID

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

Parameters:
uniqueID -

getInformationServiceURL

public org.apache.axis.types.URI getInformationServiceURL()
Gets the informationServiceURL value for this SubClusterOrHostType.

Returns:
informationServiceURL

setInformationServiceURL

public void setInformationServiceURL(org.apache.axis.types.URI informationServiceURL)
Sets the informationServiceURL value for this SubClusterOrHostType.

Parameters:
informationServiceURL -

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer