Class AnnotationBasedFeature<V,DB>
java.lang.Object
com.evolveum.midpoint.prism.schema.DefinitionFeature.DefaultImpl<V,DB,com.sun.xml.xsom.XSAnnotation,Object>
com.evolveum.midpoint.prism.impl.schema.annotation.AnnotationBasedFeature<V,DB>
- All Implemented Interfaces:
DefinitionFeature<V,
DB, com.sun.xml.xsom.XSAnnotation, Object>
public class AnnotationBasedFeature<V,DB>
extends DefinitionFeature.DefaultImpl<V,DB,com.sun.xml.xsom.XSAnnotation,Object>
Basically the same as the default (and currently only) implementation of the
DefinitionFeature
.
It contains an extra annotationName
, but it's unused since we - maybe temporarily - stopped putting
these annotations into DefinitionImpl.annotations
map.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.schema.DefinitionFeature
DefinitionFeature.DefaultImpl<V,
DB, XC, SD> -
Field Summary
Fields inherited from class com.evolveum.midpoint.prism.schema.DefinitionFeature.DefaultImpl
valueType
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V,
DB> AnnotationBasedFeature<V, DB> custom
(QName annotationName, Class<V> valueType, Class<DB> definitionBuilderType, BiConsumer<DB, V> setterMethod, DefinitionFeatureParser<V, com.sun.xml.xsom.XSAnnotation> xsomParser) static <V,
DB> AnnotationBasedFeature<V, DB> forType
(QName annotationName, Class<V> valueType, Class<DB> definitionBuilderType, BiConsumer<DB, V> setterMethod) Methods inherited from class com.evolveum.midpoint.prism.schema.DefinitionFeature.DefaultImpl
definitionBuilderType, parse, serialize, serializer, setterMethod, valueType, xsomParser
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.schema.DefinitionFeature
asForBuilder, parseIfApplicable, set, settableOn
-
Method Details
-
forType
public static <V,DB> AnnotationBasedFeature<V,DB> forType(QName annotationName, Class<V> valueType, Class<DB> definitionBuilderType, BiConsumer<DB, V> setterMethod) -
custom
public static <V,DB> AnnotationBasedFeature<V,DB> custom(QName annotationName, Class<V> valueType, Class<DB> definitionBuilderType, BiConsumer<DB, V> setterMethod, DefinitionFeatureParser<V, com.sun.xml.xsom.XSAnnotation> xsomParser)
-