org.globus.mds.usefulrp.types
Class ResourcePropertyElementProducerConfig

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

public class ResourcePropertyElementProducerConfig
extends Object
implements Serializable

A configuration element describing a ResourcePropertyElementProducer configuration entry. This entry contains the necessary information to run a class implementing the ResourcePropertyElementProducer interface.

See Also:
Serialized Form

Constructor Summary
ResourcePropertyElementProducerConfig()
           
ResourcePropertyElementProducerConfig(String className, String[] arguments, String transformClass, String[] transformArguments, Integer period)
           
 
Method Summary
 boolean equals(Object obj)
           
 String[] getArguments()
          Gets the arguments value for this ResourcePropertyElementProducerConfig.
 String getArguments(int i)
           
 String getClassName()
          Gets the className value for this ResourcePropertyElementProducerConfig.
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Integer getPeriod()
          Gets the period value for this ResourcePropertyElementProducerConfig.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String[] getTransformArguments()
          Gets the transformArguments value for this ResourcePropertyElementProducerConfig.
 String getTransformArguments(int i)
           
 String getTransformClass()
          Gets the transformClass value for this ResourcePropertyElementProducerConfig.
static TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setArguments(int i, String _value)
           
 void setArguments(String[] arguments)
          Sets the arguments value for this ResourcePropertyElementProducerConfig.
 void setClassName(String className)
          Sets the className value for this ResourcePropertyElementProducerConfig.
 void setPeriod(Integer period)
          Sets the period value for this ResourcePropertyElementProducerConfig.
 void setTransformArguments(int i, String _value)
           
 void setTransformArguments(String[] transformArguments)
          Sets the transformArguments value for this ResourcePropertyElementProducerConfig.
 void setTransformClass(String transformClass)
          Sets the transformClass value for this ResourcePropertyElementProducerConfig.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcePropertyElementProducerConfig

public ResourcePropertyElementProducerConfig()

ResourcePropertyElementProducerConfig

public ResourcePropertyElementProducerConfig(String className,
                                             String[] arguments,
                                             String transformClass,
                                             String[] transformArguments,
                                             Integer period)
Method Detail

getClassName

public String getClassName()
Gets the className value for this ResourcePropertyElementProducerConfig.

Returns:
className * A string which represents the fully qualified Java class name of the ResourcePropertyElementProducer to run.

setClassName

public void setClassName(String className)
Sets the className value for this ResourcePropertyElementProducerConfig.

Parameters:
className - * A string which represents the fully qualified Java class name of the ResourcePropertyElementProducer to run.

getArguments

public String[] getArguments()
Gets the arguments value for this ResourcePropertyElementProducerConfig.

Returns:
arguments * A string array which represents an optional argument vector that may be passed to the ResourcePropertyElementProducer getElement method.

setArguments

public void setArguments(String[] arguments)
Sets the arguments value for this ResourcePropertyElementProducerConfig.

Parameters:
arguments - * A string array which represents an optional argument vector that may be passed to the ResourcePropertyElementProducer getElement method.

getArguments

public String getArguments(int i)

setArguments

public void setArguments(int i,
                         String _value)

getTransformClass

public String getTransformClass()
Gets the transformClass value for this ResourcePropertyElementProducerConfig.

Returns:
transformClass * An optional string which represents the fully qualified Java class name of a class implementing the ResourcePropertyElementTransform interface. The ResourcePropertyElementTransform.transformElement method of this class will be called as a post-processing step of the ResourcePropertyElementProducer.getElement method.

setTransformClass

public void setTransformClass(String transformClass)
Sets the transformClass value for this ResourcePropertyElementProducerConfig.

Parameters:
transformClass - * An optional string which represents the fully qualified Java class name of a class implementing the ResourcePropertyElementTransform interface. The ResourcePropertyElementTransform.transformElement method of this class will be called as a post-processing step of the ResourcePropertyElementProducer.getElement method.

getTransformArguments

public String[] getTransformArguments()
Gets the transformArguments value for this ResourcePropertyElementProducerConfig.

Returns:
transformArguments * A string array which represents an optional argument vector that may be passed to the ResourcePropertyElementTransform transformElement method.

setTransformArguments

public void setTransformArguments(String[] transformArguments)
Sets the transformArguments value for this ResourcePropertyElementProducerConfig.

Parameters:
transformArguments - * A string array which represents an optional argument vector that may be passed to the ResourcePropertyElementTransform transformElement method.

getTransformArguments

public String getTransformArguments(int i)

setTransformArguments

public void setTransformArguments(int i,
                                  String _value)

getPeriod

public Integer getPeriod()
Gets the period value for this ResourcePropertyElementProducerConfig.

Returns:
period * An optional integer value representing the frequency in seconds that the provider is executed. If this value is not specified or equals 0, the provider should executed at most once asynchronously.

setPeriod

public void setPeriod(Integer period)
Sets the period value for this ResourcePropertyElementProducerConfig.

Parameters:
period - * An optional integer value representing the frequency in seconds that the provider is executed. If this value is not specified or equals 0, the provider should executed at most once asynchronously.

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.