class: AffiliationVO

public class: AffiliationVO
Author:
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 2125 $ $LastChangedDate: 2009-06-23 09:; Complexity: 1
Dates: Created: 16.07.2009 15:13:56; Modified: 16.07.2009 15:13:56;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {2928011A-0429-48d4-849B-B82FA61C864D}
A MPG unit or lower level of organizational unit within an MPG unit; includes also external affiliations. (Dependent on internal organizational structure: Institute, Department, project groups, working groups, temporary working groups, etc.)
@revised by MuJ: 28.08.2007
 

Goto: Custom Properties, Fields, Methods

Extends: ValueObject

Implements: Searchable

See also: AffiliationResultVO, AccountUserRO, AccountUserRO, AffiliationRO, ValueObject, Searchable

Appears in: valueobjects

Connections
 
Custom Properties
 
AffiliationVO Attributes
Attribute Details
private java.util.ArrayList
  childAffiliations
Initial: new java.util.ArrayList()
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 java.util.Date
  creationDate
private AccountUserRO
  creator
private boolean
  hasChildren
private java.util.Date
  lastModificationDate
private ArrayList
  metadataSets
Initial: new ArrayList()
private AccountUserRO
  modifiedBy
private ArrayList
  parentAffiliations
Initial: new ArrayList()
private ArrayList
  predecessorAffiliations
Initial: new ArrayList()
private String
  publicStatus
protected AffiliationRO
  reference
 
AffiliationVO Methods
Operation Details
public
AffiliationVO():
Sequential
Notes: Default constructor.
public
AffiliationVO(
   AffiliationVO affiliation):
Sequential
Notes: Clone constructor.
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.
protected
clone():Object
Sequential
Tags: annotations=@Override
throws=CloneNotSupportedException
public
getChildAffiliations():java.util.List
Sequential
Notes: Delivers the list of the affiliations' child affiliations.
public
getCreationDate():java.util.Date
Sequential
Notes: Delivers the creation date of the affiliation, i. e. a timestamp from the system when the organizational unit is created.
public
getCreator():AccountUserRO
Sequential
Notes: Delivers the creator of the affiliation, i. e. the account user that created the affiliation in the system.
public
getDefaultMetadata():MdsOrganizationalUnitDetailsVO
Sequential
Notes: Convenience method to retrieve escidoc metadat set.
@return A {@link MdsOrganizationalUnitDetailsVO}.
public
getHasChildren():boolean
Sequential
Notes: Delivers true if the affiliation has child affiliations. The idiosyncratic method name is chosen to support JSF backing beans.
@return true if the affiliation has child affiliations.
public
getHasPredecessors():boolean
Sequential
Notes: Are predecessors available.
@return true if predecessors are available
public
getLastModificationDate():java.util.Date
Sequential
Notes: Delivers the date if the last modification of the affiliation in the system.
public
getMetadataSets():List
Sequential
public
getModifiedBy():AccountUserRO
Sequential
public
getParentAffiliations():java.util.List
Sequential
Notes: Delivers the list of the affiliations' parent affiliations.
public
getPredecessorAffiliations():java.util.List
Sequential
Notes: @return the predecessorAffiliations
public
getPublicStatus():String
Sequential
Notes: Delivers the publicly visible status of the affiliation. The public status can only be changed by the system.
public
getReference():AffiliationRO
Sequential
Notes: Delivers the affiliations' reference.
@see de.mpg.escidoc.services.common.referenceobjects.ReferenceObject
package
hasParentAffiliations():boolean
Sequential
Notes: Helper method for JiBX transformations. This method helps JiBX to determine if a "parents" XML structure has to be created during marshalling.
package
hasParents():boolean
Sequential
Notes: Helper method for JiBX transformations. This method helps JiBX to determine if a "parents" XML structure has to be created during marshalling.
public
setCreationDate(
   java.util.Date newVal):void
Sequential
Notes: Sets the creation date of the affiliation, i. e. a timestamp from the system when the organizational unit is created.
public
setCreator(
   AccountUserRO newVal):void
Sequential
Notes: Sets the creator of the affiliation, i. e. the account user that created the affiliation in the system.
public
setDefaultMetadata(
   MdsOrganizationalUnitDetailsVO detailsVO):void
Sequential
Notes: Convenience method to set escidoc metadata set.
@link MdsOrganizationalUnitDetailsVO} containing the default metadata.
public
setHasChildren(
   boolean newVal):void
Sequential
Notes: Sets the flag indicating whether the affiliation has child affiliations or not.
public
setLastModificationDate(
   java.util.Date newVal):void
Sequential
Notes: Sets the date if the last modification of the affiliation in the system.
public
setModifiedBy(
   AccountUserRO modifiedBy):void
Sequential
public
setPredecessorAffiliations(
   java.util.List predecessorAffiliations):void
Sequential
public
setPublicStatus(
   String newVal):void
Sequential
Notes: Sets the publicly visible status of the affiliation. The public status can only be changed by the system.
public
setReference(
   AffiliationRO newVal):void
Sequential
Notes: Sets the affiliations' reference.
@see de.mpg.escidoc.services.common.referenceobjects.ReferenceObject