|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.extensiblecatalog.nacm.model.BibliographicRecord
public class BibliographicRecord
Represents the necessary fields in a bibliographic record.
Constructor Summary | |
---|---|
BibliographicRecord()
Creates a new, empty BibliographicRecord This constructor is only provided for JavaBeans compliance |
|
BibliographicRecord(java.lang.String originalXML,
java.lang.Integer xmlHash)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Set<AuthorityLink> |
getAuthorizedAuthors()
Gets the authorized authors associated with this record |
java.util.Set<AuthorityLink> |
getAuthorizedSubjects()
Gets the authorized subjects associated with this record |
java.util.Set<Name> |
getAuthors()
Gets the original authors for this record, as they were entered |
java.lang.Long |
getId()
Gets the unique ID associated with this record |
java.lang.String |
getOriginalXML()
Gets the original, raw XML for this record |
java.util.Set<Name> |
getSubjects()
Gets the original subjects for this record, as they were entered |
java.util.Set<Name> |
getTitles()
Gets the titles associated with this record |
java.lang.Integer |
getXMLHash()
Gets a hash code for the original XML Useful for determining whether this record is duplicated The hash code is identical for identical records |
int |
hashCode()
|
java.lang.Boolean |
isMatched()
Determines if matching has been performed on this record |
void |
setAuthorizedAuthors(java.util.Set<AuthorityLink> authors)
Sets the authorized authors associated with this record |
void |
setAuthorizedSubjects(java.util.Set<AuthorityLink> subjects)
Sets the authorized subjects associated with this record |
void |
setAuthors(java.util.Set<Name> authors)
Sets the original authors for this record, as they were entered |
void |
setId(java.lang.Long id)
Sets the unique ID associated with this record |
void |
setMatched(java.lang.Boolean matched)
Set whether matching has been performed on this record |
void |
setOriginalXML(java.lang.String xml)
Sets the original source XML for this record |
void |
setSubjects(java.util.Set<Name> subjects)
Sets the original subjects for this record, as they were entered |
void |
setTitles(java.util.Set<Name> titles)
Sets the titles associated with this record |
void |
setXMLHash(java.lang.Integer code)
Sets a hash code for the original XML This must be identical for identical XML |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BibliographicRecord()
public BibliographicRecord(java.lang.String originalXML, java.lang.Integer xmlHash)
Method Detail |
---|
public java.util.Set<Name> getAuthors()
public void setAuthors(java.util.Set<Name> authors)
authors
- all authors, as they were enteredpublic java.util.Set<Name> getSubjects()
public void setSubjects(java.util.Set<Name> subjects)
authors
- all subjects, as they were enteredpublic java.util.Set<AuthorityLink> getAuthorizedAuthors()
public void setAuthorizedAuthors(java.util.Set<AuthorityLink> authors)
authors
- Information about the authorized authorspublic java.util.Set<AuthorityLink> getAuthorizedSubjects()
public void setAuthorizedSubjects(java.util.Set<AuthorityLink> subjects)
authors
- Information about the authorized subjectspublic java.util.Set<Name> getTitles()
public void setTitles(java.util.Set<Name> titles)
titles
- all titles associated with this recordpublic java.lang.String getOriginalXML()
public void setOriginalXML(java.lang.String xml)
xml
- the XML data for this recordpublic java.lang.Integer getXMLHash()
public void setXMLHash(java.lang.Integer code)
code
- a hash code for the original XMLpublic java.lang.Boolean isMatched()
public void setMatched(java.lang.Boolean matched)
matched
- true if matching has been performedpublic java.lang.Long getId()
public void setId(java.lang.Long id)
id
- a unique IDpublic 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 |