org.globus.mds.glue
Class StateType

java.lang.Object
  extended byorg.globus.mds.glue.StateType
All Implemented Interfaces:
AnyContentType, Serializable

public class StateType
extends Object
implements Serializable, AnyContentType

See Also:
Serialized Form

Field Summary
private  Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  MessageElement[] _any
           
private  int estimatedResponseTime
           
private  int freeCPUs
           
private  int runningJobs
           
private  String status
           
private  int totalJobs
           
private static TypeDesc typeDesc
           
private  int waitingJobs
           
private  int worstResponseTime
           
 
Constructor Summary
StateType()
           
StateType(MessageElement[] _any, String status, int totalJobs, int runningJobs, int waitingJobs, int worstResponseTime, int estimatedResponseTime, int freeCPUs)
           
 
Method Summary
 boolean equals(Object obj)
           
 MessageElement[] get_any()
          Gets the _any value for this StateType.
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 int getEstimatedResponseTime()
          Gets the estimatedResponseTime value for this StateType.
 int getFreeCPUs()
          Gets the freeCPUs value for this StateType.
 int getRunningJobs()
          Gets the runningJobs value for this StateType.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getStatus()
          Gets the status value for this StateType.
 int getTotalJobs()
          Gets the totalJobs value for this StateType.
static TypeDesc getTypeDesc()
          Return type metadata object
 int getWaitingJobs()
          Gets the waitingJobs value for this StateType.
 int getWorstResponseTime()
          Gets the worstResponseTime value for this StateType.
 int hashCode()
           
 void set_any(MessageElement[] _any)
          Sets the _any value for this StateType.
 void setEstimatedResponseTime(int estimatedResponseTime)
          Sets the estimatedResponseTime value for this StateType.
 void setFreeCPUs(int freeCPUs)
          Sets the freeCPUs value for this StateType.
 void setRunningJobs(int runningJobs)
          Sets the runningJobs value for this StateType.
 void setStatus(String status)
          Sets the status value for this StateType.
 void setTotalJobs(int totalJobs)
          Sets the totalJobs value for this StateType.
 void setWaitingJobs(int waitingJobs)
          Sets the waitingJobs value for this StateType.
 void setWorstResponseTime(int worstResponseTime)
          Sets the worstResponseTime value for this StateType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_any

private MessageElement[] _any

status

private String status

totalJobs

private int totalJobs

runningJobs

private int runningJobs

waitingJobs

private int waitingJobs

worstResponseTime

private int worstResponseTime

estimatedResponseTime

private int estimatedResponseTime

freeCPUs

private int freeCPUs

__equalsCalc

private Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

private static TypeDesc typeDesc
Constructor Detail

StateType

public StateType()

StateType

public StateType(MessageElement[] _any,
                 String status,
                 int totalJobs,
                 int runningJobs,
                 int waitingJobs,
                 int worstResponseTime,
                 int estimatedResponseTime,
                 int freeCPUs)
Method Detail

get_any

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

Specified by:
get_any in interface AnyContentType
Returns:
_any

set_any

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

Specified by:
set_any in interface AnyContentType
Parameters:
_any -

getStatus

public String getStatus()
Gets the status value for this StateType.

Returns:
status

setStatus

public void setStatus(String status)
Sets the status value for this StateType.

Parameters:
status -

getTotalJobs

public int getTotalJobs()
Gets the totalJobs value for this StateType.

Returns:
totalJobs

setTotalJobs

public void setTotalJobs(int totalJobs)
Sets the totalJobs value for this StateType.

Parameters:
totalJobs -

getRunningJobs

public int getRunningJobs()
Gets the runningJobs value for this StateType.

Returns:
runningJobs

setRunningJobs

public void setRunningJobs(int runningJobs)
Sets the runningJobs value for this StateType.

Parameters:
runningJobs -

getWaitingJobs

public int getWaitingJobs()
Gets the waitingJobs value for this StateType.

Returns:
waitingJobs

setWaitingJobs

public void setWaitingJobs(int waitingJobs)
Sets the waitingJobs value for this StateType.

Parameters:
waitingJobs -

getWorstResponseTime

public int getWorstResponseTime()
Gets the worstResponseTime value for this StateType.

Returns:
worstResponseTime

setWorstResponseTime

public void setWorstResponseTime(int worstResponseTime)
Sets the worstResponseTime value for this StateType.

Parameters:
worstResponseTime -

getEstimatedResponseTime

public int getEstimatedResponseTime()
Gets the estimatedResponseTime value for this StateType.

Returns:
estimatedResponseTime

setEstimatedResponseTime

public void setEstimatedResponseTime(int estimatedResponseTime)
Sets the estimatedResponseTime value for this StateType.

Parameters:
estimatedResponseTime -

getFreeCPUs

public int getFreeCPUs()
Gets the freeCPUs value for this StateType.

Returns:
freeCPUs

setFreeCPUs

public void setFreeCPUs(int freeCPUs)
Sets the freeCPUs value for this StateType.

Parameters:
freeCPUs -

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