cz.cuni.amis.pogamut.sposh.elements
Class NamedLapElement<THIS extends PoshElement,PARENT extends PoshElement>

Package class diagram package NamedLapElement
java.lang.Object
  extended by cz.cuni.amis.pogamut.sposh.elements.PoshElement<THIS,PARENT>
      extended by cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement<THIS,PARENT>
          extended by cz.cuni.amis.pogamut.sposh.elements.NamedLapElement<THIS,PARENT>
Direct Known Subclasses:
ActionPattern, Adopt, Competence, CompetenceElement, DriveCollection, DriveElement, Sense, TriggeredAction

public abstract class NamedLapElement<THIS extends PoshElement,PARENT extends PoshElement>
extends PoshDummyElement<THIS,PARENT>

Ancestor class for lap elements with name. Most of the elements have a name, but some (e.g. {@link Goal)) don't.

Author:
HonzaH

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement
IDENT_PATTERN
 
Constructor Summary
NamedLapElement()
           
 
Method Summary
abstract  String getName()
          Get name of the element.
 
Methods inherited from class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement
getUnusedName, isUsedName, moveChildInList
 
Methods inherited from class cz.cuni.amis.pogamut.sposh.elements.PoshElement
addElementListener, emitChildDeleted, emitChildMove, emitChildNode, firePropertyChange, getDataFlavor, getElementListeners, getChildDataNodes, getNumberOfChildInstances, getParent, getRootNode, getType, isChildOfParent, moveChild, removeElementListener, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedLapElement

public NamedLapElement()
Method Detail

getName

public abstract String getName()
Get name of the element. The actual name, not display name (e.g. action can have FQN of class, but display name would be derived fromk annotations of the class) or representation (e.g. sense name "health" is different from actual condition of sense "health > 90").

Returns:
Name of the element


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.