Package org.gedcomx.conclusion
Class PlaceDescription
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.links.HypermediaEnabledData
org.gedcomx.conclusion.Conclusion
org.gedcomx.conclusion.Subject
org.gedcomx.conclusion.PlaceDescription
- All Implemented Interfaces:
Attributable,HasNotes,HasTransientProperties,SupportsLinks,SupportsExtensionElements,ReferencesSources
A PlaceDescription is used to describe the details of a place in terms of its name
and possibly its type, time period, and/or a geospatial description -- a description
of a place as a snapshot in time.
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(GedcomxModelVisitor visitor) Accept a visitor.voidAdd a name to the list of standardized names.analysis(ResourceReference analysis) Add a reference to the analysis for this conclusion.Add a reference to the analysis for this conclusion.Add a reference to the analysis for this conclusion.attribution(Attribution attribution) Build up this conclusion with attribution.confidence(URI confidence) Build up this conclusion with a confidence level.confidence(ConfidenceLevel confidence) Build up this conclusion with a confidence level.displayExtension(PlaceDisplayProperties display) Build out this place with a display exension.voidembed(PlaceDescription place) Embed another place.booleanevidence(EvidenceReference evidence) Build up this subject with an evidence reference.evidence(PlaceDescription evidence) extensionElement(Object element) Build up this subject with an extracted flag.Display properties for the place.A reference to a description of the jurisdiction this place.Degrees north or south of the Equator (0.0 degrees).Angular distance in degrees, relative to the Prime Meridian.getNames()An ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place.getPlace()A reference to the place being described.A reference to a geospatial description of this place.A description of the time period to which this place description is relevant.getType()An implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).inthashCode()Build up this object with an id.identifier(Identifier identifier) Build up this subject with an identifier.jurisdiction(ResourceReference jurisdiction) Build out this place description with a jurisdiction.Build up this conclusion with a lang.Build out this place description with a latitude.Build up this data with a link.Build up this data with a link.Build out this place description with a longitude.media(SourceDescription media) Build up this subject with a media reference.media(SourceReference media) Build up this subject with a media reference.Build out this description with a name.Build out this description with a name.names()Create a stream for the names.Build up this conclusion with a note.place(ResourceReference place) Build out this place description with a place.voidDisplay properties for the place.voidsetJurisdiction(ResourceReference jurisdiction) A reference to a description of the jurisdiction this place.voidsetLatitude(Double latitude) Degrees north or south of the Equator (0.0 degrees).voidsetLongitude(Double longitude) Angular distance in degrees, relative to the Prime Meridian.voidAn ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place.voidsetPlace(ResourceReference place) A reference to the place being described.voidsetSpatialDescription(ResourceReference spatialDescription) A reference to a geospatial description of this place.voidsetTemporalDescription(Date temporalDescription) A description of the time period to which this place description is relevant.voidAn implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).Build up this fact with a sort key.source(SourceDescription source) Build up this conclusion with a source reference.source(SourceReference sourceReference) Build up this conclusion with a source reference.spatialDescription(ResourceReference spatialDescription) Build out this place description with a spacial description.temporalDescription(Date temporalDescription) Build out this place description with a temporal description.Build out this place description with a type.Methods inherited from class org.gedcomx.conclusion.Subject
addEvidence, addIdentifier, addMedia, embed, evidence, getEvidence, getExtracted, getIdentifiers, getMedia, getPersistentId, identifiers, media, setEvidence, setExtracted, setIdentifiers, setMedia, setPersistentIdMethods inherited from class org.gedcomx.conclusion.Conclusion
addNote, addSource, embed, getAnalysis, getAttribution, getConfidence, getKnownConfidenceLevel, getLang, getNotes, getSortKey, getSources, notes, setAnalysis, setAttribution, setConfidence, setKnownConfidenceLevel, setLang, setNotes, setSortKey, setSources, sources, toStringMethods inherited from class org.gedcomx.links.HypermediaEnabledData
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksMethods inherited from class org.gedcomx.common.ExtensibleData
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientPropertyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gedcomx.common.Attributable
getAttribution, setAttribution
-
Constructor Details
-
PlaceDescription
public PlaceDescription() -
PlaceDescription
-
-
Method Details
-
id
Description copied from class:ExtensibleDataBuild up this object with an id. -
extensionElement
- Overrides:
extensionElementin classSubject
-
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link. -
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link. -
lang
Description copied from class:ConclusionBuild up this conclusion with a lang. -
confidence
Description copied from class:ConclusionBuild up this conclusion with a confidence level.- Overrides:
confidencein classSubject- Parameters:
confidence- The confidence level.- Returns:
- this.
-
confidence
Description copied from class:ConclusionBuild up this conclusion with a confidence level.- Overrides:
confidencein classSubject- Parameters:
confidence- The confidence level.- Returns:
- this.
-
source
Description copied from class:ConclusionBuild up this conclusion with a source reference. -
source
Description copied from class:ConclusionBuild up this conclusion with a source reference. -
note
Description copied from class:ConclusionBuild up this conclusion with a note. -
analysis
Description copied from class:ConclusionAdd a reference to the analysis for this conclusion. -
attribution
Description copied from class:ConclusionBuild up this conclusion with attribution.- Overrides:
attributionin classSubject- Parameters:
attribution- The attribution.- Returns:
- this.
-
analysis
Description copied from class:ConclusionAdd a reference to the analysis for this conclusion. -
analysis
Description copied from class:ConclusionAdd a reference to the analysis for this conclusion. -
extracted
Description copied from class:SubjectBuild up this subject with an extracted flag. -
identifier
Description copied from class:SubjectBuild up this subject with an identifier.- Overrides:
identifierin classSubject- Parameters:
identifier- The identifier.- Returns:
- this.
-
evidence
Description copied from class:SubjectBuild up this subject with an evidence reference. -
evidence
-
media
Description copied from class:SubjectBuild up this subject with a media reference. -
media
Description copied from class:SubjectBuild up this subject with a media reference. -
sortKey
Description copied from class:ConclusionBuild up this fact with a sort key. -
names
Create a stream for the names.- Returns:
- a stream for the names.
-
getNames
An ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place. The list MUST include at least one value. It is RECOMMENDED that instances include a single name and any equivalents from other cultural contexts; name variants should more typically be described in separate PlaceDescription instances. The list is assumed to be given in order of preference, with the most preferred value in the first position in the list.- Returns:
- An ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place.
-
setNames
An ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place. The list MUST include at least one value. It is RECOMMENDED that instances include a single name and any equivalents from other cultural contexts; name variants should more typically be described in separate PlaceDescription instances. The list is assumed to be given in order of preference, with the most preferred value in the first position in the list.- Parameters:
names- An ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place.
-
name
Build out this description with a name.- Parameters:
name- The name.- Returns:
- this.
-
name
Build out this description with a name.- Parameters:
name- The name.- Returns:
- this.
-
addName
Add a name to the list of standardized names.- Parameters:
name- The name to be added.
-
getType
An implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).- Returns:
- An implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).
-
setType
An implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).- Parameters:
type- An implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).
-
type
Build out this place description with a type.- Parameters:
type- The type.- Returns:
- this.
-
getTemporalDescription
A description of the time period to which this place description is relevant.- Returns:
- A description of the time period to which this place description is relevant.
-
setTemporalDescription
A description of the time period to which this place description is relevant.- Parameters:
temporalDescription- A description of the time period to which this place description is relevant.
-
temporalDescription
Build out this place description with a temporal description.- Parameters:
temporalDescription- the temporal description.- Returns:
- this.
-
getLatitude
Degrees north or south of the Equator (0.0 degrees). Values range from −90.0 degrees (south) to 90.0 degrees (north).- Returns:
- Degrees north or south of the Equator.
-
setLatitude
Degrees north or south of the Equator (0.0 degrees). Values range from −90.0 degrees (south) to 90.0 degrees (north).- Parameters:
latitude- Degrees north or south of the Equator.
-
latitude
Build out this place description with a latitude.- Parameters:
latitude- The latitude.- Returns:
- this.
-
getLongitude
Angular distance in degrees, relative to the Prime Meridian. Values range from −180.0 degrees (west of the Meridian) to 180.0 degrees (east of the Meridian).- Returns:
- Angular distance in degrees, relative to the Prime Meridian.
-
setLongitude
Angular distance in degrees, relative to the Prime Meridian. Values range from −180.0 degrees (west of the Meridian) to 180.0 degrees (east of the Meridian).- Parameters:
longitude- Angular distance in degrees, relative to the Prime Meridian.
-
longitude
Build out this place description with a longitude.- Parameters:
longitude- The longitude.- Returns:
- this.
-
getSpatialDescription
A reference to a geospatial description of this place. It is RECOMMENDED that this description resolve to a KML document.- Returns:
- A reference to a geospatial description of this place.
-
setSpatialDescription
A reference to a geospatial description of this place. It is RECOMMENDED that this description resolve to a KML document.- Parameters:
spatialDescription- A reference to a geospatial description of this place.
-
spatialDescription
Build out this place description with a spacial description.- Parameters:
spatialDescription- The spatial description.- Returns:
- this
-
getJurisdiction
A reference to a description of the jurisdiction this place.- Returns:
- A reference to a description of the jurisdiction this place.
-
setJurisdiction
A reference to a description of the jurisdiction this place.- Parameters:
jurisdiction- A reference to a description of the jurisdiction this place.
-
jurisdiction
Build out this place description with a jurisdiction.- Parameters:
jurisdiction- The reference to the jurisdiction.- Returns:
- this
-
getPlace
A reference to the place being described.- Returns:
- A reference to the place being described.
-
setPlace
A reference to the place being described.- Parameters:
place- A reference to the place being described.
-
place
Build out this place description with a place.- Parameters:
place- The reference to the place.- Returns:
- this
-
getDisplayExtension
Display properties for the place. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.- Returns:
- Display properties for the place. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
-
setDisplayExtension
Display properties for the place. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.- Parameters:
display- Display properties for the place. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
-
displayExtension
Build out this place with a display exension.- Parameters:
display- the display.- Returns:
- this
-
accept
Accept a visitor.- Parameters:
visitor- The visitor.
-
embed
Embed another place.- Parameters:
place- The place to embed.
-
equals
-
hashCode
public int hashCode()
-