public abstract class AbstractAssociationDescriptor<P extends Association> extends PartDescriptor<P>
| Constructor and Description |
|---|
AbstractAssociationDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
P |
create(ModelElement parentElement)
Is called by the collector to create a part of type T using the previously collected
information.
|
protected abstract P |
createValid(Type type) |
Method |
getAddMethod() |
Method |
getAnnotatedElement() |
Method |
getRemoveMethod() |
boolean |
isValid() |
void |
setAddMethod(Method adderMethod) |
void |
setAnnotatedElement(Method annotatedElement) |
void |
setRemoveMethod(Method removeMethod) |
getName, setNamepublic boolean isValid()
public Method getAnnotatedElement()
public void setAnnotatedElement(Method annotatedElement)
public void setAddMethod(Method adderMethod)
public Method getAddMethod()
public Method getRemoveMethod()
public void setRemoveMethod(Method removeMethod)
public P create(ModelElement parentElement)
PartDescriptorcreate in class PartDescriptor<P extends Association>parentElement - The parent of the part that should be createdCopyright © 2020. All rights reserved.