Package nl.vpro.domain.media
Class GeoLocation
java.lang.Object
nl.vpro.domain.DomainObject
nl.vpro.domain.media.GeoLocation
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<GeoLocation>
,Child<GeoLocations>
,Identifiable<Long>
,GTAAManaged
,GTAARecordManaged
,MediaObjectOwnableListItem<GeoLocation,
,GeoLocations> nl.vpro.domain.media.support.OwnableListItem<GeoLocation,
,GeoLocations> org.meeuw.i18n.regions.Region
@Entity
public class GeoLocation
extends DomainObject
implements MediaObjectOwnableListItem<GeoLocation,GeoLocations>, org.meeuw.i18n.regions.Region, GTAARecordManaged
A GeoLocation is a wrapper around a GTAARecord linking it ot a GeoLocations record.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.meeuw.i18n.regions.Region
org.meeuw.i18n.regions.Region.Type
-
Field Summary
Fields inherited from class nl.vpro.domain.DomainObject
id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull GeoLocation.Builder
builder()
clone()
int
compareTo
(GeoLocation geoLocation) boolean
getCode()
The status in GTAA of this thesaurus item.The URI in GTAA of this thesaurus itemgetName()
getRole()
org.meeuw.i18n.regions.Region.Type
getType()
int
hashCode()
static GeoLocation
of
(GeoRoleType role, GTAARecord gtaaRecord) static GeoLocation
producedIn
(GTAARecord gtaaRecord) static GeoLocation
recordedIn
(GTAARecord gtaaRecord) void
setGtaaRecord
(GTAARecord gtaaRecord) void
setGtaaStatus
(GTAAStatus status) void
setGtaaUri
(String uri) void
void
setParent
(GeoLocations parent) void
setRole
(GeoRoleType role) void
setScopeNotes
(List<String> scopeNotes) static GeoLocation
subject
(GTAARecord gtaaRecord) @NonNull String
toString()
Methods inherited from class nl.vpro.domain.DomainObject
getId, isPersisted, setId
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface nl.vpro.domain.Identifiable
getId
Methods inherited from interface org.meeuw.i18n.regions.Region
getBundle, getIcon, getLocalName, getName, getName, toLocale, toStringBuilder
-
Constructor Details
-
GeoLocation
public GeoLocation()
-
-
Method Details
-
of
-
subject
-
producedIn
-
recordedIn
-
getName
- Specified by:
getName
in interfaceGTAAManaged
- Specified by:
getName
in interfaceGTAARecordManaged
- Specified by:
getName
in interfaceorg.meeuw.i18n.regions.Region
-
setName
- Specified by:
setName
in interfaceGTAAManaged
- Specified by:
setName
in interfaceGTAARecordManaged
-
getScopeNotes
- Specified by:
getScopeNotes
in interfaceGTAAManaged
- Specified by:
getScopeNotes
in interfaceGTAARecordManaged
-
setScopeNotes
- Specified by:
setScopeNotes
in interfaceGTAAManaged
- Specified by:
setScopeNotes
in interfaceGTAARecordManaged
-
getGtaaStatus
Description copied from interface:GTAARecordManaged
The status in GTAA of this thesaurus item.- Specified by:
getGtaaStatus
in interfaceGTAAManaged
- Specified by:
getGtaaStatus
in interfaceGTAARecordManaged
-
setGtaaStatus
- Specified by:
setGtaaStatus
in interfaceGTAAManaged
- Specified by:
setGtaaStatus
in interfaceGTAARecordManaged
-
getGtaaUri
Description copied from interface:GTAARecordManaged
The URI in GTAA of this thesaurus item- Specified by:
getGtaaUri
in interfaceGTAAManaged
- Specified by:
getGtaaUri
in interfaceGTAARecordManaged
-
setGtaaUri
- Specified by:
setGtaaUri
in interfaceGTAAManaged
- Specified by:
setGtaaUri
in interfaceGTAARecordManaged
-
equals
- Overrides:
equals
in classDomainObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDomainObject
-
compareTo
- Specified by:
compareTo
in interfaceComparable<GeoLocation>
-
clone
- Specified by:
clone
in interfaceMediaObjectOwnableListItem<GeoLocation,
GeoLocations> - Overrides:
clone
in classObject
-
getCode
- Specified by:
getCode
in interfaceorg.meeuw.i18n.regions.Region
-
getType
public org.meeuw.i18n.regions.Region.Type getType()- Specified by:
getType
in interfaceorg.meeuw.i18n.regions.Region
-
builder
-
getParent
- Specified by:
getParent
in interfaceChild<GeoLocations>
-
getRole
-
getGtaaRecord
- Specified by:
getGtaaRecord
in interfaceGTAARecordManaged
-
setParent
- Specified by:
setParent
in interfaceChild<GeoLocations>
-
setRole
-
setGtaaRecord
- Specified by:
setGtaaRecord
in interfaceGTAARecordManaged
-
toString
- Overrides:
toString
in classDomainObject
-