SRJRCFrames
v0.1.296

de.schwarzrot.data.meta.support
Class AbstractMetaChildEntity<N extends Comparable<N>,P extends Entity>

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by de.schwarzrot.data.support.AbstractEntity
          extended by de.schwarzrot.data.meta.support.AbstractMetaEntity<N>
              extended by de.schwarzrot.data.meta.support.AbstractMetaChildEntity<N,P>
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, ChildEntity<P>, Entity, MetaEntity<N>, NamedChildEntity<N,P>, NamedEntity<N>, Serializable, Comparable<Entity>
Direct Known Subclasses:
AttributeDomain, ColumnDefinition, IndexDefinition, SchemaDefinition, TableDefinition

public abstract class AbstractMetaChildEntity<N extends Comparable<N>,P extends Entity>
extends AbstractMetaEntity<N>
implements NamedChildEntity<N,P>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.schwarzrot.data.meta.support.AbstractMetaEntity
MODEL_SCHEMA
 
Fields inherited from interface de.schwarzrot.data.ChildEntity
PARENT_ATTR_NAME
 
Constructor Summary
protected AbstractMetaChildEntity()
           
protected AbstractMetaChildEntity(AbstractMetaChildEntity<N,P> other)
           
 
Method Summary
 int compareTo(Entity other)
           
 P getParent()
          returns the parent entity instance of this entity instance
 void setDirty(boolean dirty)
          marks an instance as dirty, which means the instance has changes, not written to persistence yet.
 void setParent(P parent)
          sets the parent entity instance to the given instance
 
Methods inherited from class de.schwarzrot.data.meta.support.AbstractMetaEntity
getComment, getLogicalName, getMappings, getName, getPhysID, getSchemaName, getUniqColumnNames, setComment, setName, setPhysID
 
Methods inherited from class de.schwarzrot.data.support.AbstractEntity
adoptChildren, adoptChildren, adoptGroupedChildren, equals, getCModified, getCode, getDefaultOrder, getDtCreated, getDtModified, getId, getLogger, getPersistenceName, getSkipList, getSystemClass, getUCreated, getUModified, getUserAttributes, getVariantColumnName, getVariantTypeMap, hashCode, isDirty, isUserType, isVirtual, setCModified, setDtCreated, setDtModified, setId, setSchemaName, setUCreated, setUModified, toString, validate
 
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, wait, wait, wait
 
Methods inherited from interface de.schwarzrot.data.NamedEntity
getName, setName
 
Methods inherited from interface de.schwarzrot.data.ChildEntity
getParentType
 
Methods inherited from interface de.schwarzrot.data.Entity
getCModified, getDefaultOrder, getDtCreated, getDtModified, getId, getMappings, getPersistenceName, getSchemaName, getSkipList, getSystemClass, getUCreated, getUModified, getUniqColumnNames, getUserAttributes, getVariantColumnName, getVariantTypeMap, isDirty, isUserType, isVirtual, setCModified, setDtCreated, setDtModified, setId, setUCreated, setUModified, validate
 
Methods inherited from interface com.jgoodies.binding.beans.Observable
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

AbstractMetaChildEntity

protected AbstractMetaChildEntity()

AbstractMetaChildEntity

protected AbstractMetaChildEntity(AbstractMetaChildEntity<N,P> other)
Method Detail

compareTo

public int compareTo(Entity other)
Specified by:
compareTo in interface Comparable<Entity>
Overrides:
compareTo in class AbstractMetaEntity<N extends Comparable<N>>

getParent

public final P getParent()
Description copied from interface: ChildEntity
returns the parent entity instance of this entity instance

Specified by:
getParent in interface ChildEntity<P extends Entity>
Returns:
an entity

setDirty

public final void setDirty(boolean dirty)
Description copied from interface: Entity
marks an instance as dirty, which means the instance has changes, not written to persistence yet. Each setter should observe the changes and mark the instance as dirty as necessary.

Specified by:
setDirty in interface Entity
Overrides:
setDirty in class AbstractEntity
Parameters:
dirty - - true if instance has unsafed changes
See Also:
AbstractEntity

setParent

public final void setParent(P parent)
Description copied from interface: ChildEntity
sets the parent entity instance to the given instance

Specified by:
setParent in interface ChildEntity<P extends Entity>
Parameters:
parent - the new parent entity instance

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.