aa.tool
Class ActorTuple

java.lang.Object
  extended byaa.tool.ActorTuple
All Implemented Interfaces:
java.io.Serializable

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

This class describes an actor tuple. An actor tuple consists of the name of an actor and its attributes.

History:

Version:
$Date: 2008/01/01 00:23:57 $ $Revision: 1.1 $
Author:
Myeong-Wuk Jang
See Also:
Serialized Form

Field Summary
private  ActorName m_anActor
          The name of an actor.
private  java.lang.Object[] m_objaElements
          An array of elements to represent information for the actor.
 
Constructor Summary
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1)
          Creates an actor tuple.
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1, java.io.Serializable p_serEle2)
          Creates an actor tuple.
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1, java.io.Serializable p_serEle2, java.io.Serializable p_serEle3)
          Creates an actor tuple.
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1, java.io.Serializable p_serEle2, java.io.Serializable p_serEle3, java.io.Serializable p_serEle4)
          Creates an actor tuple.
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1, java.io.Serializable p_serEle2, java.io.Serializable p_serEle3, java.io.Serializable p_serEle4, java.io.Serializable p_serEle5)
          Creates an actor tuple.
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1, java.io.Serializable p_serEle2, java.io.Serializable p_serEle3, java.io.Serializable p_serEle4, java.io.Serializable p_serEle5, java.io.Serializable p_serEle6)
          Creates an actor tuple.
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1, java.io.Serializable p_serEle2, java.io.Serializable p_serEle3, java.io.Serializable p_serEle4, java.io.Serializable p_serEle5, java.io.Serializable p_serEle6, java.io.Serializable p_serEle7)
          Creates an actor tuple.
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1, java.io.Serializable p_serEle2, java.io.Serializable p_serEle3, java.io.Serializable p_serEle4, java.io.Serializable p_serEle5, java.io.Serializable p_serEle6, java.io.Serializable p_serEle7, java.io.Serializable p_serEle8)
          Creates an actor tuple.
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1, java.io.Serializable p_serEle2, java.io.Serializable p_serEle3, java.io.Serializable p_serEle4, java.io.Serializable p_serEle5, java.io.Serializable p_serEle6, java.io.Serializable p_serEle7, java.io.Serializable p_serEle8, java.io.Serializable p_serEle9)
          Creates an actor tuple.
ActorTuple(ActorName p_anActor, java.io.Serializable p_serEle1, java.io.Serializable p_serEle2, java.io.Serializable p_serEle3, java.io.Serializable p_serEle4, java.io.Serializable p_serEle5, java.io.Serializable p_serEle6, java.io.Serializable p_serEle7, java.io.Serializable p_serEle8, java.io.Serializable p_serEle9, java.io.Serializable p_serEle10)
          Creates an actor tuple.
 
Method Summary
 ActorName getActorName()
          Returns the actor name registered.
 java.lang.Object getElement(int p_iIdx)
          Returns the element at the specified index of this actor tuple.
 java.lang.Object[] getElements()
          Rerturns elements in this actor tuple as an array of objects.
 int sizeOfElements()
          Returns the number of elements in this actor tuple.
 java.lang.String toString()
          Converts this actor tuple into a string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_anActor

private ActorName m_anActor
The name of an actor.


m_objaElements

private java.lang.Object[] m_objaElements
An array of elements to represent information for the actor.

Constructor Detail

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1,
                  java.io.Serializable p_serEle2)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.
p_serEle2 - the second element to represent information for the actor.

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1,
                  java.io.Serializable p_serEle2,
                  java.io.Serializable p_serEle3)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.
p_serEle2 - the second element to represent information for the actor.
p_serEle3 - the third element to represent information for the actor.

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1,
                  java.io.Serializable p_serEle2,
                  java.io.Serializable p_serEle3,
                  java.io.Serializable p_serEle4)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.
p_serEle2 - the second element to represent information for the actor.
p_serEle3 - the third element to represent information for the actor.
p_serEle4 - the fourth element to represent information for the actor.

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1,
                  java.io.Serializable p_serEle2,
                  java.io.Serializable p_serEle3,
                  java.io.Serializable p_serEle4,
                  java.io.Serializable p_serEle5)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.
p_serEle2 - the second element to represent information for the actor.
p_serEle3 - the third element to represent information for the actor.
p_serEle4 - the fourth element to represent information for the actor.
p_serEle5 - the fifth element to represent information for the actor.

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1,
                  java.io.Serializable p_serEle2,
                  java.io.Serializable p_serEle3,
                  java.io.Serializable p_serEle4,
                  java.io.Serializable p_serEle5,
                  java.io.Serializable p_serEle6)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.
p_serEle2 - the second element to represent information for the actor.
p_serEle3 - the third element to represent information for the actor.
p_serEle4 - the fourth element to represent information for the actor.
p_serEle5 - the fifth element to represent information for the actor.
p_serEle6 - the sixth element to represent information for the actor.

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1,
                  java.io.Serializable p_serEle2,
                  java.io.Serializable p_serEle3,
                  java.io.Serializable p_serEle4,
                  java.io.Serializable p_serEle5,
                  java.io.Serializable p_serEle6,
                  java.io.Serializable p_serEle7)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.
p_serEle2 - the second element to represent information for the actor.
p_serEle3 - the third element to represent information for the actor.
p_serEle4 - the fourth element to represent information for the actor.
p_serEle5 - the fifth element to represent information for the actor.
p_serEle6 - the sixth element to represent information for the actor.
p_serEle7 - the seventh element to represent information for the actor.

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1,
                  java.io.Serializable p_serEle2,
                  java.io.Serializable p_serEle3,
                  java.io.Serializable p_serEle4,
                  java.io.Serializable p_serEle5,
                  java.io.Serializable p_serEle6,
                  java.io.Serializable p_serEle7,
                  java.io.Serializable p_serEle8)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.
p_serEle2 - the second element to represent information for the actor.
p_serEle3 - the third element to represent information for the actor.
p_serEle4 - the fourth element to represent information for the actor.
p_serEle5 - the fifth element to represent information for the actor.
p_serEle6 - the sixth element to represent information for the actor.
p_serEle7 - the seventh element to represent information for the actor.
p_serEle8 - the eighth element to represent information for the actor.

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1,
                  java.io.Serializable p_serEle2,
                  java.io.Serializable p_serEle3,
                  java.io.Serializable p_serEle4,
                  java.io.Serializable p_serEle5,
                  java.io.Serializable p_serEle6,
                  java.io.Serializable p_serEle7,
                  java.io.Serializable p_serEle8,
                  java.io.Serializable p_serEle9)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.
p_serEle2 - the second element to represent information for the actor.
p_serEle3 - the third element to represent information for the actor.
p_serEle4 - the fourth element to represent information for the actor.
p_serEle5 - the fifth element to represent information for the actor.
p_serEle6 - the sixth element to represent information for the actor.
p_serEle7 - the seventh element to represent information for the actor.
p_serEle8 - the eighth element to represent information for the actor.
p_serEle9 - the ninth element to represent information for the actor.

ActorTuple

public ActorTuple(ActorName p_anActor,
                  java.io.Serializable p_serEle1,
                  java.io.Serializable p_serEle2,
                  java.io.Serializable p_serEle3,
                  java.io.Serializable p_serEle4,
                  java.io.Serializable p_serEle5,
                  java.io.Serializable p_serEle6,
                  java.io.Serializable p_serEle7,
                  java.io.Serializable p_serEle8,
                  java.io.Serializable p_serEle9,
                  java.io.Serializable p_serEle10)
Creates an actor tuple.

Parameters:
p_anActor - the name of an actor.
p_serEle1 - the first element to represent information for the actor.
p_serEle2 - the second element to represent information for the actor.
p_serEle3 - the third element to represent information for the actor.
p_serEle4 - the fourth element to represent information for the actor.
p_serEle5 - the fifth element to represent information for the actor.
p_serEle6 - the sixth element to represent information for the actor.
p_serEle7 - the seventh element to represent information for the actor.
p_serEle8 - the eighth element to represent information for the actor.
p_serEle10 - the tenth element to represent information for the actor.
Method Detail

getActorName

public final ActorName getActorName()
Returns the actor name registered.

Returns:
the actor name registered.

getElements

public final java.lang.Object[] getElements()
Rerturns elements in this actor tuple as an array of objects.

Returns:
elements in this actor tuple as an array of objects.

getElement

public final java.lang.Object getElement(int p_iIdx)
Returns the element at the specified index of this actor tuple.

Parameters:
p_iIdx - the index of the element.
Returns:
the element at the specified index of this actor tuple if the object exists;
null otherwise.

sizeOfElements

public int sizeOfElements()
Returns the number of elements in this actor tuple.

Returns:
the the number of elements in this actor tuple.

toString

public java.lang.String toString()
Converts this actor tuple into a string representation.

Returns:
a string representaiton of the given object array.