Class AsnDocKey
java.lang.Object
org.dlese.dpc.schemedit.standards.asn.AsnDocKey
A key representing an ASN StandardDoc that encodes the "author/subject",
"topic/jurisdiction", "created date", and "UID" part of the full ASN purl id
for the document (e.g., "D10001D0").
Used to facilitate matching among keys for similar key components (such as "topic") using a wildcard, and to provide a human-readible, unique key for managing documents. The UID segment of the key facilitates mapping to actual ASN purl when necessary.
- Author:
- Jonathan Ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the AsnDocKey object given author, topic and created segments.Constructor for the AsnDocKey object with provided field data.AsnDocKey(AsnDocument doc) Constructor for the AsnDocKey object given an AsnDocument -
Method Summary
-
Constructor Details
-
AsnDocKey
Constructor for the AsnDocKey object given an AsnDocument- Parameters:
doc- an asn Standards Docuement
-
AsnDocKey
Constructor for the AsnDocKey object given author, topic and created segments. The resulting key has a wildcard for the "UID" segment.- Parameters:
author- the authortopic- the topiccreated- the created
-
AsnDocKey
Constructor for the AsnDocKey object with provided field data. Converts CAT authors to NSES author values to overcome inconsistencies between CAT and ASN naming conventions for authors (aka, jurisdiction).- Parameters:
author- the authortopic- the topiccreated- the createduid- unique part of asn id (e.g., "D10001D0")
-
-
Method Details