Package org.drools.model.impl
Class TypeMetaDataImpl
java.lang.Object
org.drools.model.impl.TypeMetaDataImpl
- All Implemented Interfaces:
ModelComponent,NamedModelItem,TypeMetaData
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.drools.model.TypeMetaData
TypeMetaData.FieldMetaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(String name, AnnotationValue... values) addFieldAnnotation(String fieldName, String annotationName, AnnotationValue... values) getName()Class<?>getType()booleanwithFieldAnnotation(String fieldName, String annotationName, AnnotationValue... values) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.model.NamedModelItem
getFullName
-
Constructor Details
-
TypeMetaDataImpl
-
-
Method Details
-
getPackage
- Specified by:
getPackagein interfaceNamedModelItem
-
getName
- Specified by:
getNamein interfaceNamedModelItem
-
getType
- Specified by:
getTypein interfaceTypeMetaData
-
getAnnotations
- Specified by:
getAnnotationsin interfaceTypeMetaData
-
getFields
- Specified by:
getFieldsin interfaceTypeMetaData
-
addAnnotation
-
addField
-
addFieldAnnotation
public TypeMetaDataImpl addFieldAnnotation(String fieldName, String annotationName, AnnotationValue... values) -
withField
-
withFieldAnnotation
public TypeMetaDataImpl withFieldAnnotation(String fieldName, String annotationName, AnnotationValue... values) -
isEqualTo
- Specified by:
isEqualToin interfaceModelComponent
-