PaP
Class Play

java.lang.Object
  |
  +--PaP.Play
All Implemented Interfaces:
java.io.Serializable

public class Play
extends java.lang.Object
implements java.io.Serializable

Implementation of PaP concept Play

See Also:
Serialized Form

Field Summary
 java.lang.String playId
          Unique identification of this play (together with version)
 java.lang.String playLoc
          URL location of this Play
 java.lang.String playVer
          Version of this play
 int verA
          A and B is the two component numbers in the version notation
 int verB
          A and B is the two component numbers in the version notation
 
Constructor Summary
Play(java.lang.String pPlayId, java.lang.String pPlayVer, java.lang.String pPlayLoc)
          Constructor to fill data fields.
 
Method Summary
 Item status()
          Status report of the data fields of this Play
 java.lang.String toString()
          Textual presentation of objects values.
static java.lang.String toString(Play obj)
          Textual presentation of objects values.
 boolean validate(int level)
          Validation of the play instance value
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

playId

public java.lang.String playId
Unique identification of this play (together with version)

playVer

public java.lang.String playVer
Version of this play

playLoc

public java.lang.String playLoc
URL location of this Play

verA

public int verA
A and B is the two component numbers in the version notation

verB

public int verB
A and B is the two component numbers in the version notation
Constructor Detail

Play

public Play(java.lang.String pPlayId,
            java.lang.String pPlayVer,
            java.lang.String pPlayLoc)
Constructor to fill data fields.
Parameters:
pPlayId - Play Identifier value
pPlayVer - Play Version value
pPlayLoc - Play Location value
Method Detail

status

public Item status()
Status report of the data fields of this Play
Returns:
The PaP conform Item hierarchy of data field information

toString

public java.lang.String toString()
Textual presentation of objects values.
Overrides:
toString in class java.lang.Object
Returns:
Textual description of play object

toString

public static java.lang.String toString(Play obj)
Textual presentation of objects values.
Parameters:
obj - play object - if existing
Returns:
Textual description of play object

validate

public boolean validate(int level)
Validation of the play instance value
Parameters:
level - The detail level to validate: 1: No null-value, 2: only playId required.
Returns:
true if validated ok, false else