|
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> de.schwarzrot.data.support.AbstractWeightedEntityReference<A,B,T>
A
- the master Entity
B
- the related Entity
T
- the type of the property, that determines the sort order of the
relationspublic abstract class AbstractWeightedEntityReference<A extends Entity,B extends Entity,T>
implements a base class for anonymous references, that should be sorted/weighted.
Constructor Summary | |
---|---|
AbstractWeightedEntityReference(A refA,
B refB)
|
|
AbstractWeightedEntityReference(A refA,
B refB,
T weight)
|
Method Summary | |
---|---|
List<SortInfo> |
getDefaultOrder()
returns a list of SortInfo , that build the order for default
list-queries. |
T |
getWeight()
|
void |
setWeight(T weight)
|
Methods inherited from class de.schwarzrot.data.support.AbstractEntityReference |
---|
getReferenceA, getReferenceB, getUniqColumnNames, setReferenceA, setReferenceB |
Methods inherited from class de.schwarzrot.data.support.AbstractEntity |
---|
adoptChildren, adoptChildren, adoptGroupedChildren, compareTo, equals, getCModified, getCode, 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.WeightedEntityReference |
---|
getWeightType |
Methods inherited from interface de.schwarzrot.data.EntityReference |
---|
getAType, getBType, getReferenceA, getReferenceB, setReferenceA, setReferenceB |
Methods inherited from interface com.jgoodies.binding.beans.Observable |
---|
addPropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
---|
public AbstractWeightedEntityReference(A refA, B refB)
public AbstractWeightedEntityReference(A refA, B refB, T weight)
Method Detail |
---|
public List<SortInfo> getDefaultOrder()
Entity
SortInfo
, that build the order for default
list-queries.
getDefaultOrder
in interface Entity
getDefaultOrder
in class AbstractEntity
public final T getWeight()
getWeight
in interface WeightedEntityReference<A extends Entity,B extends Entity,T>
public final void setWeight(T weight)
setWeight
in interface WeightedEntityReference<A extends Entity,B extends Entity,T>
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |