com.ail.core.configure.server
Class GetCommandScriptCommand

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.AbstractCommand
          extended by com.ail.core.command.Command
              extended by com.ail.core.configure.server.GetCommandScriptCommand
All Implemented Interfaces:
CommandArg, GetCommandScriptArg, java.io.Serializable, java.lang.Cloneable

public class GetCommandScriptCommand
extends Command
implements GetCommandScriptArg

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
GetCommandScriptCommand()
           
 
Method Summary
 CommandArg getArgs()
          Get the argument set associated with this command.
 java.lang.String getCommandNameArg()
          Fetch the value of the commandNameArg argument.
 CommandScript getCommandScriptRet()
          Fetch the value of the commandScriptRet argument.
 java.lang.String getNamespaceArg()
          Fetch the value of the namespaceArg argument.
 void setArgs(CommandArg arg)
          Update this Command object's arguments with those taken from the command arg passed in.
 void setCommandNameArg(java.lang.String commandnamearg)
          Set the value of the commandNameArg argument.
 void setCommandScriptRet(CommandScript commandscriptret)
          Set the value of the commandScriptRet argument.
 void setNamespaceArg(java.lang.String namespacearg)
          Set the value of the namespaceArg argument.
 
Methods inherited from class com.ail.core.command.Command
clone, getAccessor, getCallersCore, getConfiguration, getVersion, invoke, setAccessor, setCallersCore, setConfiguration, setService
 
Methods inherited from class com.ail.core.Type
addAttribute, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ail.core.command.CommandArg
getCallersCore, setCallersCore
 

Constructor Detail

GetCommandScriptCommand

public GetCommandScriptCommand()
Method Detail

setArgs

public void setArgs(CommandArg arg)
Description copied from class: AbstractCommand
Update this Command object's arguments with those taken from the command arg passed in. This is in effect a bulk setter. This interface will be implemented by beans that have many more getters/setters to support their properties. The implementations of this method take 'that', and pull all the relevant properties into this.

Specified by:
setArgs in class AbstractCommand
Parameters:
arg - Source for arguments

getArgs

public CommandArg getArgs()
Description copied from class: AbstractCommand
Get the argument set associated with this command.

Specified by:
getArgs in class AbstractCommand
Returns:
This objects arguments.

getNamespaceArg

public java.lang.String getNamespaceArg()
Fetch the value of the namespaceArg argument. The namespace to fetch the command script from.

Specified by:
getNamespaceArg in interface GetCommandScriptArg
Returns:
value of namespacearg
See Also:
setNamespaceArg(java.lang.String)

setNamespaceArg

public void setNamespaceArg(java.lang.String namespacearg)
Set the value of the namespaceArg argument. The namespace to fetch the command script from.

Specified by:
setNamespaceArg in interface GetCommandScriptArg
Parameters:
namespacearg - New value for namespacearg argument.
See Also:
getNamespaceArg()

getCommandNameArg

public java.lang.String getCommandNameArg()
Fetch the value of the commandNameArg argument. The name of the command that which the script should be returned for.

Specified by:
getCommandNameArg in interface GetCommandScriptArg
Returns:
value of commandnamearg
See Also:
setCommandNameArg(java.lang.String)

setCommandNameArg

public void setCommandNameArg(java.lang.String commandnamearg)
Set the value of the commandNameArg argument. The name of the command that which the script should be returned for.

Specified by:
setCommandNameArg in interface GetCommandScriptArg
Parameters:
commandnamearg - New value for commandnamearg argument.
See Also:
getCommandNameArg()

getCommandScriptRet

public CommandScript getCommandScriptRet()
Fetch the value of the commandScriptRet argument. The command script returned.

Specified by:
getCommandScriptRet in interface GetCommandScriptArg
Returns:
value of commandscriptret
See Also:
setCommandScriptRet(com.ail.core.CommandScript)

setCommandScriptRet

public void setCommandScriptRet(CommandScript commandscriptret)
Set the value of the commandScriptRet argument. The command script returned.

Specified by:
setCommandScriptRet in interface GetCommandScriptArg
Parameters:
commandscriptret - New value for commandscriptret argument.
See Also:
getCommandScriptRet()