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()
          Default constructor for command registry entry.
CommandRegistryEntry(java.lang.String ifName, java.lang.Integer store, java.lang.String iclassName, java.lang.String props)
          Construct 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()
          TGets 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 defaull 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 targte.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandRegistryEntry

public CommandRegistryEntry()
Default constructor for command registry entry.

CommandRegistryEntry

public CommandRegistryEntry(java.lang.String ifName,
                            java.lang.Integer store,
                            java.lang.String iclassName,
                            java.lang.String props)
Construct a command registry entry.

Parameters:
ifname - String - interface name
storeId - Integer - store Id
className - String - command implementation class name
properties - TypedProperty - default command properties
Method Detail

getClassName

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

getDefaultProperties

public TypedProperty getDefaultProperties()
Gets the default properties.

Returns:
TypedProperty

getInterfaceName

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

Returns:
java.lang.String - command interface name

getKey

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

return String - key for this entry


getProperties

public java.lang.String getProperties()
Gets the default properties.

Returns:
TypedProperty - the default properties for this command

getSeparator

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

Returns:
String - the seperator

getStoreEntityId

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

getTarget

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

isGeneric

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

isRetriable

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

setClassName

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

setDefaultProperties

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

setGeneric

public void setGeneric(boolean newValue)
Set the generic property.
Parameters:
newValue - boolean

setInterfaceName

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

Parameters:
newValue - java.lang.String

setKey

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

setProperties

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

setRetriable

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

setStoreEntityId

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

setTarget

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