|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.standards.asn.AsnDocKey
public class 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.
Constructor Summary | |
---|---|
AsnDocKey(AsnDocument doc)
Constructor for the AsnDocKey object given an AsnDocument |
|
AsnDocKey(String author,
String topic,
String created)
Constructor for the AsnDocKey object given author, topic and created segments. |
|
AsnDocKey(String author,
String topic,
String created,
String uid)
Constructor for the AsnDocKey object with provided field data. |
Method Summary | |
---|---|
String |
getAsnId()
|
static AsnDocKey |
makeAsnDocKey(String docKeyAsString)
Returns a AsnDocKey instance created from provided docKeyAsString value (e.g., "NSES.Science.1995.D10001D0") |
String |
toString()
return a string representation of this AsnDocKey object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AsnDocKey(AsnDocument doc)
doc
- an asn Standards Docuementpublic AsnDocKey(String author, String topic, String created)
author
- the authortopic
- the topiccreated
- the createdpublic AsnDocKey(String author, String topic, String created, String uid)
author
- the authortopic
- the topiccreated
- the createduid
- unique part of asn id (e.g., "D10001D0")Method Detail |
---|
public static AsnDocKey makeAsnDocKey(String docKeyAsString)
public String getAsnId()
public String toString()
toString
in class Object
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |