Package org.gedcomx.source
Class Coverage
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.links.HypermediaEnabledData
org.gedcomx.source.Coverage
- All Implemented Interfaces:
HasTransientProperties,SupportsLinks,SupportsExtensionElements
A description of the coverage of a resource.
- Author:
- Ryan Heaton
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe type of record being covered in this collection, if any.The type of record being covered, if any.Spatial coverage.Temporal coverage.inthashCode()recordType(URI recordType) Build out this coverage with a record type.recordType(RecordType recordType) Build out this coverage with a record type.voidsetKnownRecordType(RecordType type) The type of record being covered in this collection, if any.voidsetRecordType(URI recordType) The type of record being covered, if any.voidsetSpatial(PlaceReference spatial) Spatial coverage.voidsetTemporal(Date temporal) Temporal coverage.spatial(PlaceReference spatial) Build out this coverage with spatial coverage.Build out this coverage with temporal coverage.Methods inherited from class org.gedcomx.links.HypermediaEnabledData
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, link, link, setLinksMethods inherited from class org.gedcomx.common.ExtensibleData
addExtensionElement, embed, extensionElement, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, id, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toString
-
Constructor Details
-
Coverage
public Coverage() -
Coverage
-
-
Method Details
-
getSpatial
Spatial coverage.- Returns:
- Spatial coverage.
-
setSpatial
Spatial coverage.- Parameters:
spatial- Spatial coverage.
-
spatial
Build out this coverage with spatial coverage.- Parameters:
spatial- The spatial coverage.- Returns:
- this.
-
getTemporal
Temporal coverage.- Returns:
- Temporal coverage.
-
setTemporal
Temporal coverage.- Parameters:
temporal- Temporal coverage.
-
temporal
Build out this coverage with temporal coverage.- Parameters:
temporal- The temporal coverage.- Returns:
- This.
-
getRecordType
The type of record being covered, if any.- Returns:
- The type of record being covered.
-
setRecordType
The type of record being covered, if any.- Parameters:
recordType- The type of record being covered.
-
recordType
Build out this coverage with a record type.- Parameters:
recordType- The record type.- Returns:
- this.
-
recordType
Build out this coverage with a record type.- Parameters:
recordType- The record type.- Returns:
- this.
-
getKnownRecordType
The type of record being covered in this collection, if any.- Returns:
- The type of record being covered in this collection, if any.
-
setKnownRecordType
The type of record being covered in this collection, if any.- Parameters:
type- The type of record being covered in this collection, if any.
-
equals
-
hashCode
public int hashCode()
-