public class MetadataProvider extends Object
Constructor and Description |
---|
MetadataProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addMetadataForProperty(EntityProperty property,
Object metadata)
Registers the provided property metadata for the specified entity property.
|
Object |
resolveMetadataForProperty(EntityProperty property)
Resolves the metadata registered for the specified entity property.
|
public void addMetadataForProperty(EntityProperty property, Object metadata)
property
- an instance of the EntityProperty
class representing the property to register
the metadata for.public Object resolveMetadataForProperty(EntityProperty property)
null
if no metadata is available.property
- an instance of the EntityProperty
class representing the
property to resolve the metadata for.