org.archiviststoolkit.model
Class Subjects
java.lang.Object
com.jgoodies.binding.beans.Model
org.archiviststoolkit.mydomain.DomainObject
org.archiviststoolkit.model.Subjects
- All Implemented Interfaces:
- com.jgoodies.binding.beans.Observable, java.io.Serializable, java.lang.Comparable, Auditable, org.hibernate.classic.Lifecycle
public class Subjects
- extends DomainObject
- See Also:
- Serialized Form
Fields inherited from interface org.hibernate.classic.Lifecycle |
NO_VETO, VETO |
Constructor Summary |
Subjects()
Creates a new instance of Subject |
Subjects(java.lang.String subjectTerm)
|
Methods inherited from class org.archiviststoolkit.mydomain.DomainObject |
addRelatedObject, compareTo, creationDate, equals, getAuditInfo, getCreated, getCreatedBy, getLastUpdated, getLastUpdatedBy, getRelatedCollection, getRelatedObject, getUniqueConstraintKey, getVersion, hashCode, isNewRecord, lastUpdated, onDelete, onLoad, onSave, onUpdate, removeIdAndAuditInfo, removeRelatedObject, setAuditInfo, setVersion, testDeleteRules, validateAndDisplayDialog |
Methods inherited from class com.jgoodies.binding.beans.Model |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PROPERTYNAME_SUBJECT_TERM
public static final java.lang.String PROPERTYNAME_SUBJECT_TERM
- See Also:
- Constant Field Values
PROPERTYNAME_SUBJECT_TERM_TYPE
public static final java.lang.String PROPERTYNAME_SUBJECT_TERM_TYPE
- See Also:
- Constant Field Values
PROPERTYNAME_SUBJECT_SOURCE
public static final java.lang.String PROPERTYNAME_SUBJECT_SOURCE
- See Also:
- Constant Field Values
PROPERTYNAME_SUBJECT_SCOPE_NOTE
public static final java.lang.String PROPERTYNAME_SUBJECT_SCOPE_NOTE
- See Also:
- Constant Field Values
PROPERTYNAME_SUBJECT_ID
public static final java.lang.String PROPERTYNAME_SUBJECT_ID
- See Also:
- Constant Field Values
Subjects
public Subjects()
- Creates a new instance of Subject
Subjects
public Subjects(java.lang.String subjectTerm)
getIdentifier
public java.lang.Long getIdentifier()
- Specified by:
getIdentifier
in class DomainObject
- Returns:
- Returns the identifier.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setIdentifier
public void setIdentifier(java.lang.Long identifier)
- Specified by:
setIdentifier
in class DomainObject
- Parameters:
identifier
- The identifier to set.
getSubjectId
public java.lang.Long getSubjectId()
setSubjectId
public void setSubjectId(java.lang.Long subjectId)
getSubjectTerm
public java.lang.String getSubjectTerm()
setSubjectTerm
public void setSubjectTerm(java.lang.String subjectTerm)
getSubjectTermType
public java.lang.String getSubjectTermType()
setSubjectTermType
public void setSubjectTermType(java.lang.String subjectTermType)
getSubjectSource
public java.lang.String getSubjectSource()
setSubjectSource
public void setSubjectSource(java.lang.String subjectSource)
getSubjectScopeNote
public java.lang.String getSubjectScopeNote()
setSubjectScopeNote
public void setSubjectScopeNote(java.lang.String subjectScopeNote)
getArchDescriptionSubjects
public java.util.Set<ArchDescriptionSubjects> getArchDescriptionSubjects()
setArchDescriptions
public void setArchDescriptions(java.util.Set<ArchDescriptionSubjects> archDescriptionSubjects)
addArchDesctiption
public void addArchDesctiption(ArchDescription archDescription)
throws DuplicateLinkException
- Throws:
DuplicateLinkException
getResources
public java.util.Set getResources()
getAccessions
public java.util.Set getAccessions()
initSubjectLookupList
public static void initSubjectLookupList()
addSubjectToLookupList
public static void addSubjectToLookupList(Subjects subject)
removeSubjectFromLookupList
public static void removeSubjectFromLookupList(Subjects subject)
getSubjectsGlazedList
public static ca.odell.glazedlists.SortedList getSubjectsGlazedList()