org.archiviststoolkit.model
Class AccessionsResourcesCommon

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by org.archiviststoolkit.mydomain.DomainObject
          extended by org.archiviststoolkit.model.ArchDescription
              extended by org.archiviststoolkit.model.AccessionsResourcesCommon
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, java.io.Serializable, java.lang.Comparable, NameEnabledModel, SubjectEnabledModel, Auditable, org.hibernate.classic.Lifecycle
Direct Known Subclasses:
Accessions, ResourcesCommon

public abstract class AccessionsResourcesCommon
extends ArchDescription

See Also:
Serialized Form

Field Summary
static java.lang.String PROPERTYNAME_BULK_DATE_BEGIN
           
static java.lang.String PROPERTYNAME_BULK_DATE_END
           
static java.lang.String PROPERTYNAME_CONTAINER_SUMMARY
           
static java.lang.String PROPERTYNAME_DEACCESSIONS
           
static java.lang.String PROPERTYNAME_EXTENT_NUMBER
           
static java.lang.String PROPERTYNAME_EXTENT_TYPE
           
static java.lang.String PROPERTYNAME_ISOBULK_DATE_BEGIN
           
static java.lang.String PROPERTYNAME_ISOBULK_DATE_BEGIN_SECONDS
           
static java.lang.String PROPERTYNAME_ISOBULK_DATE_END
           
static java.lang.String PROPERTYNAME_ISOBULK_DATE_END_SECONDS
           
 
Fields inherited from class org.archiviststoolkit.model.ArchDescription
PROPERTYNAME_CREATOR, PROPERTYNAME_DATE_BEGIN, PROPERTYNAME_DATE_END, PROPERTYNAME_DATE_EXPRESSION, PROPERTYNAME_DISPLAY_CREATOR, PROPERTYNAME_DISPLAY_REPOSITORY, PROPERTYNAME_DISPLAY_SOURCE, PROPERTYNAME_ISODATE_BEGIN, PROPERTYNAME_ISODATE_BEGIN_SECONDS, PROPERTYNAME_ISODATE_END, PROPERTYNAME_ISODATE_END_SECONDS, PROPERTYNAME_NAMES, PROPERTYNAME_REPEATING_DATA, PROPERTYNAME_RESTRICTIONS_APPLY, PROPERTYNAME_SUBJECTS, PROPERTYNAME_TITLE
 
Fields inherited from class org.archiviststoolkit.mydomain.DomainObject
CREATED, CREATED_BY, LAST_UPDATED, LAST_UPDATED_BY
 
Fields inherited from interface org.hibernate.classic.Lifecycle
NO_VETO, VETO
 
Constructor Summary
AccessionsResourcesCommon()
           
 
Method Summary
 void addDeaccessions(Deaccessions deaccession)
           
 void addPhysicalDesctiptions(ArchDescriptionPhysicalDescriptions physicalDescription)
           
 java.lang.Integer getBulkDateBegin()
           
 java.lang.Integer getBulkDateEnd()
           
 java.lang.String getContainerSummary()
           
 java.util.Set<Deaccessions> getDeaccessions()
           
 java.lang.Double getExtentNumber()
           
 java.lang.String getExtentType()
           
 java.lang.String getIsoBulkDateBegin()
          Method that return the iso bulk date begin reformated to match
 java.lang.Long getIsoBulkDateBeginSeconds()
          Method to return the iso bulk date begins in seconds
 java.lang.String getIsoBulkDateEnd()
          Method that return the iso bulk date begin
 java.lang.Long getIsoBulkDateEndSeconds()
          Method to return the iso bulk date ends in seconds
 java.util.Set<ArchDescriptionPhysicalDescriptions> getPhysicalDesctiptions()
           
 void removePhysicalDesctiptions(ArchDescriptionPhysicalDescriptions physicalDescription)
           
 void removeRelatedObject(DomainObject domainObject)
          A dummy place holder to be overridden by classes that have related objects
protected  void removeRepeatingData(Deaccessions deaccession)
           
 void setBulkDateBegin(java.lang.Integer bulkDateBegin)
           
 void setBulkDateEnd(java.lang.Integer bulkDateEnd)
           
 void setContainerSummary(java.lang.String containerSummary)
           
 void setDeaccessions(java.util.Set<Deaccessions> deaccessions)
           
 void setExtentNumber(java.lang.Double extentNumber)
           
 void setExtentType(java.lang.String extentType)
           
 void setIsoBulkDateBegin(java.lang.String isoBulkDateBegin)
          Method to set the ISO bulk date begins
 void setIsoBulkDateBeginSeconds(java.lang.Long seconds)
          Method to set the ISO bulk date begins in GMT seconds
 void setIsoBulkDateEnd(java.lang.String isoBulkDateEnd)
          Method to set the ISO bulk date ends
 void setIsoBulkDateEndSeconds(java.lang.Long seconds)
          Method to set the ISO bulk date ends in GMT seconds
 void setPhysicalDesctiptions(java.util.Set<ArchDescriptionPhysicalDescriptions> physicalDesctiptions)
           
 
Methods inherited from class org.archiviststoolkit.model.ArchDescription
addArchdescriptionDate, addName, addName, addRepeatingData, addSubject, addSubject, containsSubjectLink, getArchDescriptionDates, getCreator, getDateBegin, getDateEnd, getDateExpression, getIsoDateBegin, getIsoDateBeginSeconds, getIsoDateEnd, getIsoDateEndSeconds, getLabelForTree, getName, getNames, getNames, getNamesForPrinting, getNamesForPrinting, getRelatedCollection, getRelatedObject, getRepeatingData, getRepeatingData, getRepeatingData, getRestrictionsApply, getSource, getSubject, getSubjects, getSubjectsForPrinting, getTitle, removeArchdescriptionDate, removeName, removeRepeatingData, removeSubject, setArchDescriptionDates, setDateBegin, setDateEnd, setDateExpression, setIsoDateBegin, setIsoDateBeginSeconds, setIsoDateEnd, setIsoDateEndSeconds, setNames, setRepeatingData, setRestrictionsApply, setSubjects, setTitle
 
Methods inherited from class org.archiviststoolkit.mydomain.DomainObject
addRelatedObject, compareTo, creationDate, equals, getAuditInfo, getCreated, getCreatedBy, getIdentifier, getLastUpdated, getLastUpdatedBy, getUniqueConstraintKey, getVersion, hashCode, isNewRecord, lastUpdated, onDelete, onLoad, onSave, onUpdate, removeIdAndAuditInfo, setAuditInfo, setIdentifier, 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, toString, wait, wait, wait
 

Field Detail

PROPERTYNAME_BULK_DATE_BEGIN

public static final java.lang.String PROPERTYNAME_BULK_DATE_BEGIN
See Also:
Constant Field Values

PROPERTYNAME_BULK_DATE_END

public static final java.lang.String PROPERTYNAME_BULK_DATE_END
See Also:
Constant Field Values

PROPERTYNAME_ISOBULK_DATE_BEGIN

public static final java.lang.String PROPERTYNAME_ISOBULK_DATE_BEGIN
See Also:
Constant Field Values

PROPERTYNAME_ISOBULK_DATE_END

public static final java.lang.String PROPERTYNAME_ISOBULK_DATE_END
See Also:
Constant Field Values

PROPERTYNAME_ISOBULK_DATE_BEGIN_SECONDS

public static final java.lang.String PROPERTYNAME_ISOBULK_DATE_BEGIN_SECONDS
See Also:
Constant Field Values

PROPERTYNAME_ISOBULK_DATE_END_SECONDS

public static final java.lang.String PROPERTYNAME_ISOBULK_DATE_END_SECONDS
See Also:
Constant Field Values

PROPERTYNAME_EXTENT_NUMBER

public static final java.lang.String PROPERTYNAME_EXTENT_NUMBER
See Also:
Constant Field Values

PROPERTYNAME_EXTENT_TYPE

public static final java.lang.String PROPERTYNAME_EXTENT_TYPE
See Also:
Constant Field Values

PROPERTYNAME_CONTAINER_SUMMARY

public static final java.lang.String PROPERTYNAME_CONTAINER_SUMMARY
See Also:
Constant Field Values

PROPERTYNAME_DEACCESSIONS

public static final java.lang.String PROPERTYNAME_DEACCESSIONS
See Also:
Constant Field Values
Constructor Detail

AccessionsResourcesCommon

public AccessionsResourcesCommon()
Method Detail

getBulkDateBegin

public java.lang.Integer getBulkDateBegin()

setBulkDateBegin

public void setBulkDateBegin(java.lang.Integer bulkDateBegin)

getBulkDateEnd

public java.lang.Integer getBulkDateEnd()

setBulkDateEnd

public void setBulkDateEnd(java.lang.Integer bulkDateEnd)

getIsoBulkDateBegin

public java.lang.String getIsoBulkDateBegin()
Method that return the iso bulk date begin reformated to match

Returns:
String containing the iso bluck date begin

setIsoBulkDateBegin

public void setIsoBulkDateBegin(java.lang.String isoBulkDateBegin)
Method to set the ISO bulk date begins

Parameters:
isoBulkDateBegin - The new iso bulk date begins

getIsoBulkDateBeginSeconds

public java.lang.Long getIsoBulkDateBeginSeconds()
Method to return the iso bulk date begins in seconds

Returns:
The bulk date begins in seconds

setIsoBulkDateBeginSeconds

public void setIsoBulkDateBeginSeconds(java.lang.Long seconds)
Method to set the ISO bulk date begins in GMT seconds

Parameters:
seconds - The iso bulk date begins in GMT seconds

getIsoBulkDateEnd

public java.lang.String getIsoBulkDateEnd()
Method that return the iso bulk date begin

Returns:
String containing the iso bluck date begin

setIsoBulkDateEnd

public void setIsoBulkDateEnd(java.lang.String isoBulkDateEnd)
Method to set the ISO bulk date ends

Parameters:
isoBulkDateEnd - The new iso bulk date ends

getIsoBulkDateEndSeconds

public java.lang.Long getIsoBulkDateEndSeconds()
Method to return the iso bulk date ends in seconds

Returns:
The bulk date end in seconds

setIsoBulkDateEndSeconds

public void setIsoBulkDateEndSeconds(java.lang.Long seconds)
Method to set the ISO bulk date ends in GMT seconds

Parameters:
seconds - The date in GMT seconds

getExtentNumber

public java.lang.Double getExtentNumber()

setExtentNumber

public void setExtentNumber(java.lang.Double extentNumber)

removeRelatedObject

public void removeRelatedObject(DomainObject domainObject)
                         throws ObjectNotRemovedException
Description copied from class: DomainObject
A dummy place holder to be overridden by classes that have related objects

Overrides:
removeRelatedObject in class ArchDescription
Parameters:
domainObject - the domain object to be removed
Throws:
ObjectNotRemovedException

addDeaccessions

public void addDeaccessions(Deaccessions deaccession)

removeRepeatingData

protected void removeRepeatingData(Deaccessions deaccession)

getContainerSummary

public java.lang.String getContainerSummary()

setContainerSummary

public void setContainerSummary(java.lang.String containerSummary)

getExtentType

public java.lang.String getExtentType()

setExtentType

public void setExtentType(java.lang.String extentType)

getDeaccessions

public java.util.Set<Deaccessions> getDeaccessions()

setDeaccessions

public void setDeaccessions(java.util.Set<Deaccessions> deaccessions)

getPhysicalDesctiptions

public java.util.Set<ArchDescriptionPhysicalDescriptions> getPhysicalDesctiptions()

setPhysicalDesctiptions

public void setPhysicalDesctiptions(java.util.Set<ArchDescriptionPhysicalDescriptions> physicalDesctiptions)

addPhysicalDesctiptions

public void addPhysicalDesctiptions(ArchDescriptionPhysicalDescriptions physicalDescription)

removePhysicalDesctiptions

public void removePhysicalDesctiptions(ArchDescriptionPhysicalDescriptions physicalDescription)