public abstract class MetaDataHolder extends Object
Modifier and Type | Field and Description |
---|---|
protected List<MetaDataObject> |
descriptions
The descriptions about the entity.
|
Constructor and Description |
---|
MetaDataHolder()
Instantiates a new MetaDataHolder.
|
Modifier and Type | Method and Description |
---|---|
void |
addDescription(MetaDataObject description)
Adds another meta object describing this entry.
|
void |
addDescription(String fragmentIdentifier,
MetaDataObject description)
Adds another meta object describing this entry.
|
List<MetaDataObject> |
getDescriptions()
Gets the
MetaDataObjects describing this entity. |
abstract String |
getEntityPath()
Gets the path to this entity.
|
boolean |
removeDescription(MetaDataObject toDelete)
Removes a certain description of this entity.
|
protected List<MetaDataObject> descriptions
public abstract String getEntityPath()
public List<MetaDataObject> getDescriptions()
MetaDataObjects
describing this entity.
The returned list can contain any number of MetaDataObjects
, but might as well be empty.
public boolean removeDescription(MetaDataObject toDelete)
toDelete
- the meta data object to deletepublic void addDescription(String fragmentIdentifier, MetaDataObject description)
fragmentIdentifier
- the fragment identifier pointing into this entrydescription
- the new descriptionpublic void addDescription(MetaDataObject description)
description
- the new descriptionCopyright © 2015. All rights reserved.