public abstract class AbstractModel extends AbstractAnnotated implements Provided
Modifier | Constructor and Description |
---|---|
|
AbstractModel() |
protected |
AbstractModel(ProviderId providerId,
Annotations... annotations)
Creates a model entity attributed to the specified provider and
optionally annotated.
|
Modifier and Type | Method and Description |
---|---|
ProviderId |
providerId()
Returns the identifier of the provider which supplied the entity.
|
annotations
public AbstractModel()
protected AbstractModel(ProviderId providerId, Annotations... annotations)
providerId
- identity of the providerannotations
- optional key/value annotationspublic ProviderId providerId()
Provided
providerId
in interface Provided