org.drools.eclipse.flow.common.datatype.impl
Class DataTypeRegistryImpl

java.lang.Object
  extended by org.drools.eclipse.flow.common.datatype.impl.DataTypeRegistryImpl
All Implemented Interfaces:
DataTypeRegistry

public class DataTypeRegistryImpl
extends Object
implements DataTypeRegistry

Default implementation of a datatype registry.


Nested Class Summary
 class DataTypeRegistryImpl.DataTypeInfo
           
 
Nested classes/interfaces inherited from interface org.drools.eclipse.flow.common.datatype.DataTypeRegistry
DataTypeRegistry.IDataTypeInfo
 
Constructor Summary
DataTypeRegistryImpl()
           
 
Method Summary
 DataTypeRegistry.IDataTypeInfo getDataTypeInfo(Class type)
          Returns the data type info of the data type with the given type
 Set getDataTypes()
          Returns all registered data types.
 void registerDataType(Class type, org.drools.process.core.datatype.DataTypeFactory dataTypeFactory, String name, Class valueEditorClass, Class dataTypeEditorClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTypeRegistryImpl

public DataTypeRegistryImpl()
Method Detail

getDataTypes

public Set getDataTypes()
Description copied from interface: DataTypeRegistry
Returns all registered data types.

Specified by:
getDataTypes in interface DataTypeRegistry

registerDataType

public void registerDataType(Class type,
                             org.drools.process.core.datatype.DataTypeFactory dataTypeFactory,
                             String name,
                             Class valueEditorClass,
                             Class dataTypeEditorClass)
Specified by:
registerDataType in interface DataTypeRegistry

getDataTypeInfo

public DataTypeRegistry.IDataTypeInfo getDataTypeInfo(Class type)
Description copied from interface: DataTypeRegistry
Returns the data type info of the data type with the given type

Specified by:
getDataTypeInfo in interface DataTypeRegistry
Returns:
the data type info


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.