|
|||||||||||
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.Role
org.objectweb.jac.ide.RelationRole
Field Summary | |
protected static String |
UNDEFINED
|
Constructor Summary | |
RelationRole()
|
|
RelationRole(Link link)
|
Method Summary | |
Type |
getAbstractType()
|
Method |
getAdder()
|
String |
getCardinality()
|
Method |
getClearer()
|
String |
getGenerationFullName()
Gets full name to use for code generation. |
String |
getGenerationName()
Returns the role name used for code generation |
Method |
getGetter()
|
Typed |
getPrimaryKey()
|
String |
getPrototype()
|
Method |
getRemover()
|
String |
getRemoverName()
Returns the name of the getter method. |
String |
getRoleName()
|
Type |
getType()
Get the type of the model element. |
void |
initAdder(Method adder)
Initialize adder. |
void |
initClearer(Method clearer)
Initialize clearer. |
void |
initGetter(Method getter)
Initialize getter. |
void |
initRemover(Method remover)
Initialize remover. |
boolean |
isAggregation()
|
boolean |
isMultiple()
|
boolean |
isNavigable()
|
Collection |
methodChoices()
|
Collection |
primaryKeyChoices()
|
void |
setAdder(Method method)
|
void |
setCardinality(String cardinality)
|
void |
setClearer(Method method)
|
void |
setGetter(Method method)
|
void |
setPrimaryKey(Typed primaryKey)
|
void |
setRemover(Method method)
|
Methods inherited from class org.objectweb.jac.ide.Role |
getEnd, getLink, getStart, isEndRole, isStartRole, oppositeRole, setEnd, setLink, setStart |
Methods inherited from class org.objectweb.jac.ide.ModelElement |
addConfigItem, addEndingLink, addLink, getConfigItems, getDescription, getEndingLinks, getFullName, getLinks, getName, 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 |
Methods inherited from interface org.objectweb.jac.ide.Element |
getName |
Field Detail |
protected static final String UNDEFINED
Constructor Detail |
public RelationRole(Link link)
public RelationRole()
Method Detail |
public String getCardinality()
public void setCardinality(String cardinality)
public String getGenerationName()
getGenerationName
in interface Element
getGenerationName
in class Role
public String getGenerationFullName()
ModelElement
getGenerationFullName
in interface Element
getGenerationFullName
in class Role
public String getRoleName()
public Type getType()
ModelElement
getType
in interface Typed
getType
in class ModelElement
public Type getAbstractType()
public boolean isMultiple()
public String getPrototype()
public Method getAdder()
public void setAdder(Method method)
public void initAdder(Method adder)
adder
- adder method to initializepublic Method getRemover()
public void setRemover(Method method)
public void initRemover(Method remover)
remover
- remover method to initializepublic Method getClearer()
public void setClearer(Method method)
public void initClearer(Method clearer)
clearer
- clearer method to initializepublic Method getGetter()
public void setGetter(Method method)
public void initGetter(Method getter)
getter
- getter method to initializepublic boolean isNavigable()
public boolean isAggregation()
public Typed getPrimaryKey()
public void setPrimaryKey(Typed primaryKey)
public String getRemoverName()
public Collection primaryKeyChoices()
public Collection methodChoices()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |