banshee.lang
Class Entry

java.lang.Object
  |
  +--asgaard.skid.SkidBean
        |
        +--banshee.lang.Entity
              |
              +--banshee.lang.Action
                    |
                    +--banshee.lang.Entry

public class Entry
extends Action

This class holds a generic workout-parameter based aproac of an elementar action in sports. This is e.g. "running 1 hour with heart-frequence of 140". Therefor a Template is used, which holds all default-settings for a typical action (e.g. running) in a individual configuration.

See Also:
asgaard.banshee.lang.Template, Serialized Form

Field Summary
protected  java.lang.Object[] defs
          List with defaults got from the template (as well as the items)
 
Fields inherited from class banshee.lang.Action
defs
 
Fields inherited from class banshee.lang.Entity
items, values
 
Fields inherited from class asgaard.skid.SkidBean
broker, debug, history_policy, LAST_METHOD
 
Constructor Summary
Entry()
          Instanciates an Entry, setting the defaults and item-List from the template.
Entry(Template template)
          Instanciates a new Entry
 
Method Summary
 Action getTemplate()
          Returns the Template used by this Action
 java.lang.String toString()
           
 
Methods inherited from class banshee.lang.Entity
getName, item, length, setName
 
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, wait, wait, wait
 

Field Detail

defs

protected transient java.lang.Object[] defs
List with defaults got from the template (as well as the items)
Constructor Detail

Entry

public Entry()
      throws java.lang.Exception
Instanciates an Entry, setting the defaults and item-List from the template. Do not use it to create a new Entry - you need to distinguish an template.
Throws:
java.lang.Exception - if there is no known template.

Entry

public Entry(Template template)
      throws java.lang.Exception
Instanciates a new Entry
Parameters:
template - the used template for this entry
Throws:
java.lang.Exception -  
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Action

getTemplate

public Action getTemplate()
Returns the Template used by this Action
Overrides:
getTemplate in class Action
See Also:
asgaard.banshee.lang.Template