|
DLESE Tools v1.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.services.mmd.MmdRecord
Describes a single Id.
Field Summary | |
---|---|
static int |
CHANGE_ADDED
|
static int |
CHANGE_ASSOC
|
static int |
CHANGE_DELETED
|
static int |
CHANGE_MMD
|
static int |
CHANGE_NONE
|
static String |
MS_ADN
|
static String |
MS_BRIEFMETA
|
static String |
MS_DC_QUAL
|
static String |
MS_DC_SIMPLE
|
static String |
MS_DLESE_ANNO
|
static String |
MS_DLESE_COLLECT
|
static String |
MS_DLESE_IMS
|
static String |
MS_NEWS_OPPS
|
static String |
MS_NSDL_DC
|
static String |
MS_OAI_DC
|
static String |
STATUS_ACCESSIONED
|
static String |
STATUS_DEACCESSIONED
|
static String |
STATUS_HOLDING
|
static String |
STATUS_REWORK
|
static String |
STATUS_SUBMITTED
|
static String[] |
validStatus
|
Constructor Summary | |
---|---|
MmdRecord(int changeType,
String collKey,
String id,
String fileName,
String statusStg,
String metastyleStg,
long firstAccessionDate,
long lastMetaModDate,
long recCheckDate,
ErrorDesc[] errs)
|
|
MmdRecord(String collKey,
String id,
String fileName,
String statusStg,
String metastyleStg,
long firstAccessionDate,
long lastMetaModDate,
long recCheckDate,
ErrorDesc[] errs)
|
Method Summary | |
---|---|
static void |
checkMetastyle(String testmetastyle)
|
static void |
checkStatus(String teststatus)
|
int |
compareTo(Object obj)
|
boolean |
equals(Object obj)
|
int |
getChangeType()
|
String |
getCollKey()
Returns the collection key. |
ErrorDesc[] |
getErrors()
Returns an array of ErrorDesc for messages generated during the most recent Idmapper run. |
String |
getFileName()
Returns the file name of the record's XML file. |
long |
getFirstAccessionDate()
Returns the date it was first accessioned. |
String |
getId()
Returns the record id. |
long |
getLastMetaModDate()
Returns the date it was last changed. |
String |
getMetastyle()
Returns the metadata format: "adn", etc. |
long |
getRecCheckDate()
Returns the date it was last checked by the idmapper. |
String |
getStatus()
Returns the record status: "submitted", etc. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CHANGE_NONE
public static final int CHANGE_ADDED
public static final int CHANGE_DELETED
public static final int CHANGE_MMD
public static final int CHANGE_ASSOC
public static final String STATUS_SUBMITTED
public static final String STATUS_ACCESSIONED
public static final String STATUS_HOLDING
public static final String STATUS_REWORK
public static final String STATUS_DEACCESSIONED
public static final String[] validStatus
public static final String MS_ADN
public static final String MS_BRIEFMETA
public static final String MS_DC_QUAL
public static final String MS_DC_SIMPLE
public static final String MS_DLESE_ANNO
public static final String MS_DLESE_COLLECT
public static final String MS_DLESE_IMS
public static final String MS_NSDL_DC
public static final String MS_NEWS_OPPS
public static final String MS_OAI_DC
Constructor Detail |
public MmdRecord(int changeType, String collKey, String id, String fileName, String statusStg, String metastyleStg, long firstAccessionDate, long lastMetaModDate, long recCheckDate, ErrorDesc[] errs) throws MmdException
public MmdRecord(String collKey, String id, String fileName, String statusStg, String metastyleStg, long firstAccessionDate, long lastMetaModDate, long recCheckDate, ErrorDesc[] errs) throws MmdException
Method Detail |
public String toString()
public int getChangeType()
public String getCollKey()
public String getId()
public String getFileName()
public String getStatus()
public String getMetastyle()
public long getFirstAccessionDate()
public long getLastMetaModDate()
public long getRecCheckDate()
public ErrorDesc[] getErrors()
public static void checkStatus(String teststatus) throws MmdException
MmdException
public static void checkMetastyle(String testmetastyle) throws MmdException
MmdException
public boolean equals(Object obj)
public int compareTo(Object obj)
compareTo
in interface Comparable
|
DLESE Tools v1.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |