|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jgoodies.binding.beans.Model de.schwarzrot.data.support.AbstractEntity de.schwarzrot.data.support.AbstractEntityReference<A,B>
A
- the master Entity
B
- the related Entity
public abstract class AbstractEntityReference<A extends Entity,B extends Entity>
implements a base class for anonymous references between different
Entity
. The referenceA
is silently considered the master and
referenceB
is silently considered the related target.
Constructor Summary | |
---|---|
AbstractEntityReference(A refA,
B refB)
|
Method Summary | |
---|---|
A |
getReferenceA()
|
B |
getReferenceB()
|
List<String> |
getUniqColumnNames()
returns a list of property names, which serve to detect a uniq instance without the usage of the primary key. |
void |
setReferenceA(A referenceA)
|
void |
setReferenceB(B referenceB)
|
Methods inherited from class de.schwarzrot.data.support.AbstractEntity |
---|
adoptChildren, adoptChildren, adoptGroupedChildren, compareTo, equals, getCModified, getCode, getDefaultOrder, getDtCreated, getDtModified, getId, getLogger, getMappings, getPersistenceName, getSchemaName, getSkipList, getSystemClass, getUCreated, getUModified, getUserAttributes, getVariantColumnName, getVariantTypeMap, hashCode, isDirty, isUserType, isVirtual, setCModified, setDirty, 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.EntityReference |
---|
getAType, getBType |
Methods inherited from interface com.jgoodies.binding.beans.Observable |
---|
addPropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
---|
public AbstractEntityReference(A refA, B refB)
Method Detail |
---|
public final A getReferenceA()
getReferenceA
in interface EntityReference<A extends Entity,B extends Entity>
public final B getReferenceB()
getReferenceB
in interface EntityReference<A extends Entity,B extends Entity>
public List<String> getUniqColumnNames()
Entity
getUniqColumnNames
in interface Entity
getUniqColumnNames
in class AbstractEntity
public final void setReferenceA(A referenceA)
setReferenceA
in interface EntityReference<A extends Entity,B extends Entity>
public final void setReferenceB(B referenceB)
setReferenceB
in interface EntityReference<A extends Entity,B extends Entity>
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |