class: TextVO

public class: TextVO
Author:
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1951 $ $LastChangedDate: 2009-05-07 10:; Complexity: 1
Dates: Created: 16.07.2009 15:13:46; Modified: 16.07.2009 15:13:46;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {AE70547C-B606-469a-83AE-049487A9E902}
This class combines a text value with an optional language attribute.
@revised by MuJ: 27.08.2007
 

Goto: Custom Properties, Fields, Methods

Extends: ValueObject

See also: EventVO, EventVO, OrganizationVO, SourceVO, ValueObject, MdsPublicationVO, MdsPublicationVO, MdsFilmVO, MetadataSetVO

Appears in: metadata

Connections
 
Custom Properties
 
TextVO Attributes
Attribute Details
private String
  language
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
  value
 
TextVO Methods
Operation Details
public
clone():Object
Sequential
Tags: annotations=@Override
Notes: (non-Javadoc)
@see java.lang.Object#clone()
public
equals(
   Object o):boolean
Sequential
Tags: annotations=@Override
Notes: (non-Javadoc)
@see java.lang.Object#equals()
public
getLanguage():String
Sequential
Notes: Delivers the language of the text.
public
getValue():String
Sequential
Notes: Delivers the value of the text.
public
setLanguage(
   String newVal):void
Sequential
Notes: Sets the language of the text.
public
setValue(
   String newVal):void
Sequential
Notes: Sets the value of the text.
public
TextVO(
   String value):
Sequential
Notes: Creates a new instance with the given value.
public
TextVO():
Sequential
Notes: Creates a new instance.
public
TextVO(
   String value,
   String language):
Sequential
Notes: Creates a new instance with the given value and language.
public
toString():String
Sequential
Tags: annotations=@Override
Notes: (non-Javadoc)
@see java.lang.Object#toString()