fedora.server.types.gen
Class Datastream

java.lang.Object
  extended by fedora.server.types.gen.Datastream
All Implemented Interfaces:
java.io.Serializable

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

content stream of a digital object

See Also:
Serialized Form

Constructor Summary
Datastream()
           
Datastream(DatastreamControlGroup controlGroup, java.lang.String ID, java.lang.String versionID, java.lang.String[] altIDs, java.lang.String label, boolean versionable, java.lang.String MIMEType, java.lang.String formatURI, java.lang.String createDate, long size, java.lang.String state, java.lang.String location, java.lang.String checksumType, java.lang.String checksum)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String[] getAltIDs()
          Gets the altIDs value for this Datastream.
 java.lang.String getChecksum()
          Gets the checksum value for this Datastream.
 java.lang.String getChecksumType()
          Gets the checksumType value for this Datastream.
 DatastreamControlGroup getControlGroup()
          Gets the controlGroup value for this Datastream.
 java.lang.String getCreateDate()
          Gets the createDate value for this Datastream.
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 getFormatURI()
          Gets the formatURI value for this Datastream.
 java.lang.String getID()
          Gets the ID value for this Datastream.
 java.lang.String getLabel()
          Gets the label value for this Datastream.
 java.lang.String getLocation()
          Gets the location value for this Datastream.
 java.lang.String getMIMEType()
          Gets the MIMEType value for this Datastream.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 long getSize()
          Gets the size value for this Datastream.
 java.lang.String getState()
          Gets the state value for this Datastream.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getVersionID()
          Gets the versionID value for this Datastream.
 int hashCode()
           
 boolean isVersionable()
          Gets the versionable value for this Datastream.
 void setAltIDs(java.lang.String[] altIDs)
          Sets the altIDs value for this Datastream.
 void setChecksum(java.lang.String checksum)
          Sets the checksum value for this Datastream.
 void setChecksumType(java.lang.String checksumType)
          Sets the checksumType value for this Datastream.
 void setControlGroup(DatastreamControlGroup controlGroup)
          Sets the controlGroup value for this Datastream.
 void setCreateDate(java.lang.String createDate)
          Sets the createDate value for this Datastream.
 void setFormatURI(java.lang.String formatURI)
          Sets the formatURI value for this Datastream.
 void setID(java.lang.String ID)
          Sets the ID value for this Datastream.
 void setLabel(java.lang.String label)
          Sets the label value for this Datastream.
 void setLocation(java.lang.String location)
          Sets the location value for this Datastream.
 void setMIMEType(java.lang.String MIMEType)
          Sets the MIMEType value for this Datastream.
 void setSize(long size)
          Sets the size value for this Datastream.
 void setState(java.lang.String state)
          Sets the state value for this Datastream.
 void setVersionable(boolean versionable)
          Sets the versionable value for this Datastream.
 void setVersionID(java.lang.String versionID)
          Sets the versionID value for this Datastream.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Datastream

public Datastream()

Datastream

public Datastream(DatastreamControlGroup controlGroup,
                  java.lang.String ID,
                  java.lang.String versionID,
                  java.lang.String[] altIDs,
                  java.lang.String label,
                  boolean versionable,
                  java.lang.String MIMEType,
                  java.lang.String formatURI,
                  java.lang.String createDate,
                  long size,
                  java.lang.String state,
                  java.lang.String location,
                  java.lang.String checksumType,
                  java.lang.String checksum)
Method Detail

getControlGroup

public DatastreamControlGroup getControlGroup()
Gets the controlGroup value for this Datastream.

Returns:
controlGroup

setControlGroup

public void setControlGroup(DatastreamControlGroup controlGroup)
Sets the controlGroup value for this Datastream.

Parameters:
controlGroup -

getID

public java.lang.String getID()
Gets the ID value for this Datastream.

Returns:
ID

setID

public void setID(java.lang.String ID)
Sets the ID value for this Datastream.

Parameters:
ID -

getVersionID

public java.lang.String getVersionID()
Gets the versionID value for this Datastream.

Returns:
versionID

setVersionID

public void setVersionID(java.lang.String versionID)
Sets the versionID value for this Datastream.

Parameters:
versionID -

getAltIDs

public java.lang.String[] getAltIDs()
Gets the altIDs value for this Datastream.

Returns:
altIDs

setAltIDs

public void setAltIDs(java.lang.String[] altIDs)
Sets the altIDs value for this Datastream.

Parameters:
altIDs -

getLabel

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

Returns:
label

setLabel

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

Parameters:
label -

isVersionable

public boolean isVersionable()
Gets the versionable value for this Datastream.

Returns:
versionable

setVersionable

public void setVersionable(boolean versionable)
Sets the versionable value for this Datastream.

Parameters:
versionable -

getMIMEType

public java.lang.String getMIMEType()
Gets the MIMEType value for this Datastream.

Returns:
MIMEType

setMIMEType

public void setMIMEType(java.lang.String MIMEType)
Sets the MIMEType value for this Datastream.

Parameters:
MIMEType -

getFormatURI

public java.lang.String getFormatURI()
Gets the formatURI value for this Datastream.

Returns:
formatURI

setFormatURI

public void setFormatURI(java.lang.String formatURI)
Sets the formatURI value for this Datastream.

Parameters:
formatURI -

getCreateDate

public java.lang.String getCreateDate()
Gets the createDate value for this Datastream.

Returns:
createDate

setCreateDate

public void setCreateDate(java.lang.String createDate)
Sets the createDate value for this Datastream.

Parameters:
createDate -

getSize

public long getSize()
Gets the size value for this Datastream.

Returns:
size

setSize

public void setSize(long size)
Sets the size value for this Datastream.

Parameters:
size -

getState

public java.lang.String getState()
Gets the state value for this Datastream.

Returns:
state

setState

public void setState(java.lang.String state)
Sets the state value for this Datastream.

Parameters:
state -

getLocation

public java.lang.String getLocation()
Gets the location value for this Datastream.

Returns:
location

setLocation

public void setLocation(java.lang.String location)
Sets the location value for this Datastream.

Parameters:
location -

getChecksumType

public java.lang.String getChecksumType()
Gets the checksumType value for this Datastream.

Returns:
checksumType

setChecksumType

public void setChecksumType(java.lang.String checksumType)
Sets the checksumType value for this Datastream.

Parameters:
checksumType -

getChecksum

public java.lang.String getChecksum()
Gets the checksum value for this Datastream.

Returns:
checksum

setChecksum

public void setChecksum(java.lang.String checksum)
Sets the checksum value for this Datastream.

Parameters:
checksum -

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