Interface Entity

  • All Superinterfaces:
    Identifiable
    All Known Subinterfaces:
    Article<A>, Collection, Corporation, DigitalObject, Project, Topic, Website
    All Known Implementing Classes:
    ArticleImpl, CollectionImpl, CorporationImpl, DigitalObjectImpl, EntityImpl, ProjectImpl, TopicImpl, WebsiteImpl

    public interface Entity
    extends Identifiable
    Entities are uniquely identifiable objects, often also uniquely identifiable outside of this technical system - by additionally having unique identifiers of other systems (like GND-Id, VIAF-ID, etc.). An entity is of a specific entity type, like e.g. cultural object, item, manifestation, work, digital object, person, corporation.

    Bibliographic entity types for example are defined in the “Functional Requirements for Bibliographic Records” (FRBR; deutsch ‚Funktionale Anforderungen an bibliographische Datensätze‘): see Wikipedia “Functional Requirements for Bibliographic Records”, URLs:

    https://de.wikipedia.org/wiki/Functional_Requirements_for_Bibliographic_Records https://en.wikipedia.org/wiki/Functional_Requirements_for_Bibliographic_Records

    • Method Detail

      • getEntityType

        EntityType getEntityType()
        Returns:
        the type of the entity (one of the types this system can manage, defined in enum EntityType).
      • setEntityType

        void setEntityType​(EntityType entityType)
        Parameters:
        entityType - the type of the entity
      • getRefId

        long getRefId()
        Get the system wide unique reference id. Makes it possible to create very short permanent URIs by using a number.
        Returns:
        system wide unique entity reference id
      • setRefId

        void setRefId​(long refId)
        Parameters:
        refId - system wide unique entity reference id.