com.ail.core.command
Class Accessor

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.AbstractCommand
          extended by com.ail.core.command.Accessor
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
BeanShellAccessor, ClassAccessor, DroolsAccessor, DroolsDecisionTableAccessor, EJBAccessor, JaninoAccessor, JMSAccessor, WebServiceAccessor, XSLTAccessor

public abstract class Accessor
extends AbstractCommand

This class is extended by all accessor classes. Its function is simply to group the accessors as a sub-type of AbstractCommand, and to differentiate them from other Command types.

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
Accessor()
           
 
Method Summary
 AccessorLoggingIndicator getLoggingIndicator()
          Get the logging level
 java.lang.String getLoggingIndicatorAsString()
          Get the logging indicator as a String.
 void setLoggingIndicator(AccessorLoggingIndicator loggingIndicator)
          Set the logging level.
 void setLoggingIndicatorAsString(java.lang.String logging)
          Set the logging indicator from a string value.
 
Methods inherited from class com.ail.core.command.AbstractCommand
getArgs, getConfiguration, getVersion, invoke, setArgs, setConfiguration
 
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
 

Constructor Detail

Accessor

public Accessor()
Method Detail

getLoggingIndicatorAsString

public java.lang.String getLoggingIndicatorAsString()
Get the logging indicator as a String. The value returned will be one of the AccessorLoggingIndicator values as a String.

Returns:
Value of indicator

setLoggingIndicatorAsString

public void setLoggingIndicatorAsString(java.lang.String logging)
Set the logging indicator from a string value. The String must be valid for a call to AccessorLoggingIndicator.forName

Parameters:
logging - Logging level

getLoggingIndicator

public AccessorLoggingIndicator getLoggingIndicator()
Get the logging level

Returns:
The current logging level

setLoggingIndicator

public void setLoggingIndicator(AccessorLoggingIndicator loggingIndicator)
Set the logging level.

Parameters:
loggingIndicator -