org.shept.org.springframework.beans.support
Class DefaultCommandObject

java.lang.Object
  extended by org.shept.org.springframework.beans.support.DefaultCommandObject
All Implemented Interfaces:
Serializable, SubCommandProvider

public class DefaultCommandObject
extends Object
implements SubCommandProvider, Serializable

Version:
$$Id: DefaultCommandObject.java 34 2010-08-20 16:46:49Z aha $$
Author:
Andi
See Also:
Serialized Form

Field Summary
static String CHILD_BINDING_NAME
           
private  List<CommandWrapper> children
           
private static long serialVersionUID
           
 
Constructor Summary
DefaultCommandObject()
           
 
Method Summary
 List<CommandWrapper> getChildren()
           
 Map<String,Object> getSubCommands()
           
 void setChildren(List<CommandWrapper> chain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

CHILD_BINDING_NAME

public static final String CHILD_BINDING_NAME
See Also:
Constant Field Values

children

private List<CommandWrapper> children
Constructor Detail

DefaultCommandObject

public DefaultCommandObject()
Method Detail

getSubCommands

public Map<String,Object> getSubCommands()
Specified by:
getSubCommands in interface SubCommandProvider
Returns:
Map with all nested 'SubCommands' and their pathNames as keys

getChildren

public List<CommandWrapper> getChildren()
Specified by:
getChildren in interface SubCommandProvider

setChildren

public void setChildren(List<CommandWrapper> chain)
Parameters:
chain - the chain to set


Copyright © 2011. All Rights Reserved.