|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.workspace.models.BaseModel org.devaki.nextobjects.workspace.models.ConceptualModel
The Conceptual Data Model
Field Summary | |
static int |
ASSO_01
cards |
static int |
ASSO_0N
cards |
static int |
ASSO_11
cards |
static int |
ASSO_1N
cards |
static int |
ASSO_NM
cards (for a model only) |
Constructor Summary | |
ConceptualModel(java.lang.String pName)
Construct a new 'ConceptualModel' object |
Method Summary | |
int |
countAssociation()
Return the number of associations in the model |
int |
countAssociationLinks()
Return the number of association links in the model |
int |
countEntities()
Return the number of entities in the model |
Association |
getAssociationAt(int at)
Return the association identified by the parameter in the list of associations. |
AssociationLink |
getAssociationLinkAt(int at)
Return the association link identified by the parameter in the list of entities. |
java.util.Vector |
getAssociationLinks()
Return the association links of the model |
java.util.Vector |
getAssociations()
Return the associations of the model |
java.lang.String |
getBestFilename()
Return the best possible filename for save |
java.util.Vector |
getEntities()
Return the entities of the model |
Entity |
getEntity(java.lang.String pString)
Return a entity for code |
Entity |
getEntityAt(int at)
Return the entity identified by the parameter in the list of entities. |
LineView[] |
getModelLinks()
Conveniency method wich return all the links to draw in this models. |
BaseObject[] |
getModelObjects()
Conveniency method wich return all the objects in the models in this models. |
BaseModelView |
getModelView()
Return the graphics view of the model |
void |
setConceptualView(ConceptualView pConceptualView)
Set the conceptual view of the model |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ASSO_01
public static final int ASSO_11
public static final int ASSO_0N
public static final int ASSO_1N
public static final int ASSO_NM
Constructor Detail |
public ConceptualModel(java.lang.String pName)
pName
- Name of the modelMethod Detail |
public final java.lang.String getBestFilename()
getBestFilename
in class BaseModel
public final LineView[] getModelLinks()
public final BaseObject[] getModelObjects()
getModelObjects
in class BaseModel
public final BaseModelView getModelView()
getModelView
in class BaseModel
public final java.util.Vector getAssociations()
public final java.util.Vector getEntities()
public final java.util.Vector getAssociationLinks()
public final Association getAssociationAt(int at)
at
- index
public final Entity getEntityAt(int at)
at
- the index
public final Entity getEntity(java.lang.String pString)
pString
- the string
public final AssociationLink getAssociationLinkAt(int at)
at
- index
public final void setConceptualView(ConceptualView pConceptualView)
pConceptualView
- the graphics viewpublic final int countEntities()
public final int countAssociation()
public final int countAssociationLinks()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |