banshee.lang
Class Entity

java.lang.Object
  |
  +--asgaard.skid.SkidBean
        |
        +--banshee.lang.Entity
Direct Known Subclasses:
Action, Template

public abstract class Entity
extends asgaard.skid.SkidBean

This class gives the general layout for a generic action with an atomic action in workout. The outline is a quiert simple parameter-based characteristic of an action executed by an sports(wo)men.

See Also:
Serialized Form

Field Summary
protected  asgaard.lang.Item[] items
          List whith Items, which descript each attribute of the list
protected  java.lang.Object[] values
          Values carried by the attribute
 
Fields inherited from class asgaard.skid.SkidBean
broker, debug, history_policy, LAST_METHOD
 
Constructor Summary
Entity()
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the Bean which shold be human readable and may be unique in some cases, but this is not strictly required.
abstract  Entity getTemplate()
          Returns the Template used by this Action
 java.lang.Object item(int idx)
          Returns Object at the given index if any
 int length()
          Returns the number of attributes which are carried by this Action
 void setName(java.lang.String name)
          Sets the name of the Entity.
 
Methods inherited from class asgaard.skid.SkidBean
addEvent, cloneBean, flush, getAge, getBeanType, getBroker, getChangeHistory, getClassKey, getCreated, getEvent, getFilter, getIdentifier, getKey, getLink, getMethods, getModified, getObject, getUpdatePolicy, init, invoke, isChanged, isNew, isReadOnly, modify, putLink, setAge, setObject, suscribeEvent, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

items

protected transient asgaard.lang.Item[] items
List whith Items, which descript each attribute of the list

values

protected java.lang.Object[] values
Values carried by the attribute
Constructor Detail

Entity

public Entity()
Method Detail

getName

public java.lang.String getName()
Returns the name of the Bean which shold be human readable and may be unique in some cases, but this is not strictly required.
Overrides:
getName in class asgaard.skid.SkidBean

setName

public void setName(java.lang.String name)
Sets the name of the Entity.
Parameters:
name - the value

item

public java.lang.Object item(int idx)
Returns Object at the given index if any

length

public int length()
Returns the number of attributes which are carried by this Action

getTemplate

public abstract Entity getTemplate()
Returns the Template used by this Action
See Also:
asgaard.banshee.lang.Template