com.ail.core.configure.server
Class SetCommandScriptArgImp

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.CommandArgImp
          extended by com.ail.core.configure.server.SetCommandScriptArgImp
All Implemented Interfaces:
CommandArg, SetCommandScriptArg, java.io.Serializable, java.lang.Cloneable

public class SetCommandScriptArgImp
extends CommandArgImp
implements SetCommandScriptArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
SetCommandScriptArgImp()
          Default constructor
 
Method Summary
 java.lang.String getCommandNameArg()
          Fetch the value of the commandNameArg argument.
 CommandScript getCommandScriptArg()
          Fetch the value of the commandScriptArg argument.
 java.lang.String getCommandTypeArg()
          Fetch the value of the commandTypeArg.
 java.lang.String getNamespaceArg()
          Fetch the value of the namespaceArg argument.
 void setCommandNameArg(java.lang.String commandNameArg)
          Set the value of the commandNameArg argument.
 void setCommandScriptArg(CommandScript commandScriptArg)
          Set the value of the commandScriptArg argument.
 void setCommandTypeArg(java.lang.String commandTypeArg)
          Set the value of the commandTypeArg.
 void setNamespaceArg(java.lang.String namespaceArg)
          Set the value of the namespaceArg argument.
 
Methods inherited from class com.ail.core.command.CommandArgImp
getCallersCore, setCallersCore
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, 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

SetCommandScriptArgImp

public SetCommandScriptArgImp()
Default constructor

Method Detail

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 SetCommandScriptArg
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 SetCommandScriptArg
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 SetCommandScriptArg
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 SetCommandScriptArg
Parameters:
commandNameArg - New value for commandNameArg argument.
See Also:
getCommandNameArg()

getCommandScriptArg

public CommandScript getCommandScriptArg()
Fetch the value of the commandScriptArg argument. The command script to be saved.

Specified by:
getCommandScriptArg in interface SetCommandScriptArg
Returns:
value of commandScriptArg
See Also:
setCommandScriptArg(com.ail.core.CommandScript)

setCommandScriptArg

public void setCommandScriptArg(CommandScript commandScriptArg)
Set the value of the commandScriptArg argument. The command script saved.

Specified by:
setCommandScriptArg in interface SetCommandScriptArg
Parameters:
commandScriptArg - New value for commandScriptArg argument.
See Also:
getCommandScriptArg()

getCommandTypeArg

public java.lang.String getCommandTypeArg()
Fetch the value of the commandTypeArg. This defines the 'type' of script, e.g. BeanShell script, DRools script, etc.

Specified by:
getCommandTypeArg in interface SetCommandScriptArg
Returns:
The script type.

setCommandTypeArg

public void setCommandTypeArg(java.lang.String commandTypeArg)
Set the value of the commandTypeArg.

Specified by:
setCommandTypeArg in interface SetCommandScriptArg
Parameters:
commandTypeArg -
See Also:
getCommandTypeArg()