|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gedcomx.common.ExtensibleData
org.gedcomx.common.Attribution
public final class Attribution
Attribution for genealogical information. Attribution is used to model who is contributing/modifying information, when they contributed it, and why they are making the contribution/modification.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
Attribution()
|
|
| Method Summary | |
|---|---|
Attribution |
changeMessage(String changeMessage)
Build up this attribution with a change message. |
Attribution |
contributor(Agent agent)
Build up this attribution with a contributor. |
Attribution |
contributor(ResourceReference contributor)
Build up this attribution with a contributor. |
Attribution |
contributor(URI contributor)
Build up this attribution with a contributor. |
String |
getChangeMessage()
The "change message" for the attributed data provided by the contributor. |
ResourceReference |
getContributor()
Reference to the contributor of the attributed data. |
Date |
getModified()
The modified timestamp for the attributed data. |
Attribution |
id(String id)
Build up this object with an id. |
Attribution |
modified(Date modified)
Build up this attribution with a modified date. |
void |
setChangeMessage(String changeMessage)
The "change message" for the attributed data provided by the contributor. |
void |
setContributor(ResourceReference contributor)
Reference to the contributor of the attributed data. |
void |
setModified(Date modified)
The modified timestamp for the attributed data. |
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 Attribution()
| Method Detail |
|---|
public Attribution id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.public ResourceReference getContributor()
public void setContributor(ResourceReference contributor)
contributor - Reference to the contributor of the attributed data.public Attribution contributor(ResourceReference contributor)
contributor - The contributor.
public Attribution contributor(URI contributor)
contributor - The contributor.
public Attribution contributor(Agent agent)
agent - The contributor.
public Date getModified()
public void setModified(Date modified)
modified - The modified timestamp for the attributed data.public Attribution modified(Date modified)
modified - The modified date.
public String getChangeMessage()
public void setChangeMessage(String changeMessage)
changeMessage - The "change message" for the attributed data provided by the contributor.public Attribution changeMessage(String changeMessage)
changeMessage - The change message.
public String toString()
toString in class ExtensibleData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||