public interface EntityMetadata<A extends AttributeMetadata>
Modifier and Type | Method and Description |
---|---|
A |
attribute(java.lang.String name)
Get
AttributeMetadata by name. |
java.util.Map<java.lang.String,A> |
embeddedAttributes()
A Map of attribute metadata keyed on the attribute's name.
|
A |
idAttribute()
The
AttributeMetadata representing the ID of the entity. |
java.util.Map<java.lang.String,A> |
linkedAttributes()
A Map of linked attribute metadata keyed on the attribute's name.
|
java.lang.Class<?> |
type()
The class of this entity.
|
A |
versionAttribute()
The
AttributeMetadata representing the version of the entity, if applicable. |
java.lang.Class<?> type()
java.util.Map<java.lang.String,A> embeddedAttributes()
java.util.Map<java.lang.String,A> linkedAttributes()
A idAttribute()
AttributeMetadata
representing the ID of the entity.AttributeMetadata
for the ID.A versionAttribute()
AttributeMetadata
representing the version of the entity, if applicable.AttributeMetadata
or null if no version attributes exists.A attribute(java.lang.String name)
AttributeMetadata
by name.name
- The name of the attribute.AttributeMetadata
or null if that attribute doesn't exist.