|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataModelProperties
IDataModelProperties provides the base interface for all Data Model
Properties interfaces. Sub interface classes (e.g.
some.company.IFooDataModelProperties.class
) should be used to
create instances of IDataModels using the
DataModelFactory.createDataModel(Class)
method. In order for this
mechanism to work, the backing IDataModelProvider
class must be
registerd to support the sub IDataModelProperties interface in one of two
ways. This registration should be performed by the model developer.
The first way to register the correct IDataModelProvider
class is for
the interface to define a public static Class _provider_class field
which is set to the IDataModelProvider
class, e.g.
public static final Class _provider_class = some.company.FooDataModelProvider.class
IDataModelProperties
and
IDataModelProvider
classes are both defined in the same plugin scope.
A second mechanism using the DataModelProviderExtension extension point is
available when the IDataModelProvider
class is definend outside the
IDataModelProperties
plugin scope.
This interface is not intended to be implemented by clients.
IDataModelProvider
,
DataModelFactory
Field Summary | |
---|---|
static java.lang.String |
ALLOW_EXTENSIONS
A boolean property defaults to Boolean.TRUE. |
static java.lang.String |
RESTRICT_EXTENSIONS
A List containing String objects, defautls to an empty List. |
Field Detail |
---|
static final java.lang.String ALLOW_EXTENSIONS
static final java.lang.String RESTRICT_EXTENSIONS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |