atg.service.actor
Interface ModelMap

All Superinterfaces:
java.util.Map<java.lang.String,java.lang.Object>, atg.service.actor.Model

public interface ModelMap
extends java.util.Map<java.lang.String,java.lang.Object>, atg.service.actor.Model

TODO: Document filterId and its use.

Each time an actor chain is invoked, a new ActorContext and a new ModelMap are passed into the actor chain. Thus each chain has its own context and its own ModelMap.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Nested classes/interfaces inherited from interface atg.service.actor.Model
atg.service.actor.Model.AttributeKey, atg.service.actor.Model.StandardAttributeKey
 
Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 java.lang.Object getAttribute(java.lang.String pChildKey, atg.service.actor.Model.AttributeKey pAttributeKey)
          Gets a value for an attribute on a child Model object.
 java.lang.Object getSubValue(java.lang.String pChildKey)
          Gets a value from a child or grand child - supports dot and array notation to access grand children.
 void putSubValue(java.lang.String pChildKey, java.lang.Object pValue)
          Put a value into a child or grand child - supports dot and array notation to access grand children.
 void setAttribute(java.lang.String pChildKey, atg.service.actor.Model.AttributeKey pAttributeKey, java.lang.Object pValue)
          Sets a value for an attribute on a child Model object.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface atg.service.actor.Model
getAttribute, setAttribute
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

setAttribute

void setAttribute(java.lang.String pChildKey,
                  atg.service.actor.Model.AttributeKey pAttributeKey,
                  java.lang.Object pValue)
Sets a value for an attribute on a child Model object.

Parameters:
pChildKey - the name of the child. Supports dot and array notation to access grand children.
See Also:
for a list of the OOTB attributes.

getAttribute

java.lang.Object getAttribute(java.lang.String pChildKey,
                              atg.service.actor.Model.AttributeKey pAttributeKey)
Gets a value for an attribute on a child Model object.

Parameters:
pChildKey - the name of the child. Supports dot and array notation to access grand children.
See Also:
for a list of the OOTB attributes.

getSubValue

java.lang.Object getSubValue(java.lang.String pChildKey)
Gets a value from a child or grand child - supports dot and array notation to access grand children.


putSubValue

void putSubValue(java.lang.String pChildKey,
                 java.lang.Object pValue)
Put a value into a child or grand child - supports dot and array notation to access grand children.