org.org.usurper.handlers.basic
Class AbstractPropertyTypeHandler

java.lang.Object
  extended by org.org.usurper.handlers.basic.AbstractPropertyTypeHandler
All Implemented Interfaces:
IHandler
Direct Known Subclasses:
BooleanPropertyTypeHandler, BytePropertyTypeHandler, CharacterPropertyTypeHandler, DatePropertyTypeHandler, DatePropertyTypeHandler, DocumentPropertyTypeHandler, DoublePropertyTypeHandler, FloatPropertyTypeHandler, IntegerPropertyTypeHandler, ListAndSetPropertyTypeHandler, LongPropertyTypeHandler, MapPropertyTypeHandler, ShortPropertyTypeHandler, StringPropertyTypeHandler, TimestampPropertyTypeHandler, ValueObjectPropertyTypeHandler

public abstract class AbstractPropertyTypeHandler
extends java.lang.Object
implements IHandler

This is the class to extend in order to implement a handler for a specific type.

Author:
pagregoire

Constructor Summary
AbstractPropertyTypeHandler(java.lang.Class<?>... propertyTypeDefinitionClasses)
          Instantiates a new abstract property type handler.
AbstractPropertyTypeHandler(PropertyTypeDefinition... properTypeDefinitions)
          Instantiates a new abstract property type handler.
AbstractPropertyTypeHandler(java.util.Set<PropertyTypeDefinition> handledTypes)
          Instantiates a new abstract property type handler.
 
Method Summary
 java.util.Set<PropertyTypeDefinition> getHandledTypes()
          Gets the handled types.
 void setHandledTypes(java.util.Set<PropertyTypeDefinition> handledTypes)
          Sets the handled types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.org.usurper.handlers.IHandler
handle, handle
 

Constructor Detail

AbstractPropertyTypeHandler

public AbstractPropertyTypeHandler(PropertyTypeDefinition... properTypeDefinitions)
Instantiates a new abstract property type handler. Takes a series of PropertyTypeDefinition objects as parameter.

Parameters:
handledTypes - the handled types

AbstractPropertyTypeHandler

public AbstractPropertyTypeHandler(java.lang.Class<?>... propertyTypeDefinitionClasses)
Instantiates a new abstract property type handler. Takes a series of Class objects as parameter.

Parameters:
handledTypes - the handled types

AbstractPropertyTypeHandler

public AbstractPropertyTypeHandler(java.util.Set<PropertyTypeDefinition> handledTypes)
Instantiates a new abstract property type handler. Takes a Set of PropertyTypeDefinition objects as parameter.

Parameters:
handledTypes - the handled types
Method Detail

getHandledTypes

public java.util.Set<PropertyTypeDefinition> getHandledTypes()
Gets the handled types.

Returns:
Returns the handledType.

setHandledTypes

public void setHandledTypes(java.util.Set<PropertyTypeDefinition> handledTypes)
Sets the handled types.

Parameters:
handledTypes - the handled types


Copyright © 2008. All Rights Reserved.