com.ail.core.persistence
Class LoadCommand

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

public class LoadCommand
extends Command
implements LoadArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
LoadCommand()
           
 
Method Summary
 CommandArg getArgs()
          Get the argument set associated with this command.
 Type getObjectRet()
          Getter for the objectArg property.
 long getSystemIdArg()
          Getter for the idArg property.
 java.lang.Class getTypeArg()
          Getter for the typeArg property.
 void setArgs(CommandArg arg)
          Update this Command object's arguments with those taken from the command arg passed in.
 void setObjectRet(Type objectRet)
          Setter for the objectArg property.
 void setSystemIdArg(long idArg)
          Setter for the idArg property.
 void setTypeArg(java.lang.Class typeArg)
          Setter for the typeArg 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

LoadCommand

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

getObjectRet

public Type getObjectRet()
Getter for the objectArg property. Object loaded

Specified by:
getObjectRet in interface LoadArg
Returns:
@{inheritDoc}

setObjectRet

public void setObjectRet(Type objectRet)
Setter for the objectArg property.

Specified by:
setObjectRet in interface LoadArg
Parameters:
objectArg - @{inheritDoc}
See Also:
#getObjectArg

getTypeArg

public java.lang.Class getTypeArg()
Getter for the typeArg property. Type to load

Specified by:
getTypeArg in interface LoadArg
Returns:
@{inheritDoc}

setTypeArg

public void setTypeArg(java.lang.Class typeArg)
Setter for the typeArg property.

Specified by:
setTypeArg in interface LoadArg
Parameters:
objectArg - @{inheritDoc}
See Also:
LoadArg.getTypeArg()

setSystemIdArg

public void setSystemIdArg(long idArg)
Setter for the idArg property.

Specified by:
setSystemIdArg in interface LoadArg
Parameters:
idArg - @{inheritDoc}
See Also:
#getIdArg

getSystemIdArg

public long getSystemIdArg()
Getter for the idArg property. Id for Object to load

Specified by:
getSystemIdArg in interface LoadArg
Returns:
@{inheritDoc}