com.ail.core.configure.server
Class SetConfigurationCommand

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.SetConfigurationCommand
All Implemented Interfaces:
CommandArg, SetConfigurationArg, java.io.Serializable, java.lang.Cloneable

public class SetConfigurationCommand
extends Command
implements SetConfigurationArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
SetConfigurationCommand()
           
 
Method Summary
 CommandArg getArgs()
          Get the argument set associated with this command.
 Configuration getConfigurationArg()
          Fetch the value of the configurationarg 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 setConfigurationArg(Configuration configurationarg)
          Set the value of the configurationarg 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

SetConfigurationCommand

public SetConfigurationCommand()
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 name of the configuration namespace to be updated.

Specified by:
getNamespaceArg in interface SetConfigurationArg
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 name of the configuration namespace to be updated.

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

getConfigurationArg

public Configuration getConfigurationArg()
Fetch the value of the configurationarg argument. The configuration to save.

Specified by:
getConfigurationArg in interface SetConfigurationArg
Returns:
value of configurationarg
See Also:
setConfigurationArg(com.ail.core.configure.Configuration)

setConfigurationArg

public void setConfigurationArg(Configuration configurationarg)
Set the value of the configurationarg argument. The configuration to save.

Specified by:
setConfigurationArg in interface SetConfigurationArg
Parameters:
configurationarg - New value for configurationarg argument.
See Also:
getConfigurationArg()