class: ReferenceObject

public abstract class: ReferenceObject
Author: Full Access
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1951 $ $LastChangedDate: 2007-07-09 16:; Complexity: 1
Dates: Created: 16.07.2009 15:13:01; Modified: 16.07.2009 15:13:01;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {2D3FC55F-0C32-4122-8892-26C6A51CD33D}
Root Class of all typed references of ValueObjects.
@created 18-Jan-2007 15:42:40
@revised by MuJ: 27.08.2007
 

Goto: Custom Properties, Fields, Methods

See also: AccountUserRO, AffiliationRO, ContainerRO, ContextRO, FileRO, GrantRO, ItemRO, LockRO, TocItemRO

Appears in: referenceobjects

Connections
 
Custom Properties
 
ReferenceObject Attributes
Attribute Details
private String
  objectId
Notes: Technical objectId-attribute of corresponding ValueOject.
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 String
  title
Notes: An optional title of the reference
 
ReferenceObject Methods
Operation Details
public
equals(
   Object object):boolean
Sequential
Tags: annotations=@Override
Notes: Softens the strict equivalence relation defined by the overwritten {@link java. lang.Object#equals(Object)} method. Two ReferenceObjects are equal, if they are identical, or if they are of the same type and contain the same objectId.
@returns true if the objects are equal according to the defined equivalence relation.
public
getObjectId():String
Sequential
Notes: Delivers the technical objectId-attribute of corresponding ValueObject.
public
getTitle():String
Sequential
public
ReferenceObject():
Sequential
Notes: Creates a new instance.
public
ReferenceObject(
   ReferenceObject other):
Sequential
Notes: Copy constructor.
@author Thomas Diebaecker
public
ReferenceObject(
   String objectId):
Sequential
Notes: Creates a new instance with the given ID.
public
setObjectId(
   String objectId):void
Sequential
Notes: Sets the technical objectId-attribute of corresponding ValueObject.
public
setTitle(
   String title):void
Sequential
public
toString():String
Sequential
Tags: annotations=@Override
Notes: Delivers the name of the class and the objectId, separated by a colon.