public class Association extends SDMLibClass
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_SOURCE
one one
Association ----------------------------------- Role
assoc source
|
static java.lang.String |
PROPERTY_TARGET |
listeners, name, PROPERTY_NAME| Constructor and Description |
|---|
Association() |
| Modifier and Type | Method and Description |
|---|---|
Role |
getSource() |
Role |
getTarget() |
void |
removeYou() |
boolean |
setSource(Role value) |
boolean |
setTarget(Role value) |
java.lang.String |
toString() |
Association |
withName(java.lang.String value) |
Association |
withSource(Clazz sourceClass,
java.lang.String roleName,
Card card) |
Association |
withSource(Role value) |
Association |
withTarget(Clazz targetClass,
java.lang.String roleName,
Card card) |
Association |
withTarget(Role value) |
getName, getPropertyChangeSupportpublic static final java.lang.String PROPERTY_SOURCE
one one
Association ----------------------------------- Role
assoc source
public static final java.lang.String PROPERTY_TARGET
public java.lang.String toString()
toString in class SDMLibClasspublic Association withSource(Clazz sourceClass, java.lang.String roleName, Card card)
public Association withTarget(Clazz targetClass, java.lang.String roleName, Card card)
public Role getTarget()
public boolean setTarget(Role value)
public Association withTarget(Role value)
public Role getSource()
public boolean setSource(Role value)
public Association withSource(Role value)
public void removeYou()
removeYou in class SDMLibClasspublic Association withName(java.lang.String value)
withName in class SDMLibClass