org.alfresco.webservice.types
Class PropertyDefinition

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

public class PropertyDefinition
extends ValueDefinition
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
PropertyDefinition()
           
PropertyDefinition(java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String dataType, boolean mandatory, boolean readOnly, java.lang.String defaultValue)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDefaultValue()
          Gets the defaultValue value for this PropertyDefinition.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
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 isMandatory()
          Gets the mandatory value for this PropertyDefinition.
 boolean isReadOnly()
          Gets the readOnly value for this PropertyDefinition.
 void setDefaultValue(java.lang.String defaultValue)
          Sets the defaultValue value for this PropertyDefinition.
 void setMandatory(boolean mandatory)
          Sets the mandatory value for this PropertyDefinition.
 void setReadOnly(boolean readOnly)
          Sets the readOnly value for this PropertyDefinition.
 
Methods inherited from class org.alfresco.webservice.types.ValueDefinition
getDataType, getDescription, getName, getTitle, setDataType, setDescription, setName, setTitle
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDefinition

public PropertyDefinition()

PropertyDefinition

public PropertyDefinition(java.lang.String name,
                          java.lang.String title,
                          java.lang.String description,
                          java.lang.String dataType,
                          boolean mandatory,
                          boolean readOnly,
                          java.lang.String defaultValue)
Method Detail

isMandatory

public boolean isMandatory()
Gets the mandatory value for this PropertyDefinition.

Returns:
mandatory

setMandatory

public void setMandatory(boolean mandatory)
Sets the mandatory value for this PropertyDefinition.

Parameters:
mandatory -

isReadOnly

public boolean isReadOnly()
Gets the readOnly value for this PropertyDefinition.

Returns:
readOnly

setReadOnly

public void setReadOnly(boolean readOnly)
Sets the readOnly value for this PropertyDefinition.

Parameters:
readOnly -

getDefaultValue

public java.lang.String getDefaultValue()
Gets the defaultValue value for this PropertyDefinition.

Returns:
defaultValue

setDefaultValue

public void setDefaultValue(java.lang.String defaultValue)
Sets the defaultValue value for this PropertyDefinition.

Parameters:
defaultValue -

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class ValueDefinition

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.