|
||||||||||
| 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.Date
public class Date
A concluded genealogical date.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
Date()
|
|
| 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 normalizedExtension)
Add a normalized extension to the list. |
Date |
field(Field field)
Build up this date with a field. |
Date |
formal(FormalDate formal)
Build up this date with a formal representation of the date. |
Date |
formal(String formal)
Build up this date with a formal representation of the date. |
List<Field> |
getFields()
Get the fields being used as evidence. |
String |
getFormal()
The standardized and/or normalized formal value. |
List<TextValue> |
getNormalizedExtensions()
The list of normalized values for the date, provided for display purposes by the application. |
String |
getOriginal()
The original text as supplied by the user. |
Date |
id(String id)
Build up this object with an id. |
Date |
original(String original)
Build up this date with original text as supplied by the user. |
void |
setFields(List<Field> fields)
Set the list of fields being used as evidence. |
void |
setFormal(String formal)
The standardized and/or normalized formal value. |
void |
setFormalDate(FormalDate formal)
The standardized and/or normalized formal value. |
void |
setNormalizedExtensions(List<TextValue> normalized)
The list of normalized values for the date, provided for display purposes by the application. |
void |
setOriginal(String original)
The original text 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, 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 Date()
| Method Detail |
|---|
public Date id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.public String getOriginal()
public void setOriginal(String original)
original - The original text as supplied by the user.public Date original(String original)
original - the original text.
public String getFormal()
public void setFormal(String formal)
formal - The formal value.public void setFormalDate(FormalDate formal)
formal - The formal value.public Date formal(String formal)
formal - The formal date.
public Date formal(FormalDate formal)
formal - The formal date.
public List<TextValue> getNormalizedExtensions()
public void setNormalizedExtensions(List<TextValue> normalized)
normalized - The list of normalized values for the date, 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 normalizedExtension)
normalizedExtension - The normalizedExtension to be added.public List<Field> getFields()
getFields in interface HasFieldspublic void setFields(List<Field> fields)
setFields in interface HasFieldsfields - - List of fieldspublic Date field(Field field)
field - The field.
public void addField(Field field)
field - The field to be added.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 | |||||||||