|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.workspace.models.objects.BaseObject org.devaki.nextobjects.workspace.models.objects.BaseClass org.devaki.nextobjects.workspace.models.objects.Association
This class describe an association
Constructor Summary | |
Association(Association pObject)
Clone new 'Association' object |
|
Association(ConceptualModel pModel)
Create a new 'Association' object |
|
Association(ConceptualModel pModel,
Entity pEntityBegin,
Entity pEntityEnd)
Construct a new 'Association' object |
Method Summary | |
AssociationLink |
addAssociationLink(Entity pEntity)
Add an association link |
AssociationLink |
addAssociationLink(Entity pEntity,
int pCard)
Add an association link |
int |
countMyAssociationLinks()
Number of association links |
java.util.Vector |
getAllIdentifierAt(int position)
Get all identifiers according to the position given as parameter |
AssociationLink |
getAssociationLinkAt(int i)
Get the association link to the given parameter |
java.util.Vector |
getAssociationLinks()
Return the list of association links |
int |
getCardAt(int position)
Get the cardinlity according to the position given as parameter |
Entity |
getEntityAt(int position)
Get the entity according to the given parameter |
Column |
getIdentifierAt(int position)
Get the identifier according to the position given as parameter |
ObjectView |
getObjectView()
Get the AssociationView |
void |
setCardAt(int position,
int pValue)
Set the cardinality to the position given as parameter |
Methods inherited from class org.devaki.nextobjects.workspace.models.objects.BaseClass |
getAbstractClass, getAlias, getBaseClass, getBasePeer, getColumnForId, getHeavyIndexing, getIdMethod, getIndexes, getJavaName, getJavaNamingMethod, getSkipSql, getUniques, setAbstractClass, setAlias, setBaseClass, setBasePeer, setData, setHeavyIndexing, setIdMethod, setIndexes, setJavaName, setJavaNamingMethod, setSkipSql, setUniques |
Methods inherited from class org.devaki.nextobjects.workspace.models.objects.BaseObject |
getCode, getColumns, getData, getDataChanged, getDescription, getDynamicTreeNode, getMyModel, getName, getNotes, resetModelStatus, setCode, setColumns, setDataChanged, setDescription, setDynamicTreeNode, setMyModel, setName, setNotes, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Association(ConceptualModel pModel, Entity pEntityBegin, Entity pEntityEnd)
pModel
- the context modelpEntityBegin
- the left entitypEntityEnd
- the right entitypublic Association(Association pObject)
pObject
- the association to clonepublic Association(ConceptualModel pModel)
pModel
- the context modelMethod Detail |
public final java.util.Vector getAssociationLinks()
public final ObjectView getObjectView()
getObjectView
in class BaseClass
public final Column getIdentifierAt(int position)
position
- the index
public final java.util.Vector getAllIdentifierAt(int position)
position
- indexed position
public final int getCardAt(int position)
position
- the index
public final AssociationLink getAssociationLinkAt(int i)
i
- the index
public final Entity getEntityAt(int position)
position
- the index
public final void setCardAt(int position, int pValue)
position
- the indexpValue
- the cardspublic final AssociationLink addAssociationLink(Entity pEntity, int pCard)
pEntity
- the indexpCard
- the card
public final AssociationLink addAssociationLink(Entity pEntity)
pEntity
- the entity
public final int countMyAssociationLinks()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |