|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.finalist.mmbase.uml.MMBaseRelationHelper
public class MMBaseRelationHelper
Helper classes to get access to relation specific uml model elements.
Constructor Summary | |
---|---|
MMBaseRelationHelper(MMBaseHelper model)
Default constructor. |
Method Summary | |
---|---|
MMBaseHelper |
getModel()
|
java.util.Collection |
getRelationDefinitions(java.util.Collection elements)
Return the static HashMap which contains all the relationDefinitions. |
java.util.Collection |
getRelationReferences(java.util.Collection elements)
Add a relation name to the static hashmap. |
java.util.Collection |
getRelations(java.lang.Object object)
Get a collection of MMBaseRelationVo's which contains information about the relations associated with the given object. |
java.lang.String |
getRelDef(java.lang.Object object)
Get name of the related relation for the specified object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MMBaseRelationHelper(MMBaseHelper model)
Method Detail |
---|
public MMBaseHelper getModel()
public java.util.Collection getRelations(java.lang.Object object)
object
- The ModelElement to find the relations of.
public java.lang.String getRelDef(java.lang.Object object)
object
- The ModelElement to find the relations of.
public java.util.Collection getRelationReferences(java.util.Collection elements)
elements
- Collection of ModelElements.
public java.util.Collection getRelationDefinitions(java.util.Collection elements)
elements
- The Collection of elements to check werther they are AssociationEnds.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |