public interface DatasetProvider
Modifier and Type | Method and Description |
---|---|
Dataset |
getDataset(Entity entity)
Get a dataset for the given entity.
|
Dataset |
getDataset(Entity entity,
Revision revision)
Get a dataset for the given entity in a defined revision.
|
EntityType |
getEntityType()
Get the entity type supported by this dataset provider.
|
Schema |
getSchema()
Get the schema the provider refers to.
|
@NotNull Dataset getDataset(@NotNull Entity entity)
entity
- The entity to get as Dataset.@Nullable Dataset getDataset(@NotNull Entity entity, @NotNull Revision revision)
entity
- The entity to get as Dataset.revision
- The revision to get the Dataset in.null
.@NotNull EntityType getEntityType() throws EntityTypeNotFoundException
EntityTypeNotFoundException
EntityTypeNotFoundException
- when a referenced entity type (database table) does not exist.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408