class: ContainerRO

public class: ContainerRO
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 16.07.2009 15:12:58; Modified: 16.07.2009 15:12:58;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {6E74E055-58DC-412a-A0DC-C30061A1EEC1}
The class for container references.
@revised by FrW: 10.06.2008
 

Goto: Custom Properties, Fields, Methods

Extends: ReferenceObject

See also: State, ReferenceObject, ContainerVO, ContainerVO, ContainerVO

Appears in: referenceobjects

Connections
 
Custom Properties
 
ContainerRO Attributes
Attribute Details
private String
  lastMessage
Notes: The message of the last action event of this container.
private Date
  modificationDate
Notes: The date of the last modification of the referenced container.
private String
  pid
Notes: The PID of the container.
private static const long
  serialVersionUID
Initial: 1L
Notes: Fixed serialVersionUID to prevent java.io.InvalidClassExceptions like 'de.mpg.escidoc.services.common.valueobjects.ItemVO; local class incompatible: stream classdesc serialVersionUID = 8587635524303981401, local class serialVersionUID = -2285753348501257286' that occur after JiBX enhancement of VOs. Without the fixed serialVersionUID, the VOs have to be compiled twice for testing (once for the Application Server, once for the local test).
private ContainerVO.State
  state
Notes: The state of the container.
private int
  versionNumber
Notes: The version number of the referenced container. This attribute is optional.
 
ContainerRO Methods
Operation Details
public
clone():Object
Sequential
Tags: annotations=@Override
Notes: {@inheritDoc}
public
ContainerRO():
Sequential
Notes: Creates a new instance.
public
ContainerRO(
   String objectId):
Sequential
Notes: Creates a new instance with the given objectId.
public
ContainerRO(
   ContainerRO other):
Sequential
Notes: Copy constructor.
public
equals(
   Object object):boolean
Sequential
Tags: annotations=@Override
public
getLastMessage():String
Sequential
public
getModificationDate():Date
Sequential
public
getObjectIdAndVersion():String
Sequential
Notes: Get the full identification of a container version.
@return A String in the form objid:versionNumber e.g. "escidoc:345:2"
public
getPid():String
Sequential
public
getState():ContainerVO.State
Sequential
Notes: Delivers the state of the container.
public
getVersionNumber():int
Sequential
Notes: The version number of the referenced container. This attribute is optional.
public
setLastMessage(
   String lastMessage):void
Sequential
public
setModificationDate(
   Date modificationDate):void
Sequential
public
setObjectIdAndVersion(
   String idString):void
Sequential
Notes: Set the full identification of a container version.
public
setPid(
   String pid):void
Sequential
public
setState(
   ContainerVO.State newVal):void
Sequential
Notes: Sets the state of the container.
public
setVersionNumber(
   int newVal):void
Sequential
Notes: The version number of the referenced container. This attribute is optional.