org.archiviststoolkit.model
Class ArchDescriptionDigitalInstances

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

public class ArchDescriptionDigitalInstances
extends ArchDescriptionInstances
implements java.io.Serializable, java.lang.Comparable

See Also:
Serialized Form

Field Summary
static java.lang.String PROPERTYNAME_CONTAINER_LABEL
           
static java.lang.String PROPERTYNAME_CONTAINER1_TYPE
           
static java.lang.String PROPERTYNAME_CONTAINER1_VALUE
           
static java.lang.String PROPERTYNAME_CONTAINER2_TYPE
           
static java.lang.String PROPERTYNAME_CONTAINER2_VALUE
           
static java.lang.String PROPERTYNAME_CONTAINER3_TYPE
           
static java.lang.String PROPERTYNAME_CONTAINER3_VALUE
           
static java.lang.String PROPERTYNAME_PARENT_RESOURCE
           
 
Fields inherited from class org.archiviststoolkit.model.ArchDescriptionInstances
DIGITAL_OBJECT_INSTANCE, DIGITAL_OBJECT_INSTANCE_LINK, PROPERTYNAME_INSTANCE_LABEL, PROPERTYNAME_INSTANCE_TYPE, PROPERTYNAME_RESOURCE, PROPERTYNAME_RESOURCE_COMPONENT
 
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
ArchDescriptionDigitalInstances()
          No-arg constructor for JavaBean tools.
ArchDescriptionDigitalInstances(DigitalObjects digitalObject)
          Constructor that just takes a digital object as an argument
ArchDescriptionDigitalInstances(ResourcesCommon archDescription)
           
ArchDescriptionDigitalInstances(ResourcesCommon archDescription, DigitalObjects digitalObject, Resources parentResource)
           
ArchDescriptionDigitalInstances(ResourcesCommon archDescription, Resources parentResource)
          Constructor that takes a resource component/resource and the parent resource
 
Method Summary
 boolean canAddNoteToDigitalObject(ArchDescriptionNotes aNote)
          Check to see if this note should be added to a digital object
 void clearPlainDigitalObjectJTree()
           
 DigitalObjects getDigitalObject()
           
 javax.swing.JTree getDigitalObjectJTree()
           
 java.lang.String getInstanceLabel()
           
 Resources getParentResource()
           
 javax.swing.JTree getPlainDigitalObjectJTree()
           
 void setDigitalObject(DigitalObjects digitalObject)
           
 void setDigitalObjectJTree(DnDDigitalObjectTree digitalObjectJTree)
           
 void setParentResource(Resources parentResource)
           
 void setPlainDigitalObjectJTree(javax.swing.JTree plainJTree)
           
 
Methods inherited from class org.archiviststoolkit.model.ArchDescriptionInstances
compareTo, getArchDescriptionInstancesId, getIdentifier, getInstanceType, getResource, getResourceComponent, setArchDescriptionInstancesId, setIdentifier, setInstanceType, setResource, setResourcesComponents
 
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_CONTAINER1_VALUE

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

PROPERTYNAME_CONTAINER1_TYPE

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

PROPERTYNAME_CONTAINER2_VALUE

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

PROPERTYNAME_CONTAINER2_TYPE

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

PROPERTYNAME_CONTAINER3_VALUE

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

PROPERTYNAME_CONTAINER3_TYPE

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

PROPERTYNAME_CONTAINER_LABEL

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

PROPERTYNAME_PARENT_RESOURCE

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

ArchDescriptionDigitalInstances

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


ArchDescriptionDigitalInstances

public ArchDescriptionDigitalInstances(DigitalObjects digitalObject)
Constructor that just takes a digital object as an argument

Parameters:
digitalObject -

ArchDescriptionDigitalInstances

public ArchDescriptionDigitalInstances(ResourcesCommon archDescription)

ArchDescriptionDigitalInstances

public ArchDescriptionDigitalInstances(ResourcesCommon archDescription,
                                       Resources parentResource)
Constructor that takes a resource component/resource and the parent resource

Parameters:
archDescription - This may be a resource component or resource
parentResource - The parent resource component

ArchDescriptionDigitalInstances

public ArchDescriptionDigitalInstances(ResourcesCommon archDescription,
                                       DigitalObjects digitalObject,
                                       Resources parentResource)
Method Detail

getInstanceLabel

public java.lang.String getInstanceLabel()
Specified by:
getInstanceLabel in class ArchDescriptionInstances

canAddNoteToDigitalObject

public boolean canAddNoteToDigitalObject(ArchDescriptionNotes aNote)
Check to see if this note should be added to a digital object

Parameters:
aNote - The note to check to see if it can be added to the digital object
Returns:
boolean idicating whether the particular note can be added to a digital object

getDigitalObject

public DigitalObjects getDigitalObject()

setDigitalObject

public void setDigitalObject(DigitalObjects digitalObject)

getDigitalObjectJTree

public javax.swing.JTree getDigitalObjectJTree()

setDigitalObjectJTree

public void setDigitalObjectJTree(DnDDigitalObjectTree digitalObjectJTree)

getPlainDigitalObjectJTree

public javax.swing.JTree getPlainDigitalObjectJTree()

setPlainDigitalObjectJTree

public void setPlainDigitalObjectJTree(javax.swing.JTree plainJTree)

clearPlainDigitalObjectJTree

public void clearPlainDigitalObjectJTree()

getParentResource

public Resources getParentResource()

setParentResource

public void setParentResource(Resources parentResource)