org.globus.mds.usefulrp.types
Class ServiceMetaData

java.lang.Object
  extended byorg.globus.mds.usefulrp.types.ServiceMetaData
All Implemented Interfaces:
Serializable

public class ServiceMetaData
extends Object
implements Serializable

Metadata for the current service. Currently only the service start time and the service version number.

See Also:
Serialized Form

Constructor Summary
ServiceMetaData()
           
ServiceMetaData(Calendar startTime, String version, String serviceTypeName)
           
 
Method Summary
 boolean equals(Object obj)
           
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getServiceTypeName()
          Gets the serviceTypeName value for this ServiceMetaData.
 Calendar getStartTime()
          Gets the startTime value for this ServiceMetaData.
static TypeDesc getTypeDesc()
          Return type metadata object
 String getVersion()
          Gets the version value for this ServiceMetaData.
 int hashCode()
           
 void setServiceTypeName(String serviceTypeName)
          Sets the serviceTypeName value for this ServiceMetaData.
 void setStartTime(Calendar startTime)
          Sets the startTime value for this ServiceMetaData.
 void setVersion(String version)
          Sets the version value for this ServiceMetaData.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMetaData

public ServiceMetaData()

ServiceMetaData

public ServiceMetaData(Calendar startTime,
                       String version,
                       String serviceTypeName)
Method Detail

getStartTime

public Calendar getStartTime()
Gets the startTime value for this ServiceMetaData.

Returns:
startTime * The time at which the service was activated (for example, when the hosting container started)

setStartTime

public void setStartTime(Calendar startTime)
Sets the startTime value for this ServiceMetaData.

Parameters:
startTime - * The time at which the service was activated (for example, when the hosting container started)

getVersion

public String getVersion()
Gets the version value for this ServiceMetaData.

Returns:
version * A string representing a version number of the service.

setVersion

public void setVersion(String version)
Sets the version value for this ServiceMetaData.

Parameters:
version - * A string representing a version number of the service.

getServiceTypeName

public String getServiceTypeName()
Gets the serviceTypeName value for this ServiceMetaData.

Returns:
serviceTypeName * An optional string representing the name or type of the service.

setServiceTypeName

public void setServiceTypeName(String serviceTypeName)
Sets the serviceTypeName value for this ServiceMetaData.

Parameters:
serviceTypeName - * An optional string representing the name or type of the service.

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.