org.archiviststoolkit.model
Class ArchDescriptionInstances

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

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

See Also:
Serialized Form

Field Summary
static java.lang.String DIGITAL_OBJECT_INSTANCE
           
static java.lang.String DIGITAL_OBJECT_INSTANCE_LINK
           
static java.lang.String PROPERTYNAME_INSTANCE_LABEL
           
static java.lang.String PROPERTYNAME_INSTANCE_TYPE
           
static java.lang.String PROPERTYNAME_RESOURCE
           
static java.lang.String 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
ArchDescriptionInstances()
          No-arg constructor for JavaBean tools.
ArchDescriptionInstances(ArchDescription archDescription)
          Resource component constructor;
 
Method Summary
 int compareTo(java.lang.Object object)
          Compares this object to another.
 java.lang.Long getArchDescriptionInstancesId()
           
 java.lang.Long getIdentifier()
           
abstract  java.lang.String getInstanceLabel()
           
 java.lang.String getInstanceType()
           
 Resources getResource()
           
 ResourcesComponents getResourceComponent()
           
 void setArchDescriptionInstancesId(java.lang.Long archDescriptionInstancesId)
           
 void setIdentifier(java.lang.Long identifier)
           
 void setInstanceType(java.lang.String instanceType)
           
 void setResource(Resources resource)
           
 void setResourcesComponents(ResourcesComponents resourceComponent)
           
 
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
 

Field Detail

DIGITAL_OBJECT_INSTANCE

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

DIGITAL_OBJECT_INSTANCE_LINK

public static final java.lang.String DIGITAL_OBJECT_INSTANCE_LINK
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

PROPERTYNAME_INSTANCE_TYPE

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

PROPERTYNAME_INSTANCE_LABEL

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

ArchDescriptionInstances

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


ArchDescriptionInstances

public ArchDescriptionInstances(ArchDescription archDescription)
Resource component constructor;

Method Detail

getArchDescriptionInstancesId

public java.lang.Long getArchDescriptionInstancesId()

setArchDescriptionInstancesId

public void setArchDescriptionInstancesId(java.lang.Long archDescriptionInstancesId)

getInstanceLabel

public abstract java.lang.String getInstanceLabel()

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.

compareTo

public int compareTo(java.lang.Object object)
Compares this object to another.

Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class DomainObject
Parameters:
object - the object to compare this to.
Returns:
a integer result of the comparison.

getResourceComponent

public ResourcesComponents getResourceComponent()

setResourcesComponents

public void setResourcesComponents(ResourcesComponents resourceComponent)

getResource

public Resources getResource()

setResource

public void setResource(Resources resource)

getInstanceType

public java.lang.String getInstanceType()

setInstanceType

public void setInstanceType(java.lang.String instanceType)