org.archiviststoolkit.model
Class ListDefinition

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.ArchDescriptionStructuredData
                      extended by org.archiviststoolkit.model.ListDefinition
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, java.io.Serializable, java.lang.Comparable, Auditable, org.hibernate.classic.Lifecycle

public class ListDefinition
extends ArchDescriptionStructuredData

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.archiviststoolkit.model.ArchDescriptionStructuredData
PROPERTYNAME_ARCH_DESCRIPTION_NOTE_INTERNAL_ONLY, PROPERTYNAME_NOTE
 
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
ListDefinition()
          No-arg constructor for JavaBean tools.
ListDefinition(ArchDescriptionNotes archDescriptionNote)
          Full constructor;
 
Method Summary
 void addItem(ArchDescriptionStructuredDataItems item)
           
 void addListItem(ListDefinitionItems listItem)
           
 java.lang.String getContent()
           
 java.util.Set<ArchDescriptionStructuredDataItems> getItems()
           
 java.util.SortedSet<ArchDescriptionStructuredDataItems> getListItems()
           
 java.util.Collection getRelatedCollection(java.lang.Class clazz)
           
 java.lang.String getType()
           
protected  void removeListItem(ListDefinitionItems listItem)
           
 void removeRelatedObject(DomainObject domainObject)
          A dummy place holder to be overridden by classes that have related objects
 void setListItems(java.util.SortedSet<ArchDescriptionStructuredDataItems> listItems)
           
 
Methods inherited from class org.archiviststoolkit.model.ArchDescriptionStructuredData
getFullDescription, getInternalOnly, getNote, setInternalOnly, setNote
 
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, 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, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

ListDefinition

public ListDefinition()
No-arg constructor for JavaBean tools.


ListDefinition

public ListDefinition(ArchDescriptionNotes archDescriptionNote)
Full constructor;

Method Detail

addItem

public void addItem(ArchDescriptionStructuredDataItems item)
Specified by:
addItem in class ArchDescriptionStructuredData

getItems

public java.util.Set<ArchDescriptionStructuredDataItems> getItems()
Specified by:
getItems in class ArchDescriptionStructuredData

getContent

public java.lang.String getContent()
Overrides:
getContent in class ArchDescriptionStructuredData

getType

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

getListItems

public java.util.SortedSet<ArchDescriptionStructuredDataItems> getListItems()

setListItems

public void setListItems(java.util.SortedSet<ArchDescriptionStructuredDataItems> listItems)

addListItem

public void addListItem(ListDefinitionItems listItem)

removeListItem

protected void removeListItem(ListDefinitionItems listItem)

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(java.lang.Class clazz)