org.alfresco.webservice.types
Class Version

java.lang.Object
  extended by org.alfresco.webservice.types.Version
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
Version()
           
Version(Reference id, java.util.Calendar created, java.lang.String creator, java.lang.String label, boolean major, NamedValue[] commentaries)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 NamedValue[] getCommentaries()
          Gets the commentaries value for this Version.
 NamedValue getCommentaries(int i)
           
 java.util.Calendar getCreated()
          Gets the created value for this Version.
 java.lang.String getCreator()
          Gets the creator value for this Version.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 Reference getId()
          Gets the id value for this Version.
 java.lang.String getLabel()
          Gets the label value for this Version.
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()
           
 boolean isMajor()
          Gets the major value for this Version.
 void setCommentaries(int i, NamedValue _value)
           
 void setCommentaries(NamedValue[] commentaries)
          Sets the commentaries value for this Version.
 void setCreated(java.util.Calendar created)
          Sets the created value for this Version.
 void setCreator(java.lang.String creator)
          Sets the creator value for this Version.
 void setId(Reference id)
          Sets the id value for this Version.
 void setLabel(java.lang.String label)
          Sets the label value for this Version.
 void setMajor(boolean major)
          Sets the major value for this Version.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Version

public Version()

Version

public Version(Reference id,
               java.util.Calendar created,
               java.lang.String creator,
               java.lang.String label,
               boolean major,
               NamedValue[] commentaries)
Method Detail

getId

public Reference getId()
Gets the id value for this Version.

Returns:
id

setId

public void setId(Reference id)
Sets the id value for this Version.

Parameters:
id -

getCreated

public java.util.Calendar getCreated()
Gets the created value for this Version.

Returns:
created

setCreated

public void setCreated(java.util.Calendar created)
Sets the created value for this Version.

Parameters:
created -

getCreator

public java.lang.String getCreator()
Gets the creator value for this Version.

Returns:
creator

setCreator

public void setCreator(java.lang.String creator)
Sets the creator value for this Version.

Parameters:
creator -

getLabel

public java.lang.String getLabel()
Gets the label value for this Version.

Returns:
label

setLabel

public void setLabel(java.lang.String label)
Sets the label value for this Version.

Parameters:
label -

isMajor

public boolean isMajor()
Gets the major value for this Version.

Returns:
major

setMajor

public void setMajor(boolean major)
Sets the major value for this Version.

Parameters:
major -

getCommentaries

public NamedValue[] getCommentaries()
Gets the commentaries value for this Version.

Returns:
commentaries

setCommentaries

public void setCommentaries(NamedValue[] commentaries)
Sets the commentaries value for this Version.

Parameters:
commentaries -

getCommentaries

public NamedValue getCommentaries(int i)

setCommentaries

public void setCommentaries(int i,
                            NamedValue _value)

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



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.