org.alfresco.webservice.content
Class ContentSegment

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

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

See Also:
Serialized Form

Constructor Summary
ContentSegment()
           
ContentSegment(long offset, long length)
           
 
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
 long getLength()
          Gets the length value for this ContentSegment.
 long getOffset()
          Gets the offset value for this ContentSegment.
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 setLength(long length)
          Sets the length value for this ContentSegment.
 void setOffset(long offset)
          Sets the offset value for this ContentSegment.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentSegment

public ContentSegment()

ContentSegment

public ContentSegment(long offset,
                      long length)
Method Detail

getOffset

public long getOffset()
Gets the offset value for this ContentSegment.

Returns:
offset

setOffset

public void setOffset(long offset)
Sets the offset value for this ContentSegment.

Parameters:
offset -

getLength

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

Returns:
length

setLength

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

Parameters:
length -

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.