|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.org.usurper.setup.ImmutableUsurperGeneratorSetup
public class ImmutableUsurperGeneratorSetup
This is the immutable version of the class setting up the behaviour of the UsurperGenerator.
| Constructor Summary | |
|---|---|
ImmutableUsurperGeneratorSetup(java.util.Map<PropertyTypeDefinition,AbstractPropertyTypeHandler> propertyTypeHandlersMap,
java.util.Map<SpecificPropertyDefinition,AbstractSpecificPropertyHandler> specificPropertyHandlersMap,
ArrayHandler arrayHandler,
EnumHandler enumHandler,
OnMissingHandlers onMissingHandlers,
PropertyWritingMechanism propertyWritingMechanism,
ICountCallback countCallback)
Instantiates a new immutable usurper generator setup. |
|
| Method Summary | |
|---|---|
java.util.Map<ITargetDefinition,IHandler> |
getAllHandlers()
Gets all handlers. |
ArrayHandler |
getArrayHandler()
Gets the array handler. |
ICountCallback |
getCountCallback()
Gets the count callback. |
EnumHandler |
getEnumHandler()
Gets the enum handler. |
OnMissingHandlers |
getOnMissingHandlers()
Gets the on missing handlers behavior. |
AbstractPropertyTypeHandler |
getPropertyTypeHandler(PropertyTypeDefinition propertyTypeDefinition)
This method retrieves the Handler for Properties of a given java type. |
java.util.Map<PropertyTypeDefinition,AbstractPropertyTypeHandler> |
getPropertyTypeHandlersMap()
Gets the property type handlers map. |
PropertyWritingMechanism |
getPropertyWritingMechanism()
Gets the property writing mechanism behavior. |
AbstractSpecificPropertyHandler |
getSpecificPropertyHandler(SpecificPropertyDefinition specificPropertyDefinition)
This method retrieves the Handler for a given Property of a given Class. |
java.util.Map<SpecificPropertyDefinition,AbstractSpecificPropertyHandler> |
getSpecificPropertyHandlersMap()
Gets the specific property handlers map. |
boolean |
hasPropertyTypeHandler(PropertyTypeDefinition propertyTypeDefinition)
This method tests if a handler is registered for a given Java Type. |
boolean |
hasSpecificPropertyHandler(SpecificPropertyDefinition specificPropertyDefinition)
This method tests if a handler is registered for a given Property of a given Class. |
java.lang.String |
toString()
|
java.lang.String |
toStringRepresentation()
The implementation of this method must return a String representation of the setup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImmutableUsurperGeneratorSetup(java.util.Map<PropertyTypeDefinition,AbstractPropertyTypeHandler> propertyTypeHandlersMap,
java.util.Map<SpecificPropertyDefinition,AbstractSpecificPropertyHandler> specificPropertyHandlersMap,
ArrayHandler arrayHandler,
EnumHandler enumHandler,
OnMissingHandlers onMissingHandlers,
PropertyWritingMechanism propertyWritingMechanism,
ICountCallback countCallback)
propertyTypeHandlersMap - the property type handlers mapspecificPropertyHandlersMap - the specific property handlers maparrayHandler - the array handlerenumHandler - the enum handleronMissingHandlers - the on missing handlerspropertyWritingMechanism - the property writing mechanismcountCallback - the count callback| Method Detail |
|---|
public java.util.Map<PropertyTypeDefinition,AbstractPropertyTypeHandler> getPropertyTypeHandlersMap()
IUsurperGeneratorSetup
getPropertyTypeHandlersMap in interface IUsurperGeneratorSetupIUsurperGeneratorSetup.getPropertyTypeHandlersMap()public java.util.Map<SpecificPropertyDefinition,AbstractSpecificPropertyHandler> getSpecificPropertyHandlersMap()
IUsurperGeneratorSetup
getSpecificPropertyHandlersMap in interface IUsurperGeneratorSetupIUsurperGeneratorSetup.getSpecificPropertyHandlersMap()public ArrayHandler getArrayHandler()
IUsurperGeneratorSetup
getArrayHandler in interface IUsurperGeneratorSetupIUsurperGeneratorSetup.getArrayHandler()public EnumHandler getEnumHandler()
IUsurperGeneratorSetup
getEnumHandler in interface IUsurperGeneratorSetupIUsurperGeneratorSetup.getEnumHandler()public OnMissingHandlers getOnMissingHandlers()
IUsurperGeneratorSetup
getOnMissingHandlers in interface IUsurperGeneratorSetupIUsurperGeneratorSetup.getOnMissingHandlers()public PropertyWritingMechanism getPropertyWritingMechanism()
IUsurperGeneratorSetup
getPropertyWritingMechanism in interface IUsurperGeneratorSetupIUsurperGeneratorSetup.getPropertyWritingMechanism()public ICountCallback getCountCallback()
IUsurperGeneratorSetup
getCountCallback in interface IUsurperGeneratorSetupIUsurperGeneratorSetup.getCountCallback()public java.util.Map<ITargetDefinition,IHandler> getAllHandlers()
IUsurperGeneratorSetup
getAllHandlers in interface IUsurperGeneratorSetupIUsurperGeneratorSetup.getAllHandlers()public boolean hasPropertyTypeHandler(PropertyTypeDefinition propertyTypeDefinition)
IUsurperGeneratorSetup
hasPropertyTypeHandler in interface IUsurperGeneratorSetuppropertyTypeDefinition - the property type definition
IUsurperGeneratorSetup.hasPropertyTypeHandler(org.org.usurper.model.PropertyTypeDefinition)public AbstractPropertyTypeHandler getPropertyTypeHandler(PropertyTypeDefinition propertyTypeDefinition)
IUsurperGeneratorSetup
getPropertyTypeHandler in interface IUsurperGeneratorSetuppropertyTypeDefinition - the property type definition
IUsurperGeneratorSetup.getPropertyTypeHandler(org.org.usurper.model.PropertyTypeDefinition)public boolean hasSpecificPropertyHandler(SpecificPropertyDefinition specificPropertyDefinition)
IUsurperGeneratorSetup
hasSpecificPropertyHandler in interface IUsurperGeneratorSetupspecificPropertyDefinition - the specific property definition
IUsurperGeneratorSetup.hasSpecificPropertyHandler(org.org.usurper.model.SpecificPropertyDefinition)public AbstractSpecificPropertyHandler getSpecificPropertyHandler(SpecificPropertyDefinition specificPropertyDefinition)
IUsurperGeneratorSetup
getSpecificPropertyHandler in interface IUsurperGeneratorSetupspecificPropertyDefinition - the specific property definition
IUsurperGeneratorSetup.getSpecificPropertyHandler(org.org.usurper.model.SpecificPropertyDefinition)public java.lang.String toStringRepresentation()
IUsurperGeneratorSetup
toStringRepresentation in interface IUsurperGeneratorSetupIUsurperGeneratorSetup.toStringRepresentation()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||