com.ail.core.product.newproducttype
Class NewProductTypeCommand

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.product.newproducttype.NewProductTypeCommand
All Implemented Interfaces:
CommandArg, NewProductTypeArg, java.io.Serializable, java.lang.Cloneable

public class NewProductTypeCommand
extends Command
implements NewProductTypeArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
NewProductTypeCommand()
           
 
Method Summary
 CommandArg getArgs()
          Get the argument set associated with this command.
 java.lang.String getProductNameArg()
          Getter for the productNameArg property.
 java.lang.String getTypeNameArg()
          Getter for the typeNameArg property.
 Type getTypeRet()
          Getter for the typeRet property.
 void setArgs(CommandArg arg)
          Update this Command object's arguments with those taken from the command arg passed in.
 void setProductNameArg(java.lang.String productNameArg)
          Setter for the productNameArg property.
 void setTypeNameArg(java.lang.String typeNameArg)
          Setter for the typeNameArg property.
 void setTypeRet(Type typeRet)
          Setter for the typeRet property.
 
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

NewProductTypeCommand

public NewProductTypeCommand()
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.

getProductNameArg

public java.lang.String getProductNameArg()
Getter for the productNameArg property. The name of the product to instantiate the type for.

Specified by:
getProductNameArg in interface NewProductTypeArg
Returns:
@{inheritDoc}

setProductNameArg

public void setProductNameArg(java.lang.String productNameArg)
Setter for the productNameArg property. * @see #getProductNameArg

Specified by:
setProductNameArg in interface NewProductTypeArg
Parameters:
productNameArg - @{inheritDoc}

getTypeNameArg

public java.lang.String getTypeNameArg()
Getter for the typeNameArg property. The name of the type to be instantiated, or null if the products default type is required.

Specified by:
getTypeNameArg in interface NewProductTypeArg
Returns:
@{inheritDoc}

setTypeNameArg

public void setTypeNameArg(java.lang.String typeNameArg)
Setter for the typeNameArg property. * @see #getTypeNameArg

Specified by:
setTypeNameArg in interface NewProductTypeArg
Parameters:
typeNameArg - @{inheritDoc}

getTypeRet

public Type getTypeRet()
Getter for the typeRet property. The instantiated type

Specified by:
getTypeRet in interface NewProductTypeArg
Returns:
@{inheritDoc}

setTypeRet

public void setTypeRet(Type typeRet)
Setter for the typeRet property. * @see #getTypeRet

Specified by:
setTypeRet in interface NewProductTypeArg
Parameters:
typeRet - @{inheritDoc}