Class ValidationRuleDescriptor
- java.lang.Object
-
- org.faktorips.runtime.model.type.read.PartDescriptor<ValidationRule>
-
- org.faktorips.runtime.model.type.read.ValidationRuleDescriptor
-
public class ValidationRuleDescriptor extends PartDescriptor<ValidationRule>
-
-
Constructor Summary
Constructors Constructor Description ValidationRuleDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationRulecreate(ModelElement parentElement)Is called by the collector to create a part of type T using the previously collected information.java.lang.reflect.AnnotatedElementgetAnnotatedElement()java.lang.reflect.MethodgetMethod()voidsetAnnotatedElement(java.lang.reflect.AnnotatedElement annotatedElement)voidsetMethod(java.lang.reflect.Method method)-
Methods inherited from class org.faktorips.runtime.model.type.read.PartDescriptor
getName, setName
-
-
-
-
Method Detail
-
getAnnotatedElement
public java.lang.reflect.AnnotatedElement getAnnotatedElement()
-
setAnnotatedElement
public void setAnnotatedElement(java.lang.reflect.AnnotatedElement annotatedElement)
-
getMethod
public java.lang.reflect.Method getMethod()
-
setMethod
public void setMethod(java.lang.reflect.Method method)
-
create
public ValidationRule create(ModelElement parentElement)
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<ValidationRule>- Parameters:
parentElement- The parent of the part that should be created- Returns:
- The newly created part
-
-