com.collabnet.helm.ws.project
Class VersionControlType

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

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

Defines the type for the version control system. It does only have the name and the code used on HELM, which It can only be either 'CVS' or 'SVN', and its code, and it will have the full name of the version control system.

See Also:
Serialized Form

Constructor Summary
VersionControlType()
           
VersionControlType(java.lang.String name, java.lang.String code)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCode()
          Gets the code value for this VersionControlType.
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 getName()
          Gets the name value for this VersionControlType.
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 setCode(java.lang.String code)
          Sets the code value for this VersionControlType.
 void setName(java.lang.String name)
          Sets the name value for this VersionControlType.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionControlType

public VersionControlType()

VersionControlType

public VersionControlType(java.lang.String name,
                          java.lang.String code)
Method Detail

getName

public java.lang.String getName()
Gets the name value for this VersionControlType.

Returns:
name

setName

public void setName(java.lang.String name)
Sets the name value for this VersionControlType.

Parameters:
name -

getCode

public java.lang.String getCode()
Gets the code value for this VersionControlType.

Returns:
code

setCode

public void setCode(java.lang.String code)
Sets the code value for this VersionControlType.

Parameters:
code -

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