|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gedcomx.common.ExtensibleData
org.gedcomx.links.HypermediaEnabledData
org.gedcomx.conclusion.Conclusion
org.gedcomx.conclusion.Subject
org.gedcomx.conclusion.PlaceDescription
public class PlaceDescription
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 | |
|---|---|
PlaceDescription()
|
|
| Method Summary | |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor. |
void |
addName(TextValue name)
Add a name to the list of standardized names. |
PlaceDescription |
analysis(Document analysis)
Add a reference to the analysis for this conclusion. |
PlaceDescription |
analysis(ResourceReference analysis)
Add a reference to the analysis for this conclusion. |
PlaceDescription |
analysis(URI analysis)
Add a reference to the analysis for this conclusion. |
PlaceDescription |
attribution(Attribution attribution)
Build up this conclusion with attribution. |
PlaceDescription |
confidence(ConfidenceLevel confidence)
Build up this conclusion with a confidence level. |
PlaceDescription |
confidence(URI confidence)
Build up this conclusion with a confidence level. |
PlaceDescription |
displayExtension(PlaceDisplayProperties display)
Build out this place with a display exension. |
void |
embed(PlaceDescription place)
Embed another place. |
PlaceDescription |
evidence(EvidenceReference evidence)
Build up this subject with an evidence reference. |
PlaceDescription |
evidence(PlaceDescription evidence)
|
PlaceDescription |
extracted(Boolean extracted)
Build up this subject with an extracted flag. |
PlaceDisplayProperties |
getDisplayExtension()
Display properties for the place. |
ResourceReference |
getJurisdiction()
A reference to a description of the jurisdiction this place. |
Double |
getLatitude()
Degrees north or south of the Equator (0.0 degrees). |
Double |
getLongitude()
Angular distance in degrees, relative to the Prime Meridian. |
List<TextValue> |
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. |
ResourceReference |
getPlace()
A reference to the place being described. |
ResourceReference |
getSpatialDescription()
A reference to a geospatial description of this place. |
Date |
getTemporalDescription()
A description of the time period to which this place description is relevant. |
URI |
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.). |
PlaceDescription |
id(String id)
Build up this object with an id. |
PlaceDescription |
identifier(Identifier identifier)
Build up this subject with an identifier. |
PlaceDescription |
jurisdiction(ResourceReference jurisdiction)
Build out this place description with a jurisdiction. |
PlaceDescription |
lang(String lang)
Build up this conclusion with a lang. |
PlaceDescription |
latitude(Double latitude)
Build out this place description with a latitude. |
PlaceDescription |
link(Link link)
Build up this data with a link. |
PlaceDescription |
link(String rel,
URI href)
Build up this data with a link. |
PlaceDescription |
longitude(Double longitude)
Build out this place description with a longitude. |
PlaceDescription |
media(SourceDescription media)
Build up this subject with a media reference. |
PlaceDescription |
media(SourceReference media)
Build up this subject with a media reference. |
PlaceDescription |
name(String name)
Build out this description with a name. |
PlaceDescription |
name(TextValue name)
Build out this description with a name. |
PlaceDescription |
note(Note note)
Build up this conclusion with a note. |
PlaceDescription |
place(ResourceReference place)
Build out this place description with a place. |
void |
setDisplayExtension(PlaceDisplayProperties display)
Display properties for the place. |
void |
setJurisdiction(ResourceReference jurisdiction)
A reference to a description of the jurisdiction this place. |
void |
setLatitude(Double latitude)
Degrees north or south of the Equator (0.0 degrees). |
void |
setLongitude(Double longitude)
Angular distance in degrees, relative to the Prime Meridian. |
void |
setNames(List<TextValue> 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. |
void |
setPlace(ResourceReference place)
A reference to the place being described. |
void |
setSpatialDescription(ResourceReference spatialDescription)
A reference to a geospatial description of this place. |
void |
setTemporalDescription(Date temporalDescription)
A description of the time period to which this place description is relevant. |
void |
setType(URI 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.). |
PlaceDescription |
sortKey(String sortKey)
Build up this fact with a sort key. |
PlaceDescription |
source(SourceDescription source)
Build up this conclusion with a source reference. |
PlaceDescription |
source(SourceReference sourceReference)
Build up this conclusion with a source reference. |
PlaceDescription |
spatialDescription(ResourceReference spatialDescription)
Build out this place description with a spacial description. |
PlaceDescription |
temporalDescription(Date temporalDescription)
Build out this place description with a temporal description. |
PlaceDescription |
type(URI type)
Build out this place description with a type. |
| Methods inherited from class org.gedcomx.conclusion.Subject |
|---|
addEvidence, addIdentifier, addMedia, embed, getEvidence, getExtracted, getIdentifiers, getMedia, getPersistentId, setEvidence, setExtracted, setIdentifiers, setMedia, setPersistentId |
| Methods inherited from class org.gedcomx.conclusion.Conclusion |
|---|
addNote, addSource, embed, getAnalysis, getAttribution, getConfidence, getKnownConfidenceLevel, getLang, getNotes, getSortKey, getSources, setAnalysis, setAttribution, setConfidence, setKnownConfidenceLevel, setLang, setNotes, setSortKey, setSources, toString |
| Methods inherited from class org.gedcomx.links.HypermediaEnabledData |
|---|
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinks |
| Methods inherited from class org.gedcomx.common.ExtensibleData |
|---|
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.gedcomx.common.Attributable |
|---|
getAttribution, setAttribution |
| Constructor Detail |
|---|
public PlaceDescription()
| Method Detail |
|---|
public PlaceDescription id(String id)
ExtensibleData
id in class Subjectid - The id.
public PlaceDescription link(String rel,
URI href)
HypermediaEnabledData
link in class Subjectrel - The rel.href - The href.
public PlaceDescription link(Link link)
HypermediaEnabledData
link in class Subjectlink - The link.
public PlaceDescription lang(String lang)
Conclusion
lang in class Subjectlang - The lang.
public PlaceDescription confidence(URI confidence)
Conclusion
confidence in class Subjectconfidence - The confidence level.
public PlaceDescription confidence(ConfidenceLevel confidence)
Conclusion
confidence in class Subjectconfidence - The confidence level.
public PlaceDescription source(SourceReference sourceReference)
Conclusion
source in class SubjectsourceReference - The source reference.
public PlaceDescription source(SourceDescription source)
Conclusion
source in class Subjectsource - The source description being referenced.
public PlaceDescription note(Note note)
Conclusion
note in class Subjectnote - The note.
public PlaceDescription analysis(ResourceReference analysis)
Conclusion
analysis in class Subjectanalysis - The analysis.
public PlaceDescription attribution(Attribution attribution)
Conclusion
attribution in class Subjectattribution - The attribution.
public PlaceDescription analysis(Document analysis)
Conclusion
analysis in class Subjectanalysis - The analysis.
public PlaceDescription analysis(URI analysis)
Conclusion
analysis in class Subjectanalysis - The analysis.
public PlaceDescription extracted(Boolean extracted)
Subject
extracted in class Subjectextracted - The extracted flag.
public PlaceDescription identifier(Identifier identifier)
Subject
identifier in class Subjectidentifier - The identifier.
public PlaceDescription evidence(EvidenceReference evidence)
Subject
evidence in class Subjectevidence - The evidence reference.
public PlaceDescription evidence(PlaceDescription evidence)
public PlaceDescription media(SourceReference media)
Subject
media in class Subjectmedia - The media reference.
public PlaceDescription media(SourceDescription media)
Subject
media in class Subjectmedia - The media reference.
public PlaceDescription sortKey(String sortKey)
Conclusion
sortKey in class SubjectsortKey - The sort key.
public List<TextValue> getNames()
public void setNames(List<TextValue> names)
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.public PlaceDescription name(TextValue name)
name - The name.
public PlaceDescription name(String name)
name - The name.
public void addName(TextValue name)
name - The name to be added.public URI getType()
public void setType(URI type)
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.).public PlaceDescription type(URI type)
type - The type.
public Date getTemporalDescription()
public void setTemporalDescription(Date temporalDescription)
temporalDescription - A description of the time period to which this place description is relevant.public PlaceDescription temporalDescription(Date temporalDescription)
temporalDescription - the temporal description.
public Double getLatitude()
public void setLatitude(Double latitude)
latitude - Degrees north or south of the Equator.public PlaceDescription latitude(Double latitude)
latitude - The latitude.
public Double getLongitude()
public void setLongitude(Double longitude)
longitude - Angular distance in degrees, relative to the Prime Meridian.public PlaceDescription longitude(Double longitude)
longitude - The longitude.
public ResourceReference getSpatialDescription()
public void setSpatialDescription(ResourceReference spatialDescription)
spatialDescription - A reference to a geospatial description of this place.public PlaceDescription spatialDescription(ResourceReference spatialDescription)
spatialDescription - The spatial description.
public ResourceReference getJurisdiction()
public void setJurisdiction(ResourceReference jurisdiction)
jurisdiction - A reference to a description of the jurisdiction this place.public PlaceDescription jurisdiction(ResourceReference jurisdiction)
jurisdiction - The reference to the jurisdiction.
public ResourceReference getPlace()
public void setPlace(ResourceReference place)
place - A reference to the place being described.public PlaceDescription place(ResourceReference place)
place - The reference to the place.
public PlaceDisplayProperties getDisplayExtension()
public void setDisplayExtension(PlaceDisplayProperties display)
display - Display properties for the place. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.public PlaceDescription displayExtension(PlaceDisplayProperties display)
display - the display.
public void accept(GedcomxModelVisitor visitor)
visitor - The visitor.public void embed(PlaceDescription place)
place - The place to embed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||