org.simantics.databoard.bindingscheme
Interface BindingScheme

All Known Implementing Classes:
BindingRepository, GenericBindingScheme, SingleBinding, UnboundScheme

public interface BindingScheme


Method Summary
 Binding getBinding(DataType type)
          Get binding of a data type
 boolean supportsType(DataType type)
          Tests if the scheme supports a type
 

Method Detail

getBinding

Binding getBinding(DataType type)
                   throws BindingConstructionException
Get binding of a data type

Parameters:
type - data type
Returns:
binding
Throws:
BindingConstructionException - if data type is not supported

supportsType

boolean supportsType(DataType type)
Tests if the scheme supports a type

Parameters:
type -
Returns:
true if the type is with in the scheme