class: ItemRO

public class: ItemRO
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 16.07.2009 15:13:00; Modified: 16.07.2009 15:13:00;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {A64BDD4E-E5B2-486f-8D76-6828CA52E736}
The class for item references.
@revised by MuJ: 27.08.2007
 

Goto: Custom Properties, Fields, Methods

Extends: ReferenceObject

See also: AccountUserRO, State, ReferenceObject, PublicationAdminDescriptorVO, ItemRelationVO, ItemVO, ItemVO, ItemVO, RelationVO, RelationVO, VersionHistoryEntryVO

Appears in: referenceobjects

Connections
 
Custom Properties
 
ItemRO Attributes
Attribute Details
private String
  lastMessage
Notes: The message of the last action event of this item.
private Date
  modificationDate
Notes: The date of the last modification of the referenced item.
private AccountUserRO
  modifiedByRO
Notes: The eSciDoc ID of the user that modified that version.
private String
  pid
Notes: The version PID of the item.
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).
@author Johannes Mueller
private ItemVO.State
  state
Notes: The state of the item.
private int
  versionNumber
Notes: The version number of the referenced item. This attribute is optional.
 
ItemRO Methods
Operation Details
public
clone():Object
Sequential
Tags: annotations=@Override
throws=CloneNotSupportedException
Notes: {@inheritDoc}
@author Thomas Diebaecker
public
equals(
   Object object):boolean
Sequential
Tags: annotations=@Override
public
getLastMessage():String
Sequential
public
getLastMessageForXml():String
Sequential
public
getModificationDate():Date
Sequential
public
getModificationDateForXml():Date
Sequential
public
getModifiedByForXml():AccountUserRO
Sequential
public
getModifiedByRO():AccountUserRO
Sequential
public
getObjectIdAndVersion():String
Sequential
Notes: Get the full identification of an item version.
@return A String in the form objid:versionNumber e.g. "escidoc:345:2"
public
getPid():String
Sequential
public
getState():ItemVO.State
Sequential
Notes: Delivers the state of the item.
@return The current State.
public
getStateForXml():State
Sequential
public
getVersionNumber():int
Sequential
Notes: The version number of the referenced item. This attribute is optional.
public
getVersionNumberForXml():int
Sequential
public
ItemRO():
Sequential
Notes: Creates a new instance.
public
ItemRO(
   String objectId):
Sequential
Notes: Creates a new instance with the given objectId.
public
ItemRO(
   ItemRO other):
Sequential
Notes: Copy constructor.
@author Thomas Diebaecker
public
setLastMessage(
   String lastMessage):void
Sequential
public
setModificationDate(
   Date modificationDate):void
Sequential
public
setModifiedByRO(
   AccountUserRO modifiedByRO):void
Sequential
public
setObjectId(
   String objectId):void
Sequential
Tags: annotations=@Override
public
setObjectIdAndVersion(
   String idString):void
Sequential
Notes: Set the full identification of an item version.
public
setPid(
   String pid):void
Sequential
public
setState(
   ItemVO.State newVal):void
Sequential
Notes: Sets the state of the item.
public
setVersionNumber(
   int newVal):void
Sequential
Notes: The version number of the referenced item. This attribute is optional.