Class Agent
java.lang.Object
de.digitalcollections.model.UniqueObject
de.digitalcollections.model.identifiable.Identifiable
de.digitalcollections.model.identifiable.entity.Entity
de.digitalcollections.model.identifiable.entity.agent.Agent
- All Implemented Interfaces:
NamedEntity
- Direct Known Subclasses:
CorporateBody
,Family
,Person
https://books.google.de/books?id=foGBCgAAQBAJ&pg=PA151:
The classes corresponding to the entities person, family and corporate body are subclasses of the Agent class, since these entities share attributes and relationships between them. For instance, intellectual creations may be gathered into a class "Work" and its creators may be gathered into classes like "Person", "Family" and "Corporate body".
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Agent.AgentBuilder<C extends Agent,
B extends Agent.AgentBuilder<C, B>> Nested classes/interfaces inherited from class de.digitalcollections.model.identifiable.entity.Entity
Entity.EntityBuilder<C extends Entity,
B extends Entity.EntityBuilder<C, B>> Nested classes/interfaces inherited from class de.digitalcollections.model.identifiable.Identifiable
Identifiable.IdentifiableBuilder<C extends Identifiable,
B extends Identifiable.IdentifiableBuilder<C, B>> Nested classes/interfaces inherited from class de.digitalcollections.model.UniqueObject
UniqueObject.UniqueObjectBuilder<C extends UniqueObject,
B extends UniqueObject.UniqueObjectBuilder<C, B>> -
Field Summary
Fields inherited from class de.digitalcollections.model.identifiable.entity.Entity
customAttributes, navDate, notes, refId
Fields inherited from class de.digitalcollections.model.identifiable.Identifiable
description, identifiableObjectType, identifiers, label, localizedUrlAliases, previewImage, previewImageRenderingHints, subjects, tags, type
Fields inherited from class de.digitalcollections.model.UniqueObject
created, lastModified, uuid
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
int
hashCode()
protected void
init()
Use to initialize member variables, used by default constructor and buildervoid
setName
(LocalizedText name) void
setNameLocalesOfOriginalScripts
(Set<Locale> localesOfOriginalScripts) toString()
Methods inherited from class de.digitalcollections.model.identifiable.entity.Entity
addNotes, getCustomAttribute, getCustomAttributes, getEntityType, getNavDate, getNotes, getRefId, setCustomAttribute, setCustomAttributes, setNavDate, setNotes, setRefId
Methods inherited from class de.digitalcollections.model.identifiable.Identifiable
addIdentifier, addLocalizedUrlAlias, addSubject, addTag, getDescription, getIdentifiableObjectType, getIdentifierByNamespace, getIdentifiers, getLabel, getLocalizedUrlAliases, getPreviewImage, getPreviewImageRenderingHints, getPrimaryUrlAlias, getSubjects, getTags, getType, removeIdentifier, setDescription, setIdentifiableObjectType, setIdentifiers, setLabel, setLabel, setLocalizedUrlAliases, setPreviewImage, setPreviewImageRenderingHints, setSubjects, setTags, setType
Methods inherited from class de.digitalcollections.model.UniqueObject
getCreated, getLastModified, getUuid, isPersisted, setCreated, setLastModified, setUuid
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.digitalcollections.model.identifiable.entity.NamedEntity
addNameLocaleOfOriginalScript
-
Field Details
-
name
-
nameLocalesOfOriginalScripts
-
-
Constructor Details
-
Agent
public Agent()
-
-
Method Details
-
init
protected void init()Description copied from class:UniqueObject
Use to initialize member variables, used by default constructor and builder -
getName
- Specified by:
getName
in interfaceNamedEntity
-
getNameLocalesOfOriginalScripts
- Specified by:
getNameLocalesOfOriginalScripts
in interfaceNamedEntity
-
setName
- Specified by:
setName
in interfaceNamedEntity
-
setNameLocalesOfOriginalScripts
- Specified by:
setNameLocalesOfOriginalScripts
in interfaceNamedEntity
-
equals
-
hashCode
public int hashCode() -
toString
-