|
com.im.df.api 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DFEntity
The definition of an entity that contains fields. This can be thought of as the definition of data objects that can be used by Discovery Framework (DIF).
A DFEntity is an abstraction of a set of values organised in a row and column paradigm. A database table would be a typical example, but the abstraction allows a single entity to represent multiple tables such as a master table and a lookup table. Also, the source data can be transformed (e.g pivoted) to generate the row/column model. A DFEntity contains one or more DFFields, and can also define DFRelationships and indexes.
The DFEntity interface just defines the "structure" of the entity (e.g. think
of it as the DDL aspects of SQL). To work with the values contained in the DFEntity
you need to obtain a DFEntityDataProvider.
Use DIFUtilities.findEntityDataProvider(com.im.df.api.ddl.DFEntity).
DFSchema,
DFField,
DFEntityDataProvider,
DFCapability| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.im.df.api.ddl.DFItem |
|---|
DFItem.Handle<T extends DFItem> |
| Nested classes/interfaces inherited from interface com.im.df.api.support.PropertiesEditingConfigurable |
|---|
PropertiesEditingConfigurable.Extra |
| Field Summary | |
|---|---|
static String |
PROP_FIELDS
|
static String |
PROP_LISTS
|
| Fields inherited from interface com.im.df.api.ddl.DFItem |
|---|
PROP_CAPABILITIES, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_TYPE, PROP_VALID |
| Method Summary | |
|---|---|
DFContainer<DFField> |
getFields()
Get the fields container |
DFItem.Handle<DFEntity> |
getHandle()
Returns a handle to the Item. |
DFField |
getIdField()
Get the field that corresponds to the primary key for this entity. |
DFContainer<DFList> |
getLists()
|
DFSchema |
getSchema()
Get the parent schema. |
| Methods inherited from interface com.im.df.api.ddl.DFItem |
|---|
addPropertyChangeListener, getCapabilities, getDescription, getId, getName, getType, isValid, removePropertyChangeListener, setDescription, setName |
| Methods inherited from interface com.im.df.api.support.PropertiesEditingConfigurable |
|---|
isPropertyEditable |
| Field Detail |
|---|
static final String PROP_FIELDS
static final String PROP_LISTS
| Method Detail |
|---|
DFSchema getSchema()
DFContainer<DFField> getFields()
DFField getIdField()
DFContainer<DFList> getLists()
DFItem.Handle<DFEntity> getHandle()
DFItem
getHandle in interface DFItem
|
com.im.df.api 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||