edu.washington.cs.supple.rep
Interface ActionType

All Superinterfaces:
ContainerType, SuppleBean, SuppleType
All Known Implementing Classes:
ActionTypeImpl

public interface ActionType
extends ContainerType

Container type for actions.

Author:
dbc1

Method Summary
 java.util.Collection getDependencies()
          Returns a list of all dependencies.
 java.util.Collection getDynamicObjects()
          Returns a Collection of dynamic objects that were created by this action.
 UiObject getParameterObject(java.lang.String name)
          Locate the parameter ui object associated with the name.
 UiObject getParametersObject()
           
 SuppleType getParametersType()
           
 java.lang.Object getParameterValue(java.lang.String name)
          Locate the paramter value associated with the name.
 SuppleType getReturnType()
           
 
Methods inherited from interface edu.washington.cs.supple.rep.ContainerType
childrenHaveLabels, getChild, getChildren, getNumChildren, getNumChildrenAdded, getUiObject, hasModifiableChild, removeChild, size, swapChild
 
Methods inherited from interface edu.washington.cs.supple.rep.SuppleType
accept, getIndex, getIndex, getLegalValues, getLikelyValues, getLongestLegalIndex, getMaxNumLegalValues, getNumLegalValues, getNumLikelyValues, getTypicalIndexLength, getUniqueId, hasIndex, hasOrdering, hasSetLegalValues, isEnumerable, isFinalLegalValues, isLegalValue, isLegalValueClass, isPrimitiveType, orderValues, toPrettyString, verifyCurrentValue
 
Methods inherited from interface edu.washington.cs.supple.rep.SuppleBean
addPropertyChangeListener, removePropertyChangeListener
 

Method Detail

getParametersObject

public UiObject getParametersObject()
Returns:
Returns the UI for the action's parameters.

getParametersType

public SuppleType getParametersType()
Returns:
Returns the UI type for the action's parameters.

getParameterObject

public UiObject getParameterObject(java.lang.String name)
Locate the parameter ui object associated with the name. Assumes the parameters is a container.


getParameterValue

public java.lang.Object getParameterValue(java.lang.String name)
Locate the paramter value associated with the name. Assumes the parameters is a container. Assumes the ui object is a variable of some sort.


getReturnType

public SuppleType getReturnType()
Returns:
Returns the UI type for the action's return value (or null).

getDependencies

public java.util.Collection getDependencies()
Returns a list of all dependencies. These are represented as paths to objects that this action depends on. Refer to the Reference-hierarchy for more information.


getDynamicObjects

public java.util.Collection getDynamicObjects()
Returns a Collection of dynamic objects that were created by this action.