org.archiviststoolkit.model
Class ArchDescriptionNotes

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by org.archiviststoolkit.mydomain.DomainObject
          extended by org.archiviststoolkit.mydomain.SequencedObject
              extended by org.archiviststoolkit.model.ArchDescriptionRepeatingData
                  extended by org.archiviststoolkit.model.ArchDescriptionNotes
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, java.io.Serializable, java.lang.Comparable, Auditable, org.hibernate.classic.Lifecycle

public class ArchDescriptionNotes
extends ArchDescriptionRepeatingData
implements java.io.Serializable, java.lang.Comparable

See Also:
Serialized Form

Field Summary
static java.lang.String PROPERTYNAME_ARCH_DESCRIPTION_BASIC
           
static java.lang.String PROPERTYNAME_ARCH_DESCRIPTION_MULTI_PART
           
static java.lang.String PROPERTYNAME_ARCH_DESCRIPTION_NOTE_CONTENT
           
static java.lang.String PROPERTYNAME_ARCH_DESCRIPTION_NOTE_INTERNAL_ONLY
           
static java.lang.String PROPERTYNAME_ARCH_DESCRIPTION_NOTE_TYPE
           
 
Fields inherited from class org.archiviststoolkit.model.ArchDescriptionRepeatingData
PROPERTYNAME_CONTENT, PROPERTYNAME_EAD_INGEST_PROBLEMS, PROPERTYNAME_PERSISTENT_ID, PROPERTYNAME_REPEATING_DATA_TYPE, PROPERTYNAME_RESOURCE, PROPERTYNAME_RESOURCE_COMPONENT, PROPERTYNAME_TITLE, PROPERTYNAME_TYPE
 
Fields inherited from class org.archiviststoolkit.mydomain.SequencedObject
PROPERTYNAME_SEQUENCE_NUMBER
 
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
ArchDescriptionNotes(ArchDescription archDescription)
          Full constructor;
ArchDescriptionNotes(ArchDescriptionNotes archDescriptionNote, java.lang.String repeatingDataType)
           
ArchDescriptionNotes(ArchDescription archDescription, java.lang.String repeatingDataType, NotesEtcTypes noteEtcType)
           
ArchDescriptionNotes(ArchDescription archDescription, java.lang.String title, java.lang.String repeatingDataType, java.lang.Integer sequenceOrder, NotesEtcTypes noteEtcType, java.lang.String noteContent)
           
ArchDescriptionNotes(ArchDescription archDescription, java.lang.String title, java.lang.String repeatingDataType, NotesEtcTypes noteEtcType, java.lang.String noteContent)
           
 
Method Summary
 java.lang.Boolean getBasic()
           
 java.lang.String getContent()
           
 java.lang.String getFullDescription()
           
 java.lang.Boolean getInternalOnly()
           
 java.lang.Boolean getMultiPart()
           
 java.lang.String getNoteContent()
           
 NotesEtcTypes getNotesEtcType()
           
 java.lang.String getNoteType()
           
 java.util.Collection getRelatedCollection(DomainObject domainObject)
          A dummy place holder to be overridden by classes that have related objects
 java.lang.String getType()
           
 void removeRelatedObject(DomainObject domainObject)
          A dummy place holder to be overridden by classes that have related objects
 void setBasic(java.lang.Boolean basic)
           
 void setInternalOnly(java.lang.Boolean internalOnly)
           
 void setMultiPart(java.lang.Boolean multiPart)
           
 void setNoteContent(java.lang.String noteContent)
           
 void setNotesEtcType(NotesEtcTypes notesEtcType)
           
 
Methods inherited from class org.archiviststoolkit.model.ArchDescriptionRepeatingData
addRepeatingData, getAccession, getArchDescriptionRepeatingDataId, getChildren, getDigitalObject, getEadIngestProblem, getIdentifier, getInstance, getInstance, getParentNote, getPersistentId, getRepeatingDataType, getResource, getResourceComponent, getTitle, removeRepeatingData, setAccession, setArchDescriptionRepeatingDataId, setChildren, setDigitalObject, setEadIngestProblem, setIdentifier, setParentNote, setPersistentId, setRepeatingDataType, setResource, setResourceComponent, setTitle
 
Methods inherited from class org.archiviststoolkit.mydomain.SequencedObject
adjustSequenceNumberForAdd, compareTo, getSequenceNumber, incrementSequenceNumber, incrementSequenceNumber, resequenceSequencedObjects, setSequenceNumber
 
Methods inherited from class org.archiviststoolkit.mydomain.DomainObject
addRelatedObject, creationDate, equals, getAuditInfo, getCreated, getCreatedBy, getLastUpdated, getLastUpdatedBy, 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, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

PROPERTYNAME_ARCH_DESCRIPTION_NOTE_TYPE

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

PROPERTYNAME_ARCH_DESCRIPTION_NOTE_CONTENT

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

PROPERTYNAME_ARCH_DESCRIPTION_NOTE_INTERNAL_ONLY

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

PROPERTYNAME_ARCH_DESCRIPTION_MULTI_PART

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

PROPERTYNAME_ARCH_DESCRIPTION_BASIC

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

ArchDescriptionNotes

public ArchDescriptionNotes(ArchDescription archDescription)
Full constructor;


ArchDescriptionNotes

public ArchDescriptionNotes(ArchDescription archDescription,
                            java.lang.String repeatingDataType,
                            NotesEtcTypes noteEtcType)

ArchDescriptionNotes

public ArchDescriptionNotes(ArchDescription archDescription,
                            java.lang.String title,
                            java.lang.String repeatingDataType,
                            NotesEtcTypes noteEtcType,
                            java.lang.String noteContent)

ArchDescriptionNotes

public ArchDescriptionNotes(ArchDescription archDescription,
                            java.lang.String title,
                            java.lang.String repeatingDataType,
                            java.lang.Integer sequenceOrder,
                            NotesEtcTypes noteEtcType,
                            java.lang.String noteContent)

ArchDescriptionNotes

public ArchDescriptionNotes(ArchDescriptionNotes archDescriptionNote,
                            java.lang.String repeatingDataType)
Method Detail

getContent

public java.lang.String getContent()
Specified by:
getContent in class ArchDescriptionRepeatingData

getType

public java.lang.String getType()
Specified by:
getType in class ArchDescriptionRepeatingData

getFullDescription

public java.lang.String getFullDescription()
Specified by:
getFullDescription in class ArchDescriptionRepeatingData

getNoteType

public java.lang.String getNoteType()

getNoteContent

public java.lang.String getNoteContent()

setNoteContent

public void setNoteContent(java.lang.String noteContent)

getInternalOnly

public java.lang.Boolean getInternalOnly()

setInternalOnly

public void setInternalOnly(java.lang.Boolean internalOnly)

getMultiPart

public java.lang.Boolean getMultiPart()

setMultiPart

public void setMultiPart(java.lang.Boolean multiPart)

getBasic

public java.lang.Boolean getBasic()

setBasic

public void setBasic(java.lang.Boolean basic)

removeRelatedObject

public void removeRelatedObject(DomainObject domainObject)
Description copied from class: 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(DomainObject domainObject)
Description copied from class: DomainObject
A dummy place holder to be overridden by classes that have related objects

Overrides:
getRelatedCollection in class DomainObject
Parameters:
domainObject - the domain object to be removed

getNotesEtcType

public NotesEtcTypes getNotesEtcType()

setNotesEtcType

public void setNotesEtcType(NotesEtcTypes notesEtcType)