Class SourceDescription
Represents a description of a source.
- Gedcomx\Common\ExtensibleData
- Gedcomx\Links\HypermediaEnabledData implements Gedcomx\Links\SupportsLinks
- Gedcomx\Source\SourceDescription
Methods summary
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setMediaType( string $mediaType )
Hint about the media (MIME) type of the resource being described. |
public
string
|
|
public
|
|
public
|
|
public
|
#
setCitations(
The bibliographic citations for this source. |
public
|
|
public
|
#
setMediator(
A reference to the entity that mediates access to the described source. |
public
|
#
getSources( )
References to any sources to which this source is related (usually applicable to sources that are derived from or contained in another source). |
public
|
#
setSources(
References to any sources to which this source is related (usually applicable to sources that are derived from or contained in another source). |
public
|
#
getAnalysis( )
A reference to the analysis document explaining the analysis that went into this description of the source. |
public
|
#
setAnalysis(
A reference to the analysis document explaining the analysis that went into this description of the source. |
public
|
|
public
|
#
setComponentOf(
A reference to the source that contains this source. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setAttribution(
The attribution metadata for this source description. |
public
string
|
#
getSortKey( )
A sort key to be used in determining the position of this source relative to other sources in the same collection. |
public
|
#
setSortKey( string $sortKey )
A sort key to be used in determining the position of this source relative to other sources in the same collection. |
public
|
|
public
|
#
setDescriptions(
Human-readable descriptions of the source. |
public
|
|
public
|
#
setIdentifiers(
The list of identifiers for the source. |
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
public
|
|
public
|
|
public
string[]
|
|
public
|
|
public
|
|
public
|
#
setFields(
The fields that are applicable to the resource being described. |
public
|
|
public
|
#
setRepository(
Reference to an agent describing the repository in which the source is found. |
public
|
#
getDescriptorRef( )
Reference to a descriptor of fields and type of data that can be expected to be extracted from the source. |
public
|
#
setDescriptorRef(
Reference to a descriptor of fields and type of data that can be expected to be extracted from the source. |
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
#
writeXmlContents( XMLWriter $writer )
Writes the contents of this SourceDescription to an XML writer. The startElement is expected to be already provided. |
Methods inherited from Gedcomx\Links\HypermediaEnabledData
addLink()
,
addLinkRelation()
,
addTemplatedLink()
,
getLink()
,
getLinks()
,
getLinksByRel()
,
setLinks()