|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.extensiblecatalog.nacm.model.AuthorityLink
public class AuthorityLink
Contains information about a match between a bibliographic record and an authorized name that has been identified by the system
Constructor Summary | |
---|---|
AuthorityLink()
Creates a new, empty AuthorityLink Note that this does NOT create a viable object, and is only present for JavaBeans compliance Using this constructor is not recommended |
|
AuthorityLink(AuthorityRecord record,
Name relatedName,
java.util.Date whenFound)
Creates a new AuthorityLink |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getApprovedBy()
Gets the person who approved this match |
java.lang.String |
getEvidence()
Gets the evidence for this match |
java.lang.Long |
getId()
Gets the unique ID associated with this record |
int |
getPercentConfidence()
Gets the percent confidence for this match |
AuthorityRecord |
getRecord()
Gets the authority record that has been matched |
Name |
getRelatedName()
Gets the original name to which this is related |
java.util.Date |
getWhenApproved()
Gets the date when this was approved |
java.util.Date |
getWhenFound()
Gets the date when this match was found |
int |
hashCode()
|
java.lang.Boolean |
isApproved()
Gets the approval status for this match |
java.lang.Boolean |
isFlagged()
Determines whether this link has been flagged for review |
java.lang.Boolean |
isRejected()
Determines whether or not this link has been rejected |
void |
setApproved(java.lang.Boolean approved)
Sets the approval status for this match |
void |
setApprovedBy(java.lang.String approvedBy)
Sets the person who approved this match |
void |
setEvidence(java.lang.String evidence)
Sets the evidence for this match |
void |
setFlagged(java.lang.Boolean flagged)
Sets whether or not this link has been flagged |
void |
setId(java.lang.Long id)
Sets the unique ID associated with this record |
void |
setPercentConfidence(int percentConfidence)
Sets the percent confidence for this match |
void |
setRecord(AuthorityRecord record)
Sets the authority record that has been matched |
void |
setRejected(java.lang.Boolean rejected)
Sets whether or not this link has been rejected |
void |
setRelatedName(Name relatedName)
Sets the original name to which this is related |
void |
setWhenApproved(java.util.Date whenApproved)
Sets when this was approved |
void |
setWhenFound(java.util.Date whenFound)
Sets the date when this match was found |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuthorityLink()
public AuthorityLink(AuthorityRecord record, Name relatedName, java.util.Date whenFound)
record
- the matched authority recordrelatedName
- the name that was matchedwhenFound
- when the match was foundMethod Detail |
---|
public java.lang.Boolean isApproved()
public void setApproved(java.lang.Boolean approved)
approved
- true or falsepublic java.lang.String getApprovedBy()
public java.lang.Boolean isFlagged()
public void setFlagged(java.lang.Boolean flagged)
flagged
- true or falsepublic java.lang.Boolean isRejected()
public void setRejected(java.lang.Boolean rejected)
rejected
- true or falsepublic void setApprovedBy(java.lang.String approvedBy)
approvedBy
- the name or intials of the user who approved this matchpublic java.lang.String getEvidence()
public void setEvidence(java.lang.String evidence)
evidence
- a String representation of the evidence for this matchpublic int getPercentConfidence()
public void setPercentConfidence(int percentConfidence)
percentConfidence
- an integer between 0 and 100public AuthorityRecord getRecord()
public void setRecord(AuthorityRecord record)
record
- an AuthorityRecordpublic java.util.Date getWhenFound()
public void setWhenFound(java.util.Date whenFound)
whenFound
- a Datepublic java.util.Date getWhenApproved()
public void setWhenApproved(java.util.Date whenApproved)
whenApproved
- a Datepublic java.lang.Long getId()
public void setId(java.lang.Long id)
id
- a unique IDpublic Name getRelatedName()
public void setRelatedName(Name relatedName)
relatedName
- a Namepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |