@Entity @Configurable public class Institution extends AgentBase<IIdentifiableEntityCacheStrategy<Institution>>
This class corresponds to:
Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache
annotations, markers
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
Institution()
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addType(DefinedTerm type)
Adds a new institutional type (from the corresponding
vocabulary )
to the set of institution types of this institution. |
java.lang.Object |
clone()
Clones this Institution.
|
java.lang.String |
getCode()
Returns the string representing the code (can also be an acronym or initials)
by which this institution is known among experts.
|
Institution |
getIsPartOf()
Returns the parent institution of this institution.
|
java.lang.String |
getName()
Returns the full name, as distinct from a code, an acronym or initials,
by which this institution is generally known.
|
java.util.Set<DefinedTerm> |
getTypes()
Returns the set of institution types (categories)
used to describe or circumscribe this institution's activities.
|
static Institution |
NewInstance()
Creates a new empty institution instance.
|
static Institution |
NewNamedInstance(java.lang.String name)
Creates a new empty institution instance.
|
void |
removeType(DefinedTerm type)
Removes one element from the set of institution types for this institution.
|
void |
setCode(java.lang.String code) |
void |
setIsPartOf(Institution parentInstitution)
Assigns a parent institution to which this institution belongs.
|
void |
setName(java.lang.String name) |
addAddress, addAddress, addEmailAddress, addFaxNumber, addPhoneNumber, addUrl, getAddresses, getContact, getEmailAddresses, getFaxNumbers, getPhoneNumbers, getUrls, removeAddress, removeEmailAddress, removeFaxNumber, removePhoneNumber, removeUrl, setContact
addMedia, getMedia, removeMedia
addCredit, addCredit, addExtension, addExtension, addIdentifier, addIdentifier, addIdentifier, addRights, addSource, addSources, createNewSource, generateTitle, getCacheStrategy, getCredits, getCredits, getData, getExtensions, getExtensions, getExtensions, getExtensionsConcat, getExtensionsConcat, getFilteredExtensions, getIdentifiers, getIdentifiers, getIdentifiers, getLsid, getRights, getTitleCache, getTruncatedCache, hasEmptyTitleCache, hasExtension, hasExtension, initListener, isProtectedTitleCache, removeCredit, removeCredit, removeExtension, removeIdentifier, removeIdentifier, removeRights, replaceCredit, replaceIdentifier, resetTitleCache, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache, toString, updateCaches, updateCaches
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, getSources, removeSource, removeSources
addAnnotation, addMarker, addMarker, getAnnotations, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker, setAnnotations
cloneLanguageString, equals, getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid
finalize, getClass, notify, notifyAll, wait, wait, wait
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
removeSources
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, getSources, removeSource
addAnnotation, addMarker, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
public static final Logger logger
public static Institution NewInstance()
public static Institution NewNamedInstance(java.lang.String name)
public java.util.Set<DefinedTerm> getTypes()
vocabulary
.public void addType(DefinedTerm type)
vocabulary
)
to the set of institution types of this institution.t
- any type of institutiongetTypes()
public void removeType(DefinedTerm type)
t
- the institution type which should be deletedgetTypes()
public Institution getIsPartOf()
public void setIsPartOf(Institution parentInstitution)
isPartOf
- the parent institutiongetIsPartOf()
public java.lang.String getCode()
public void setCode(java.lang.String code)
getCode()
public java.lang.String getName()
public void setName(java.lang.String name)
getName()
public java.lang.Object clone()
clone
in class IdentifiableMediaEntity<IIdentifiableEntityCacheStrategy<Institution>>
IdentifiableMediaEntity
,
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.