Class MetaDataHolder

    • Field Detail

      • descriptions

        protected List<MetaDataObject> descriptions
        The descriptions about the entity.
    • Constructor Detail

      • MetaDataHolder

        public MetaDataHolder()
        Instantiates a new MetaDataHolder.
    • Method Detail

      • getEntityPath

        public abstract String getEntityPath()
        Gets the path to this entity.
        Returns:
        the file path
      • removeDescription

        public boolean removeDescription​(MetaDataObject toDelete)
        Removes a certain description of this entity.
        Parameters:
        toDelete - the meta data object to delete
        Returns:
        true, if successful
      • addDescription

        public void addDescription​(String fragmentIdentifier,
                                   MetaDataObject description)
        Adds another meta object describing this entry.
        Parameters:
        fragmentIdentifier - the fragment identifier pointing into this entry
        description - the new description
      • addDescription

        public void addDescription​(MetaDataObject description)
        Adds another meta object describing this entry.
        Parameters:
        description - the new description