public abstract class PartDescriptor<T extends ModelElement> extends Object
To be totally type safe we would need to specify the generic subtype of Type. But this
leads to much more generic overhead for little use.
| Constructor and Description |
|---|
PartDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
create(ModelElement parentElement)
Is called by the collector to create a part of type T using the previously collected
information.
|
String |
getName() |
void |
setName(String name) |
public String getName()
public void setName(String name)
public abstract T create(ModelElement parentElement)
parentElement - The parent of the part that should be createdCopyright © 2023. All rights reserved.