Class GeoLocation
java.lang.Object
de.digitalcollections.model.UniqueObject
de.digitalcollections.model.identifiable.Identifiable
de.digitalcollections.model.identifiable.entity.Entity
de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation
- All Implemented Interfaces:
NamedEntity
- Direct Known Subclasses:
Canyon
,Cave
,Continent
,Country
,Creek
,HumanSettlement
,Lake
,Mountain
,Ocean
,River
,Sea
,StillWaters
,Valley
A location located on earth.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
GeoLocation.GeoLocationBuilder<C extends GeoLocation,
B extends GeoLocation.GeoLocationBuilder<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
Modifier and TypeFieldDescriptionprotected CoordinateLocation
protected GeoLocationType
protected LocalizedText
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
setCoordinateLocation
(CoordinateLocation coordinateLocation) void
setGeoLocationType
(GeoLocationType geoLocationType) void
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
-
coordinateLocation
-
geoLocationType
-
name
-
nameLocalesOfOriginalScripts
-
-
Constructor Details
-
GeoLocation
public GeoLocation()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getCoordinateLocation
-
getGeoLocationType
-
getLatitude
-
getLongitude
-
getName
- Specified by:
getName
in interfaceNamedEntity
-
getNameLocalesOfOriginalScripts
- Specified by:
getNameLocalesOfOriginalScripts
in interfaceNamedEntity
-
init
protected void init()Description copied from class:UniqueObject
Use to initialize member variables, used by default constructor and builder -
setCoordinateLocation
-
setGeoLocationType
-
setName
- Specified by:
setName
in interfaceNamedEntity
-
setNameLocalesOfOriginalScripts
- Specified by:
setNameLocalesOfOriginalScripts
in interfaceNamedEntity
-
toString
-