Class AbstractAssociationDescriptor<P extends Association>
java.lang.Object
org.faktorips.runtime.model.type.read.PartDescriptor<P>
org.faktorips.runtime.model.type.read.AbstractAssociationDescriptor<P>
- Direct Known Subclasses:
PolicyAssociationCollector.PolicyAssociationDescriptor,ProductAssociationCollector.ProductAssociationDescriptor
public abstract class AbstractAssociationDescriptor<P extends Association>
extends PartDescriptor<P>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ModelElement parentElement) Is called by the collector to create a part of type T using the previously collected information.protected abstract PcreateValid(Type type) booleanisValid()voidsetAddMethod(Method adderMethod) voidsetAnnotatedElement(Method annotatedElement) voidsetRemoveMethod(Method removeMethod) Methods inherited from class org.faktorips.runtime.model.type.read.PartDescriptor
getName, setName
-
Constructor Details
-
AbstractAssociationDescriptor
public AbstractAssociationDescriptor()
-
-
Method Details
-
isValid
public boolean isValid() -
getAnnotatedElement
-
setAnnotatedElement
-
setAddMethod
-
getAddMethod
-
getRemoveMethod
-
setRemoveMethod
-
create
Description copied from class:PartDescriptorIs called by the collector to create a part of type T using the previously collected information.- Specified by:
createin classPartDescriptor<P extends Association>- Parameters:
parentElement- The parent of the part that should be created- Returns:
- The newly created part
-
createValid
-