org.archiviststoolkit.model
Class ArchDescriptionRepeatingData

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
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, java.io.Serializable, java.lang.Comparable, Auditable, org.hibernate.classic.Lifecycle
Direct Known Subclasses:
ArchDescriptionNotes, ArchDescriptionStructuredData, ExternalReference

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

See Also:
Serialized Form

Field Summary
static java.lang.String PROPERTYNAME_CONTENT
           
static java.lang.String PROPERTYNAME_EAD_INGEST_PROBLEMS
           
static java.lang.String PROPERTYNAME_PERSISTENT_ID
           
static java.lang.String PROPERTYNAME_REPEATING_DATA_TYPE
           
static java.lang.String PROPERTYNAME_RESOURCE
           
static java.lang.String PROPERTYNAME_RESOURCE_COMPONENT
           
static java.lang.String PROPERTYNAME_TITLE
           
static java.lang.String 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
ArchDescriptionRepeatingData(ArchDescription archDescription)
          Full constructor;
ArchDescriptionRepeatingData(ArchDescriptionNotes archDescriptionNote, java.lang.String repeatingDataType)
           
ArchDescriptionRepeatingData(ArchDescription archDescription, java.lang.String repeatingDataType)
           
ArchDescriptionRepeatingData(ArchDescription archDescription, java.lang.String title, java.lang.String repeatingDataType)
           
ArchDescriptionRepeatingData(ArchDescription archDescription, java.lang.String title, java.lang.String repeatingDataType, java.lang.Integer sequenceNumber)
           
ArchDescriptionRepeatingData(java.lang.String repeatingDataType)
           
 
Method Summary
 void addRepeatingData(ArchDescriptionRepeatingData repeatingData)
           
 Accessions getAccession()
           
 java.lang.Long getArchDescriptionRepeatingDataId()
           
 java.util.Set<ArchDescriptionRepeatingData> getChildren()
           
abstract  java.lang.String getContent()
           
 DigitalObjects getDigitalObject()
           
 java.lang.String getEadIngestProblem()
           
abstract  java.lang.String getFullDescription()
           
 java.lang.Long getIdentifier()
           
static ArchDescriptionRepeatingData getInstance(ArchDescription archDescriptionModel, java.lang.Class repeatingDataClass, NotesEtcTypes noteType)
           
static ArchDescriptionRepeatingData getInstance(ArchDescriptionNotes archDescriptionNotesModel, java.lang.Class repeatingDataClass)
           
 ArchDescriptionNotes getParentNote()
           
 java.lang.String getPersistentId()
           
 java.lang.String getRepeatingDataType()
           
 Resources getResource()
           
 ResourcesComponents getResourceComponent()
           
 java.lang.String getTitle()
           
abstract  java.lang.String getType()
           
protected  void removeRepeatingData(ArchDescriptionRepeatingData repeatingData)
           
 void setAccession(Accessions accession)
           
 void setArchDescriptionRepeatingDataId(java.lang.Long archDescriptionRepeatingDataId)
           
 void setChildren(java.util.Set<ArchDescriptionRepeatingData> children)
           
 void setDigitalObject(DigitalObjects digitalObject)
           
 void setEadIngestProblem(java.lang.String eadIngestProblem)
           
 void setIdentifier(java.lang.Long identifier)
           
 void setParentNote(ArchDescriptionNotes parentNote)
           
 void setPersistentId(java.lang.String persistentId)
           
 void setRepeatingDataType(java.lang.String repeatingDataType)
           
 void setResource(Resources resource)
           
 void setResourceComponent(ResourcesComponents resourceComponent)
           
 void setTitle(java.lang.String title)
           
 
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, 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, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

PROPERTYNAME_REPEATING_DATA_TYPE

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

PROPERTYNAME_TITLE

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

PROPERTYNAME_EAD_INGEST_PROBLEMS

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

PROPERTYNAME_TYPE

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

PROPERTYNAME_CONTENT

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

PROPERTYNAME_PERSISTENT_ID

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

PROPERTYNAME_RESOURCE

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

PROPERTYNAME_RESOURCE_COMPONENT

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

ArchDescriptionRepeatingData

public ArchDescriptionRepeatingData(ArchDescription archDescription)
Full constructor;


ArchDescriptionRepeatingData

public ArchDescriptionRepeatingData(java.lang.String repeatingDataType)

ArchDescriptionRepeatingData

public ArchDescriptionRepeatingData(ArchDescription archDescription,
                                    java.lang.String title,
                                    java.lang.String repeatingDataType)

ArchDescriptionRepeatingData

public ArchDescriptionRepeatingData(ArchDescription archDescription,
                                    java.lang.String repeatingDataType)

ArchDescriptionRepeatingData

public ArchDescriptionRepeatingData(ArchDescription archDescription,
                                    java.lang.String title,
                                    java.lang.String repeatingDataType,
                                    java.lang.Integer sequenceNumber)

ArchDescriptionRepeatingData

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

getIdentifier

public java.lang.Long getIdentifier()
Specified by:
getIdentifier in class DomainObject
Returns:
Returns the identifier.

setIdentifier

public void setIdentifier(java.lang.Long identifier)
Specified by:
setIdentifier in class DomainObject
Parameters:
identifier - The identifier to set.

getArchDescriptionRepeatingDataId

public java.lang.Long getArchDescriptionRepeatingDataId()

setArchDescriptionRepeatingDataId

public void setArchDescriptionRepeatingDataId(java.lang.Long archDescriptionRepeatingDataId)

getContent

public abstract java.lang.String getContent()

getType

public abstract java.lang.String getType()

getFullDescription

public abstract java.lang.String getFullDescription()

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getRepeatingDataType

public java.lang.String getRepeatingDataType()

setRepeatingDataType

public void setRepeatingDataType(java.lang.String repeatingDataType)

getResourceComponent

public ResourcesComponents getResourceComponent()

setResourceComponent

public void setResourceComponent(ResourcesComponents resourceComponent)

getResource

public Resources getResource()

setResource

public void setResource(Resources resource)

getEadIngestProblem

public java.lang.String getEadIngestProblem()

setEadIngestProblem

public void setEadIngestProblem(java.lang.String eadIngestProblem)

getDigitalObject

public DigitalObjects getDigitalObject()

setDigitalObject

public void setDigitalObject(DigitalObjects digitalObject)

getInstance

public static ArchDescriptionRepeatingData getInstance(ArchDescription archDescriptionModel,
                                                       java.lang.Class repeatingDataClass,
                                                       NotesEtcTypes noteType)
                                                throws UnsupportedRepeatingDataTypeException
Throws:
UnsupportedRepeatingDataTypeException

getInstance

public static ArchDescriptionRepeatingData getInstance(ArchDescriptionNotes archDescriptionNotesModel,
                                                       java.lang.Class repeatingDataClass)
                                                throws UnsupportedRepeatingDataTypeException
Throws:
UnsupportedRepeatingDataTypeException

getAccession

public Accessions getAccession()

setAccession

public void setAccession(Accessions accession)

getParentNote

public ArchDescriptionNotes getParentNote()

setParentNote

public void setParentNote(ArchDescriptionNotes parentNote)

getChildren

public java.util.Set<ArchDescriptionRepeatingData> getChildren()

setChildren

public void setChildren(java.util.Set<ArchDescriptionRepeatingData> children)

addRepeatingData

public void addRepeatingData(ArchDescriptionRepeatingData repeatingData)

removeRepeatingData

protected void removeRepeatingData(ArchDescriptionRepeatingData repeatingData)

getPersistentId

public java.lang.String getPersistentId()

setPersistentId

public void setPersistentId(java.lang.String persistentId)