org.globus.mds.glue
Class PolicyType

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

public class PolicyType
extends Object
implements Serializable, AnyContentType

See Also:
Serialized Form

Constructor Summary
PolicyType()
           
PolicyType(MessageElement[] _any, int maxWallClockTime, int maxCPUTime, int maxTotalJobs, int maxRunningJobs, int priority)
           
 
Method Summary
 boolean equals(Object obj)
           
 MessageElement[] get_any()
          Gets the _any value for this PolicyType.
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 int getMaxCPUTime()
          Gets the maxCPUTime value for this PolicyType.
 int getMaxRunningJobs()
          Gets the maxRunningJobs value for this PolicyType.
 int getMaxTotalJobs()
          Gets the maxTotalJobs value for this PolicyType.
 int getMaxWallClockTime()
          Gets the maxWallClockTime value for this PolicyType.
 int getPriority()
          Gets the priority value for this PolicyType.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void set_any(MessageElement[] _any)
          Sets the _any value for this PolicyType.
 void setMaxCPUTime(int maxCPUTime)
          Sets the maxCPUTime value for this PolicyType.
 void setMaxRunningJobs(int maxRunningJobs)
          Sets the maxRunningJobs value for this PolicyType.
 void setMaxTotalJobs(int maxTotalJobs)
          Sets the maxTotalJobs value for this PolicyType.
 void setMaxWallClockTime(int maxWallClockTime)
          Sets the maxWallClockTime value for this PolicyType.
 void setPriority(int priority)
          Sets the priority value for this PolicyType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyType

public PolicyType()

PolicyType

public PolicyType(MessageElement[] _any,
                  int maxWallClockTime,
                  int maxCPUTime,
                  int maxTotalJobs,
                  int maxRunningJobs,
                  int priority)
Method Detail

get_any

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

Specified by:
get_any in interface AnyContentType
Returns:
_any

set_any

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

Specified by:
set_any in interface AnyContentType
Parameters:
_any -

getMaxWallClockTime

public int getMaxWallClockTime()
Gets the maxWallClockTime value for this PolicyType.

Returns:
maxWallClockTime

setMaxWallClockTime

public void setMaxWallClockTime(int maxWallClockTime)
Sets the maxWallClockTime value for this PolicyType.

Parameters:
maxWallClockTime -

getMaxCPUTime

public int getMaxCPUTime()
Gets the maxCPUTime value for this PolicyType.

Returns:
maxCPUTime

setMaxCPUTime

public void setMaxCPUTime(int maxCPUTime)
Sets the maxCPUTime value for this PolicyType.

Parameters:
maxCPUTime -

getMaxTotalJobs

public int getMaxTotalJobs()
Gets the maxTotalJobs value for this PolicyType.

Returns:
maxTotalJobs

setMaxTotalJobs

public void setMaxTotalJobs(int maxTotalJobs)
Sets the maxTotalJobs value for this PolicyType.

Parameters:
maxTotalJobs -

getMaxRunningJobs

public int getMaxRunningJobs()
Gets the maxRunningJobs value for this PolicyType.

Returns:
maxRunningJobs

setMaxRunningJobs

public void setMaxRunningJobs(int maxRunningJobs)
Sets the maxRunningJobs value for this PolicyType.

Parameters:
maxRunningJobs -

getPriority

public int getPriority()
Gets the priority value for this PolicyType.

Returns:
priority

setPriority

public void setPriority(int priority)
Sets the priority value for this PolicyType.

Parameters:
priority -

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.