Class AnnotationValueHandler
- java.lang.Object
-
- org.kie.workbench.common.screens.datamodeller.client.util.AnnotationValueHandler
-
- Direct Known Subclasses:
RelationshipAnnotationValueHandler,SequenceGeneratorValueHandler
public class AnnotationValueHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.kie.workbench.common.services.datamodeller.core.Annotationannotation
-
Constructor Summary
Constructors Constructor Description AnnotationValueHandler(org.kie.workbench.common.services.datamodeller.core.Annotation annotation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.workbench.common.services.datamodeller.core.AnnotationgetAnnotation()StringgetClassName()static StringgetStringValue(org.kie.workbench.common.services.datamodeller.core.Annotation annotation, String memberName)static StringgetStringValue(org.kie.workbench.common.services.datamodeller.core.Annotation annotation, String memberName, String defaultValue)static StringgetStringValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName)static StringgetStringValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName, String memberValue)static StringgetStringValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName, String memberValue, String defaultValue)static ObjectgetValue(org.kie.workbench.common.services.datamodeller.core.Annotation annotation, String memberName)static ObjectgetValue(org.kie.workbench.common.services.datamodeller.core.Annotation annotation, String memberName, Object defaultValue)static ObjectgetValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName)static ObjectgetValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName, String memberValue)static ObjectgetValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName, String memberValue, Object defaultValue)protected voidsetValue(String valuePairName, Object value)
-
-
-
Method Detail
-
getAnnotation
public org.kie.workbench.common.services.datamodeller.core.Annotation getAnnotation()
-
getClassName
public String getClassName()
-
getStringValue
public static String getStringValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName)
-
getStringValue
public static String getStringValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName, String memberValue, String defaultValue)
-
getStringValue
public static String getStringValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName, String memberValue)
-
getStringValue
public static String getStringValue(org.kie.workbench.common.services.datamodeller.core.Annotation annotation, String memberName)
-
getStringValue
public static String getStringValue(org.kie.workbench.common.services.datamodeller.core.Annotation annotation, String memberName, String defaultValue)
-
getValue
public static Object getValue(org.kie.workbench.common.services.datamodeller.core.Annotation annotation, String memberName)
-
getValue
public static Object getValue(org.kie.workbench.common.services.datamodeller.core.Annotation annotation, String memberName, Object defaultValue)
-
getValue
public static Object getValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName)
-
getValue
public static Object getValue(org.kie.workbench.common.services.datamodeller.core.HasAnnotations annotationsHolder, String annotationClassName, String memberValue, Object defaultValue)
-
-