Class PartDescriptor<T extends ModelElement>
java.lang.Object
org.faktorips.runtime.model.type.read.PartDescriptor<T>
- Direct Known Subclasses:
AbstractAssociationDescriptor,AbstractAttributeDescriptor,TableUsageCollector.TableUsageDescriptor,ValidationRuleDescriptor
A descriptor for a part which type is specified by the generic type T.
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
PartDescriptor
public PartDescriptor()
-
-
Method Details
-
getName
-
setName
-
create
Is called by the collector to create a part of type T using the previously collected information.- Parameters:
parentElement- The parent of the part that should be created- Returns:
- The newly created part
-