public class Association extends AccessObject
EMPTY, LOGGER, params, strict| Constructor and Description | 
|---|
Association()  | 
Association(PetalNode parent,
           Collection params)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
accept(Visitor v)
accept the given visitor 
 | 
Class | 
getAssociationClass()  | 
QuidObject | 
getFirstClient()  | 
Role | 
getFirstRole()
An association contains exactly two roles. 
 | 
List | 
getRoles()  | 
QuidObject | 
getSecondClient()  | 
Role | 
getSecondRole()
An association contains exactly two roles. 
 | 
void | 
init()
Register this association internally, i.e. associate it with the
 attached classes. 
 | 
void | 
setAssociationClass(Class o)  | 
void | 
setAssociationClass(String qual_name)
Set association class via its fully qualified name like
 "Logical View::University::Period". 
 | 
void | 
setRoles(List o)  | 
getDocumentation, getExportControl, getNameParameter, getStereotype, isPrivate, isProtected, isPublic, setDocumentation, setExportControl, setNameParameter, setStereotypegetQuid, getQuidAsLong, setQuid, setQuidAsLongaddProperty, addToList, clone, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, equals, getChildCount, getKind, getLongestName, getName, getNames, getNoProperties, getParameterList, getParent, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInteger, getPropertyAsString, getPropertyList, getPropertyName, getPropertyTuples, getQualifiedName, getRoot, indexOf, moveProperty, removeFromList, removeProperty, removeProperty, setName, setParameterList, setParent, setProperty, toStringpublic Association(PetalNode parent, Collection params)
public Association()
public QuidObject getFirstClient()
public QuidObject getSecondClient()
public Role getFirstRole()
public Role getSecondRole()
public void init()
If this association has an association class, set its isAssociationClass() flag.
init in class QuidObjectpublic Class getAssociationClass()
public void setAssociationClass(Class o)
public void setAssociationClass(String qual_name)
public List getRoles()
public void setRoles(List o)
Copyright © 2018 BITPlan GmbH. All rights reserved.