visidia.misc.property.cell.handler
Class ClassIdentifierCellHandler

java.lang.Object
  extended by visidia.misc.property.cell.handler.ClassIdentifierCellHandler
Direct Known Subclasses:
SensorMoverCellHandler

public abstract class ClassIdentifierCellHandler
extends java.lang.Object

ClassIdentifierCellHandler is the abstract base class for handling requests on ClassIdentifier instanceTypes. It is involved in a pattern "chain of responsability".


Field Summary
protected  ClassIdentifierCellHandler successor
          The successor.
 
Constructor Summary
ClassIdentifierCellHandler()
           
 
Method Summary
abstract  java.lang.Class<?> getLoaderType()
          Gets the loader type.
abstract  java.lang.Class<?> getObjectType()
          Gets the object type.
abstract  java.lang.String getPath()
          Gets the path.
 ClassIdentifierCellHandler getSuccessor()
          Gets the successor.
abstract  boolean matchType(java.lang.Class<?> instanceType)
          Match type.
 void setSuccessor(ClassIdentifierCellHandler successor)
          Sets the successor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

successor

protected ClassIdentifierCellHandler successor
The successor.

Constructor Detail

ClassIdentifierCellHandler

public ClassIdentifierCellHandler()
Method Detail

getSuccessor

public ClassIdentifierCellHandler getSuccessor()
Gets the successor.

Returns:
the successor

setSuccessor

public void setSuccessor(ClassIdentifierCellHandler successor)
Sets the successor.

Parameters:
successor - the new successor

getPath

public abstract java.lang.String getPath()
Gets the path.

Returns:
the path

getLoaderType

public abstract java.lang.Class<?> getLoaderType()
Gets the loader type.

Returns:
the loader type

getObjectType

public abstract java.lang.Class<?> getObjectType()
Gets the object type.

Returns:
the object type

matchType

public abstract boolean matchType(java.lang.Class<?> instanceType)
Match type.

Parameters:
instanceType - the instance type
Returns:
true, if successful