Class AbstractAttributeDescriptor<T extends Attribute>
java.lang.Object
org.faktorips.runtime.model.type.read.PartDescriptor<T>
org.faktorips.runtime.model.type.read.AbstractAttributeDescriptor<T>
- Direct Known Subclasses:
PolicyAttributeCollector.PolicyAttributeDescriptor,ProductAttributeCollector.ProductAttributeDescriptor
-
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 TcreateValid(Type type) booleanisValid()voidsetAnnotatedElement(AnnotatedElement annotatedElement) voidsetSetterMethod(Method setterMethod) Methods inherited from class org.faktorips.runtime.model.type.read.PartDescriptor
getName, setName
-
Constructor Details
-
AbstractAttributeDescriptor
public AbstractAttributeDescriptor()
-
-
Method Details
-
isValid
public boolean isValid() -
getAnnotatedElement
-
setAnnotatedElement
-
getSetterMethod
-
setSetterMethod
-
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<T extends Attribute>- Parameters:
parentElement- The parent of the part that should be created- Returns:
- The newly created part
-
createValid
-