org.simantics.databoard.binding.factory
Interface BindingScheme

All Known Implementing Classes:
BindingFactory, DefaultBindingFactory, MutableBindingFactory, SingleBindingScheme

public interface BindingScheme


Method Summary
 Binding getBinding(Datatype type)
          Get binding of a data type
 Binding getBindingUnchecked(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

getBindingUnchecked

Binding getBindingUnchecked(Datatype type)
                            throws RuntimeBindingConstructionException
Get binding of a data type

Parameters:
type - data type
Returns:
binding
Throws:
RuntimeBindingConstructionException - 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 supported by the scheme