org.archiviststoolkit.model
Class Names
java.lang.Object
com.jgoodies.binding.beans.Model
org.archiviststoolkit.mydomain.DomainObject
org.archiviststoolkit.model.BasicNames
org.archiviststoolkit.model.Names
- All Implemented Interfaces:
- com.jgoodies.binding.beans.Observable, java.io.Serializable, java.lang.Comparable, Auditable, org.hibernate.classic.Lifecycle
public class Names
- extends BasicNames
The Names class represents a name authority record.
- See Also:
- Serialized Form
Fields inherited from class org.archiviststoolkit.model.BasicNames |
CORPORATE_BODY_TYPE, FAMILY_TYPE, PERSON_TYPE, PROPERTYNAME_CORPORATE_PRIMARY_NAME, PROPERTYNAME_CORPORATE_SUBORDINATE_1, PROPERTYNAME_CORPORATE_SUBORDINATE_2, PROPERTYNAME_CREATE_SORT_NAME_AUTOMATICALLY, PROPERTYNAME_FAMILY_NAME, PROPERTYNAME_FAMILY_NAME_PREFIX, PROPERTYNAME_NAME_ID, PROPERTYNAME_NAME_MD5_HASH, PROPERTYNAME_NAME_TYPE, PROPERTYNAME_NUMBER, PROPERTYNAME_PERSONAL_DATES, PROPERTYNAME_PERSONAL_DIRECT_ORDER, PROPERTYNAME_PERSONAL_FULLER_FORM, PROPERTYNAME_PERSONAL_PREFIX, PROPERTYNAME_PERSONAL_PRIMARY_NAME, PROPERTYNAME_PERSONAL_REST_OF_NAME, PROPERTYNAME_PERSONAL_SUFFIX, PROPERTYNAME_PERSONAL_TITLE, PROPERTYNAME_QUALIFIER, PROPERTYNAME_SORT_NAME |
Fields inherited from interface org.hibernate.classic.Lifecycle |
NO_VETO, VETO |
Constructor Summary |
Names()
|
Methods inherited from class org.archiviststoolkit.model.BasicNames |
createSortName, createSortName, getCorporatePrimaryName, getCorporateSubordinate1, getCorporateSubordinate2, getCreateSortNameAutomatically, getFamilyName, getFamilyNamePrefix, getIdentifier, getNameId, getNameType, getNumber, getPersonalDates, getPersonalDirectOrder, getPersonalFullerForm, getPersonalPrefix, getPersonalPrimaryName, getPersonalRestOfName, getPersonalSuffix, getPersonalTitle, getQualifier, getSortName, setCorporatePrimaryName, setCorporateSubordinate1, setCorporateSubordinate2, setCreateSortNameAutomatically, setFamilyName, setFamilyNamePrefix, setIdentifier, setNameId, setNameType, setNumber, setPersonalDates, setPersonalDirectOrder, setPersonalFullerForm, setPersonalPrefix, setPersonalPrimaryName, setPersonalRestOfName, setPersonalSuffix, setPersonalTitle, setQualifier, setSortName, toString |
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, 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_NAME_SOURCE
public static final java.lang.String PROPERTYNAME_NAME_SOURCE
- See Also:
- Constant Field Values
PROPERTYNAME_NAME_RULE
public static final java.lang.String PROPERTYNAME_NAME_RULE
- See Also:
- Constant Field Values
PROPERTYNAME_DESCRIPTION_TYPE
public static final java.lang.String PROPERTYNAME_DESCRIPTION_TYPE
- See Also:
- Constant Field Values
PROPERTYNAME_DESCRIPTION_NOTE
public static final java.lang.String PROPERTYNAME_DESCRIPTION_NOTE
- See Also:
- Constant Field Values
PROPERTYNAME_CITATION
public static final java.lang.String PROPERTYNAME_CITATION
- See Also:
- Constant Field Values
PROPERTYNAME_SALUTATION
public static final java.lang.String PROPERTYNAME_SALUTATION
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_ADDRESS_1
public static final java.lang.String PROPERTYNAME_CONTACT_ADDRESS_1
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_ADDRESS_2
public static final java.lang.String PROPERTYNAME_CONTACT_ADDRESS_2
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_CITY
public static final java.lang.String PROPERTYNAME_CONTACT_CITY
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_REGION
public static final java.lang.String PROPERTYNAME_CONTACT_REGION
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_COUNTRY
public static final java.lang.String PROPERTYNAME_CONTACT_COUNTRY
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_MAIL_CODE
public static final java.lang.String PROPERTYNAME_CONTACT_MAIL_CODE
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_PHONE
public static final java.lang.String PROPERTYNAME_CONTACT_PHONE
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_FAX
public static final java.lang.String PROPERTYNAME_CONTACT_FAX
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_EMAIL
public static final java.lang.String PROPERTYNAME_CONTACT_EMAIL
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_NAME
public static final java.lang.String PROPERTYNAME_CONTACT_NAME
- See Also:
- Constant Field Values
Names
public Names()
getNameSource
public java.lang.String getNameSource()
- Returns:
- nameSource
setNameSource
public void setNameSource(java.lang.String nameSource)
getNameRule
public java.lang.String getNameRule()
setNameRule
public void setNameRule(java.lang.String nameRule)
getDescriptionType
public java.lang.String getDescriptionType()
setDescriptionType
public void setDescriptionType(java.lang.String descriptionType)
getDescriptionNote
public java.lang.String getDescriptionNote()
setDescriptionNote
public void setDescriptionNote(java.lang.String descriptionNote)
getCitation
public java.lang.String getCitation()
setCitation
public void setCitation(java.lang.String citation)
getContactAddress1
public java.lang.String getContactAddress1()
setContactAddress1
public void setContactAddress1(java.lang.String contactAddress1)
getContactAddress2
public java.lang.String getContactAddress2()
setContactAddress2
public void setContactAddress2(java.lang.String contactAddress2)
getContactCity
public java.lang.String getContactCity()
setContactCity
public void setContactCity(java.lang.String contactCity)
getContactRegion
public java.lang.String getContactRegion()
setContactRegion
public void setContactRegion(java.lang.String contactRegion)
getContactCountry
public java.lang.String getContactCountry()
setContactCountry
public void setContactCountry(java.lang.String contactCountry)
getContactMailCode
public java.lang.String getContactMailCode()
setContactMailCode
public void setContactMailCode(java.lang.String contactMailCode)
getContactPhone
public java.lang.String getContactPhone()
setContactPhone
public void setContactPhone(java.lang.String contactPhone)
getContactFax
public java.lang.String getContactFax()
setContactFax
public void setContactFax(java.lang.String contactFax)
getContactEmail
public java.lang.String getContactEmail()
setContactEmail
public void setContactEmail(java.lang.String contactEmail)
getContactName
public java.lang.String getContactName()
setContactName
public void setContactName(java.lang.String contactName)
getContactNotes
public java.util.Set<NameContactNotes> getContactNotes()
setContactNotes
public void setContactNotes(java.util.Set<NameContactNotes> contactNotes)
addNameContactNote
public void addNameContactNote(NameContactNotes nameContactNote)
- Adds a BillingDetails to the set.
This method checks if there is only one billing method
in the set, then makes this the default.
- Parameters:
nameContactNote
-
getNameContactNote
public NameContactNotes getNameContactNote(int index)
getNextContactNoteSequenceNumber
public int getNextContactNoteSequenceNumber()
removeRelatedObject
public void removeRelatedObject(DomainObject domainObject)
- A dummy place holder to be overridden by classes that have related objects
- Overrides:
removeRelatedObject
in class DomainObject
- Parameters:
domainObject
- the domain object to be removed
getRelatedCollection
public java.util.Collection getRelatedCollection(java.lang.Class clazz)
- A dummy place holder to be overridden by classes that have related objects
- Parameters:
clazz
- the domain object to be removed
getNonPreferredNames
public java.util.Set<NonPreferredNames> getNonPreferredNames()
getNonPreferredName
public NonPreferredNames getNonPreferredName(int index)
setNonPreferredNames
public void setNonPreferredNames(java.util.Set<NonPreferredNames> nonPreferredNames)
addNonPreferredName
public void addNonPreferredName(NonPreferredNames nonPreferredName)
- Adds a BillingDetails to the set.
This method checks if there is only one billing method
in the set, then makes this the default.
- Parameters:
nonPreferredName
-
getArchDescriptionNames
public java.util.Set<ArchDescriptionNames> getArchDescriptionNames()
setArchDescriptionNames
public void setArchDescriptionNames(java.util.Set archDescriptionNames)
addArchDesctiption
public void addArchDesctiption(ArchDescriptionNames archDescriptionName)
throws DuplicateLinkException
- Throws:
DuplicateLinkException
createSortName
public void createSortName(javax.swing.JTextField sortNameField)
getSalutation
public java.lang.String getSalutation()
setSalutation
public void setSalutation(java.lang.String salutation)
getResources
public java.util.Set getResources()
getAccessions
public java.util.Set getAccessions()
initNamesLookupList
public static void initNamesLookupList()
addNameToLookupList
public static void addNameToLookupList(Names name)
removeNameFromLookupList
public static void removeNameFromLookupList(Names name)
getNamesGlazedList
public static ca.odell.glazedlists.SortedList getNamesGlazedList()
setNamesGlazedList
public static void setNamesGlazedList(ca.odell.glazedlists.SortedList namesGlazedList)
selectNameType
public static java.lang.String selectNameType(java.awt.Component rootComponent)
setMd5Hash
public void setMd5Hash(java.lang.String md5Hash)
getMd5Hash
public java.lang.String getMd5Hash()