|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openware.job.generator.metadata.MetaElement | +--org.openware.job.generator.metadata.MDMEndPoint
An endpoint is one end of a relationship. Each relationship is
made up of 2 EndPoint
s. Because each relationship
is between 2 classes, each EndPoint
contains a class.
Constructor Summary | |
MDMEndPoint(java.lang.String name)
|
Method Summary | |
int |
getCardinality()
Get the cardinality for this EndPoint . |
MDMClass |
getContainedClass()
Get the class contained by this EndPoint
object. |
java.lang.String |
getName()
Get the name of the endpoint. |
MDMEndPoint |
getOtherEnd()
Get the EndPoint object at the other end
of the relationship. |
MDMRelationship |
getRelationship()
Get the MDMRelationship object that this
EndPoint is a part of. |
void |
setCardinality(java.lang.String cardStr)
Set the cardinality for this EndPoint . |
void |
setContainedClass(MDMClass theClass)
Set the class contained by this EndPoint
object. |
void |
setRelationship(MDMRelationship relation)
Set the MDMRelationship object that this
EndPoint is a part of. |
Methods inherited from class org.openware.job.generator.metadata.MetaElement |
addDocumentationLine, getDocumentationLines |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MDMEndPoint(java.lang.String name)
Method Detail |
public void setContainedClass(MDMClass theClass)
EndPoint
object.theClass
- The contained class.public java.lang.String getName()
public MDMClass getContainedClass()
EndPoint
object.public MDMEndPoint getOtherEnd()
EndPoint
object at the other end
of the relationship.EndPoint
opposite this one.public int getCardinality()
EndPoint
. The following
are valid values:
EndPoint
public void setCardinality(java.lang.String cardStr)
EndPoint
. The following
are valid values:
cardStr
- An String
value representing the cardinality
for this EndPoint
public MDMRelationship getRelationship()
MDMRelationship
object that this
EndPoint
is a part of.MDMRelationship
object.public void setRelationship(MDMRelationship relation)
MDMRelationship
object that this
EndPoint
is a part of.relation
- The MDMRelationship
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |