com.collabnet.helm.ws
Class SimpleResourceType

java.lang.Object
  extended by com.collabnet.helm.ws.SimpleResourceType
All Implemented Interfaces:
java.io.Serializable

public class SimpleResourceType
extends java.lang.Object
implements java.io.Serializable

Defines the resource patterns type. It contains the pattern and a description.

See Also:
Serialized Form

Constructor Summary
SimpleResourceType()
           
SimpleResourceType(java.lang.String pattern, java.lang.String role)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getPattern()
          Gets the pattern value for this SimpleResourceType.
 java.lang.String getRole()
          Gets the role value for this SimpleResourceType.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setPattern(java.lang.String pattern)
          Sets the pattern value for this SimpleResourceType.
 void setRole(java.lang.String role)
          Sets the role value for this SimpleResourceType.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleResourceType

public SimpleResourceType()

SimpleResourceType

public SimpleResourceType(java.lang.String pattern,
                          java.lang.String role)
Method Detail

getPattern

public java.lang.String getPattern()
Gets the pattern value for this SimpleResourceType.

Returns:
pattern * The pattern uses the regular expression to define the application. It follows the same specifications used on the HELM framework.

setPattern

public void setPattern(java.lang.String pattern)
Sets the pattern value for this SimpleResourceType.

Parameters:
pattern - * The pattern uses the regular expression to define the application. It follows the same specifications used on the HELM framework.

getRole

public java.lang.String getRole()
Gets the role value for this SimpleResourceType.

Returns:
role * This is the name of the role that this resource is applied.

setRole

public void setRole(java.lang.String role)
Sets the role value for this SimpleResourceType.

Parameters:
role - * This is the name of the role that this resource is applied.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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