org.alfresco.webservice.content
Class Content

java.lang.Object
  extended by org.alfresco.webservice.content.Content
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
Content()
           
Content(Reference node, java.lang.String property, long length, ContentFormat format, java.lang.String url)
           
 
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
 ContentFormat getFormat()
          Gets the format value for this Content.
 long getLength()
          Gets the length value for this Content.
 Reference getNode()
          Gets the node value for this Content.
 java.lang.String getProperty()
          Gets the property value for this Content.
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
 java.lang.String getUrl()
          Gets the url value for this Content.
 int hashCode()
           
 void setFormat(ContentFormat format)
          Sets the format value for this Content.
 void setLength(long length)
          Sets the length value for this Content.
 void setNode(Reference node)
          Sets the node value for this Content.
 void setProperty(java.lang.String property)
          Sets the property value for this Content.
 void setUrl(java.lang.String url)
          Sets the url value for this Content.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content()

Content

public Content(Reference node,
               java.lang.String property,
               long length,
               ContentFormat format,
               java.lang.String url)
Method Detail

getNode

public Reference getNode()
Gets the node value for this Content.

Returns:
node

setNode

public void setNode(Reference node)
Sets the node value for this Content.

Parameters:
node -

getProperty

public java.lang.String getProperty()
Gets the property value for this Content.

Returns:
property

setProperty

public void setProperty(java.lang.String property)
Sets the property value for this Content.

Parameters:
property -

getLength

public long getLength()
Gets the length value for this Content.

Returns:
length

setLength

public void setLength(long length)
Sets the length value for this Content.

Parameters:
length -

getFormat

public ContentFormat getFormat()
Gets the format value for this Content.

Returns:
format

setFormat

public void setFormat(ContentFormat format)
Sets the format value for this Content.

Parameters:
format -

getUrl

public java.lang.String getUrl()
Gets the url value for this Content.

Returns:
url

setUrl

public void setUrl(java.lang.String url)
Sets the url value for this Content.

Parameters:
url -

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.