class: CreatorVO

public class: CreatorVO
Author:
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1951 $ $LastChangedDate: 2009-05-07 10:; Complexity: 1
Dates: Created: 16.07.2009 15:13:38; Modified: 16.07.2009 15:13:38;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {E1A2BB67-7378-4e87-A691-4D5D8A32CC31}
@revised by MuJ: 29.08.2007
 

Goto: Custom Properties, Fields, Methods

Extends: ValueObject

See also: OrganizationVO, PersonVO, CreatorRole, CreatorType, ValueObject

Appears in: metadata

Connections
 
Custom Properties
 
CreatorVO Attributes
Attribute Details
private OrganizationVO
  organization
private PersonVO
  person
private CreatorRole
  role
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 CreatorType
  type
 
CreatorVO Methods
Operation Details
public
clone():Object
Sequential
Tags: annotations=@Override
Notes: {@inheritDoc}
public
CreatorVO():
Sequential
Notes: Creates a new instance.
public
CreatorVO(
   OrganizationVO organization,
   CreatorRole role):
Sequential
Notes: Creates a new instance with the given organization and role.
public
CreatorVO(
   PersonVO person,
   CreatorRole role):
Sequential
Notes: Creates a new instance with the given person and role.
public
equals(
   Object obj):boolean
Sequential
Tags: annotations=@Override
Notes: {@inheritDoc}
public
getOrganization():OrganizationVO
Sequential
Notes: Delivers the organization (or null if the creator is not an organization).
public
getPerson():PersonVO
Sequential
Notes: Delivers the person (or null if the creator is not an person).
public
getRole():CreatorRole
Sequential
Notes: Delivers the creators' role.
public
getRoleString():String
Sequential
Notes: Delivers the value of the role Enum as a String. If the enum is not set, an empty String is returned.
@return the value of the role Enum
public
getType():CreatorType
Sequential
Notes: Delivers the creators' type.
public
getTypeString():String
Sequential
Notes: Delivers 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
setOrganization(
   OrganizationVO newVal):void
Sequential
Notes: Set the creator to the given organization. Because the creator cannot be an organization and a person at the same time, the person is set to null.
public
setPerson(
   PersonVO newVal):void
Sequential
Notes: Set the creator to the given person. Because the creator cannot be a person and an organization at the same time, the organization is set to null.
public
setRole(
   CreatorRole newVal):void
Sequential
Notes: Set the creators' role.
public
setRoleString(
   String newValString):void
Sequential
Notes: Sets the value of the role Enum by a String.
public
setType(
   CreatorType newVal):void
Sequential
public
setTypeString(
   String newValString):void
Sequential
Notes: Sets the value of the type Enum by a String.