class: IdentifierVO

public class: IdentifierVO
Author:
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1976 $ $LastChangedDate: 2009-05-12 11:; Complexity: 1
Dates: Created: 16.07.2009 15:13:40; Modified: 16.07.2009 15:13:40;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {AD614A94-D2EE-4f2d-B512-DC22E1F1D9A4}
Identifiers can be internal or external.
@revised by MuJ: 29.08.2007
 

Goto: Custom Properties, Fields, Methods

Extends: ValueObject

See also: IdType, ValueObject, PersonVO

Appears in: metadata

Connections
 
Custom Properties
 
IdentifierVO Attributes
Attribute Details
private String
  id
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 IdType
  type
 
IdentifierVO Methods
Operation Details
public
clone():Object
Sequential
Tags: annotations=@Override
Notes: (non-Javadoc)
@see java.lang.Object#clone()
public
equals(
   Object obj):boolean
Sequential
Tags: annotations=@Override
Notes: (non-Javadoc)
@see java.lang.Object#equals(java.lang.Object)
public
getId():String
Sequential
Notes: Delivers the identifier.
public
getType():IdType
Sequential
Notes: Delivers the type of the identifier.
public
getTypeString():String
Sequential
Notes: Returns the value of the type Enum as a String. If the Enum is not set, an empty String is returned.
@return the value of the type Enum
public
IdentifierVO():
Sequential
Notes: Creates a new instance.
public
IdentifierVO(
   IdType type,
   String id):
Sequential
Notes: Creates a new instance with the given type and the given identifier.
public
setId(
   String newVal):void
Sequential
Notes: Sets the identifier.
public
setType(
   IdType newVal):void
Sequential
Notes: Sets the type of the identifier.
public
setTypeString(
   String newValString):void
Sequential
Notes: Sets the value of the type Enum by a String.