|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jac.ide.ModelElement
org.objectweb.jac.ide.Link
org.objectweb.jac.ide.RelationLink
Field Summary | |
static int |
ORIENTATION_BOTH
|
static int |
ORIENTATION_REVERSE
|
static int |
ORIENTATION_STRAIGHT
|
Constructor Summary | |
RelationLink()
|
|
RelationLink(Class start,
Class end)
|
Method Summary | |
static Collection |
endChoices(Object substance)
|
RelationRole |
endRole()
|
int |
getOrientation()
Get the value of orientation. |
void |
initRoles()
Instantiates a start role and an end role. |
boolean |
isAggregation()
Get the value of aggregation. |
boolean |
isCalculated()
Get the value of aggregation. |
void |
reverse()
Swaps start and end classes. |
void |
setAggregation(boolean v)
Set the value of aggregation. |
void |
setCalculated(boolean v)
Set the value of aggregation. |
void |
setOrientation(int v)
Set the value of orientation. |
RelationRole |
startRole()
|
Methods inherited from class org.objectweb.jac.ide.Link |
getEnd, getEndRole, getStart, getStartRole, setEnd, setEndRole, setStart, setStartRole |
Methods inherited from class org.objectweb.jac.ide.ModelElement |
addConfigItem, addEndingLink, addLink, getConfigItems, getDescription, getEndingLinks, getFullName, getGenerationFullName, getGenerationName, getLinks, getName, getType, remove, removeEndingLink, removeLink, setDescription, setEndingLinks, setLinks, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ORIENTATION_BOTH
public static final int ORIENTATION_STRAIGHT
public static final int ORIENTATION_REVERSE
Constructor Detail |
public RelationLink()
public RelationLink(Class start, Class end)
Method Detail |
public void initRoles()
public RelationRole startRole()
public RelationRole endRole()
public int getOrientation()
public void setOrientation(int v)
v
- Value to assign to orientation.public boolean isAggregation()
public void setAggregation(boolean v)
v
- Value to assign to aggregation.public boolean isCalculated()
public void setCalculated(boolean v)
v
- Value to assign to aggregation.public static Collection endChoices(Object substance)
public void reverse()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |