com.ibm.commerce.registry
Class CommandRegistryEntry

java.lang.Object
  |
  +--com.ibm.commerce.registry.CommandRegistryEntry

public class CommandRegistryEntry
extends java.lang.Object

Command registry entry. This is an internal class used by the comamnd registry.


Constructor Summary
CommandRegistryEntry()
          Constructor for CommandRegistryEntry.
CommandRegistryEntry(java.lang.String ifName, java.lang.Integer store, java.lang.String iclassName, java.lang.String props)
          Constructs a command registry entry.
 
Method Summary
 java.lang.String getClassName()
          Gets the class name.
  TypedProperty getDefaultProperties()
          Gets the default properties.
 java.lang.String getInterfaceName()
          Gets the interface name.
 java.lang.String getKey()
          Gets the key for identifying this entry.
 java.lang.String getProperties()
          Gets the default properties.
 java.lang.String getSeparator()
          Gets the seperator for constructing the key.
 java.lang.Integer getStoreEntityId()
          Gets the store Id.
 java.lang.String getTarget()
          Gets the command target.
 boolean isGeneric()
          Returns the generic property for the command.
 boolean isRetriable()
          Gets the retriable default property for this command
 void setClassName(java.lang.String newValue)
          Sets the command class name.
 void setDefaultProperties( TypedProperty newValue)
          Sets the default properties.
 void setGeneric(boolean newValue)
          Set the generic property.
 void setInterfaceName(java.lang.String newValue)
          Sets the interface name.
 void setKey(java.lang.String newValue)
          Sets they key value for this entry.
 void setProperties(java.lang.String newValue)
          Sets the default properties for this command.
 void setRetriable(boolean newValue)
          Sets the retriable property for this command.
 void setStoreEntityId(java.lang.Integer newValue)
          Sets the store Id .
 void setTarget(java.lang.String newValue)
          Sets the command target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandRegistryEntry

public CommandRegistryEntry()
Constructor for CommandRegistryEntry.

CommandRegistryEntry

public CommandRegistryEntry(java.lang.String ifName,
                            java.lang.Integer store,
                            java.lang.String iclassName,
                            java.lang.String props)
Constructs a command registry entry.
Parameters:
iclassName - command implementation class name
Method Detail

getClassName

public java.lang.String getClassName()
Gets the class name.
Returns:
class name

getDefaultProperties

public TypedProperty getDefaultProperties()
Gets the default properties.
Returns:
command properties

getInterfaceName

public java.lang.String getInterfaceName()
Gets the interface name.
Returns:
command interface name

getKey

public java.lang.String getKey()
Gets the key for identifying this entry.

return key for this entry


getProperties

public java.lang.String getProperties()
Gets the default properties.
Returns:
the default properties for this command

getSeparator

public java.lang.String getSeparator()
Gets the seperator for constructing the key.
Returns:
the seperator

getStoreEntityId

public java.lang.Integer getStoreEntityId()
Gets the store Id.
Returns:
store Id

getTarget

public java.lang.String getTarget()
Gets the command target. Only local is supported.
Returns:
command target

isGeneric

public boolean isGeneric()
Returns the generic property for the command.
Returns:
true if this is a generic command; false otherwise

isRetriable

public boolean isRetriable()
Gets the retriable default property for this command
Returns:
true if command is retriable; false otherwise

setClassName

public void setClassName(java.lang.String newValue)
Sets the command class name.
Parameters:
newValue - class name for the command

setDefaultProperties

public void setDefaultProperties(TypedProperty newValue)
Sets the default properties.
Parameters:
newValue - command properties

setGeneric

public void setGeneric(boolean newValue)
Set the generic property.
Parameters:
newValue - true if command is generic; false otherwise

setInterfaceName

public void setInterfaceName(java.lang.String newValue)
Sets the interface name.
Parameters:
newValue - interface name

setKey

public void setKey(java.lang.String newValue)
Sets they key value for this entry.
Parameters:
newValue - key value

setProperties

public void setProperties(java.lang.String newValue)
Sets the default properties for this command.
Parameters:
newValue - command properties

setRetriable

public void setRetriable(boolean newValue)
Sets the retriable property for this command.
Parameters:
newValue - true if the command is retriable; false otherwise

setStoreEntityId

public void setStoreEntityId(java.lang.Integer newValue)
Sets the store Id .
Parameters:
newValue - store Id

setTarget

public void setTarget(java.lang.String newValue)
Sets the command target.
Parameters:
newValue - command target