class: ItemVO

public class: ItemVO
Author:
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1951 $ $LastChangedDate: 2009-05-07 10:; Complexity: 1
Dates: Created: 16.07.2009 15:14:09; Modified: 16.07.2009 15:14:09;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {745EEA75-6159-41a5-9939-CC290FF416A7}
Item object which consists of descriptive metadata and may have one or more files associated.
@revised by MuJ: 28.08.2007
 

Goto: Custom Properties, Fields, Methods

Extends: ValueObject

Implements: Searchable

See also: FaceItemVO, PubItemVO, ItemResultVO, ContextRO, ItemRO, ItemRO, LockStatus, AccountUserRO, State, ItemRO, ValueObject, Searchable, TestSearchBase

Appears in: valueobjects

Connections
 
Custom Properties
 
ItemVO Attributes
Attribute Details
private String
  contentModel
private ContextRO
  contextRO
private java.util.Date
  creationDate
private java.util.ArrayList
  files
Initial: new java.util.ArrayList()
private ItemRO
  latestRelease
Initial: new ItemRO()
Notes: Version information of the latest release of this item.
private ItemRO
  latestVersion
Initial: new ItemRO()
Notes: Version information of the latest version of this item.
private java.util.ArrayList
  localTags
Initial: new java.util.ArrayList()
private ItemVO.LockStatus
  lockStatus
private java.util.ArrayList
  metadataSets
Initial: new java.util.ArrayList()
private AccountUserRO
  owner
private String
  pid
Notes: The persistent identifier of the released item.
private ItemVO.State
  publicStatus
private String
  publicStatusComment
private java.util.ArrayList
  relations
Initial: new java.util.ArrayList()
Notes: This list of relations is a quickfix and cannot be found in the model yet. The reason for this is that the relations are delivered with every item retrieval from the framework, and they get deleted when they are note provided on updates. TODO MuJ or BrP: model and implement correctly, transforming too. Remove quickfix-VO ("ItemRelationVO").
private ItemRO
  version
Initial: new ItemRO()
Notes: Version information of this item version.
 
ItemVO Methods
Operation Details
package
alreadyExistsInFramework():boolean
Sequential
Notes: Helper method for JiBX transformations. This method helps JiBX to determine if this is a 'create' or an 'update' transformation.
@return true, if this item already has a version object.
public
clone():Object
Sequential
Tags: annotations=@Override
Notes: {@inheritDoc}
@author Thomas Diebaecker
public
getContentModel():String
Sequential
public
getContext():ContextRO
Sequential
Notes: Delivers the reference of the collection the item is contained in.
public
getCreationDate():java.util.Date
Sequential
Notes: Delivers the date when the item was created.
public
getFiles():java.util.List
Sequential
Notes: Delivers the list of files in this item.
public
getLatestRelease():ItemRO
Sequential
public
getLatestVersion():ItemRO
Sequential
public
getLocalTags():java.util.List
Sequential
public
getLockStatus():LockStatus
Sequential
Notes: Delivers the lock status of the item.
public
getMetadataSets():List
Sequential
Notes: Delivers the metadata sets of the item.
public
getModificationDate():Date
Sequential
Notes: Delivers the comment which has to be given when an item is withdrawn.
@return The modification date as {@link Date}.
public
getOwner():AccountUserRO
Sequential
Notes: Delivers the owner of the item.
public
getPid():String
Sequential
Notes: Delivers the persistent identifier of the item.
public
getPublicStatus():State
Sequential
public
getPublicStatusComment():String
Sequential
public
getRelations():java.util.List
Sequential
Notes: Delivers the list of relations in this item.
public
getVersion():ItemRO
Sequential
Notes: Delivers the reference of the item.
public
getWithdrawalComment():String
Sequential
Notes: Delivers the comment which has to be given when an item is withdrawn.
package
hasFiles():boolean
Sequential
Notes: Helper method for JiBX transformations. This method helps JiBX to determine if a "components" XML structure has to be created during marshalling.
@return true, if the item contains one or more files.
package
hasPID():boolean
Sequential
Notes: Helper method for JiBX transformations.
package
hasRelations():boolean
Sequential
Notes: Helper method for JiBX transformations. This method helps JiBX to determine if a "relations" XML structure has to be created during marshalling.
public
ItemVO():
Sequential
Notes: Public constructor.
@author Thomas Diebaecker
public
ItemVO(
   ItemVO other):
Sequential
Notes: Copy constructor.
@author Thomas Diebaecker
public
setContentModel(
   String contentModel):void
Sequential
public
setContext(
   ContextRO newVal):void
Sequential
Notes: Sets the reference of the collection the item is contained in.
public
setCreationDate(
   java.util.Date newVal):void
Sequential
Notes: Sets the date when the item was created.
public
setLatestRelease(
   ItemRO latestRelease):void
Sequential
public
setLatestVersion(
   ItemRO latestVersion):void
Sequential
public
setLockStatus(
   LockStatus newVal):void
Sequential
Notes: Sets the lock status of the item.
public
setOwner(
   AccountUserRO newVal):void
Sequential
Notes: Sets the owner of the item.
public
setPid(
   String newVal):void
Sequential
Notes: Sets the persistent identifier of the item.
public
setPublicStatus(
   State publicStatus):void
Sequential
public
setPublicStatusComment(
   String publicStatusComment):void
Sequential
public
setVersion(
   ItemRO newVal):void
Sequential
Notes: Sets the reference of the item.