|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gedcomx.common.ExtensibleData
org.gedcomx.conclusion.PlaceReference
public class PlaceReference
A reference to genealogical place.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
PlaceReference()
|
|
| Method Summary | |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor. |
void |
addField(Field field)
Add a reference to the record field values being used as evidence. |
void |
addNormalizedExtension(TextValue normalized)
Add a normalized value. |
PlaceReference |
description(PlaceDescription description)
Build out this place reference with a reference to a place description. |
PlaceReference |
description(URI ref)
Build out this place reference with a reference to a place description. |
PlaceReference |
field(Field field)
Build out this place reference with a field. |
URI |
getDescriptionRef()
A reference to a description of the place being referenced. |
List<Field> |
getFields()
Get the fields being used as evidence. |
List<TextValue> |
getNormalizedExtensions()
The list of normalized values for the place, provided for display purposes by the application. |
String |
getOriginal()
The original value as supplied by the user. |
PlaceReference |
normalized(String normalized)
Build out this place reference with an normalized string. |
PlaceReference |
original(String original)
Build out this place reference with an original string. |
void |
setDescriptionRef(URI descriptionRef)
A reference to a description of the place being referenced. |
void |
setFields(List<Field> fields)
Set the list of fields being used as evidence. |
void |
setNormalizedExtensions(List<TextValue> normalized)
The list of normalized values for the place, provided for display purposes by the application. |
void |
setOriginal(String original)
The original value as supplied by the user. |
String |
toString()
Provide a simple toString() method. |
| Methods inherited from class org.gedcomx.common.ExtensibleData |
|---|
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, id, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PlaceReference()
| Method Detail |
|---|
public String getOriginal()
public void setOriginal(String original)
original - The original value as supplied by the user.public PlaceReference original(String original)
original - The original string.
public URI getDescriptionRef()
public void setDescriptionRef(URI descriptionRef)
descriptionRef - A reference to a description of the place being referenced.public PlaceReference description(PlaceDescription description)
description - The reference to the place description.
public PlaceReference description(URI ref)
ref - The reference to the place description.
public List<TextValue> getNormalizedExtensions()
public void setNormalizedExtensions(List<TextValue> normalized)
normalized - The list of normalized values for the place, provided for display purposes by the application. Normalized values are
not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.public void addNormalizedExtension(TextValue normalized)
normalized - The normalized value.public PlaceReference normalized(String normalized)
normalized - The normalized string.
public List<Field> getFields()
getFields in interface HasFieldspublic void setFields(List<Field> fields)
setFields in interface HasFieldsfields - - List of fieldspublic void addField(Field field)
field - The field to be added.public PlaceReference field(Field field)
field - The field.
public String toString()
ExtensibleData
toString in class ExtensibleDatapublic void accept(GedcomxModelVisitor visitor)
visitor - The visitor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||