org.drools.eclipse.flow.common.datatype
Interface DataTypeRegistry

All Known Implementing Classes:
DataTypeRegistryImpl

public interface DataTypeRegistry

A registry of datatypes.


Nested Class Summary
static interface DataTypeRegistry.IDataTypeInfo
           
 
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)
           
 

Method Detail

getDataTypes

Set getDataTypes()
Returns all registered data types.


registerDataType

void registerDataType(Class type,
                      org.drools.process.core.datatype.DataTypeFactory dataTypeFactory,
                      String name,
                      Class valueEditorClass,
                      Class dataTypeEditorClass)

getDataTypeInfo

DataTypeRegistry.IDataTypeInfo getDataTypeInfo(Class type)
Returns the data type info of the data type with the given type

Parameters:
type -
Returns:
the data type info
Throws:
IllegalArgumentException - if the data type info of this type cannot be found


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