Drools :: Eclipse :: Base 6.1.0.Beta2

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<DataTypeRegistry.IDataTypeInfo> getDataTypes()
          Returns all registered data types.
 void registerDataType(Class<?> type, org.drools.core.process.core.datatype.DataTypeFactory dataTypeFactory, String name, Class<?> valueEditorClass, Class<?> dataTypeEditorClass)
           
 

Method Detail

getDataTypes

Set<DataTypeRegistry.IDataTypeInfo> getDataTypes()
Returns all registered data types.


registerDataType

void registerDataType(Class<?> type,
                      org.drools.core.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

Drools :: Eclipse :: Base 6.1.0.Beta2

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