Package org.drools.drl.ast.descr
Class EnumLiteralDescr
java.lang.Object
org.drools.drl.ast.descr.BaseDescr
org.drools.drl.ast.descr.AnnotatedBaseDescr
org.drools.drl.ast.descr.EnumLiteralDescr
- All Implemented Interfaces:
Externalizable,Serializable,Comparable<EnumLiteralDescr>,Namespaceable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstructorArg(String arg) intcompareTo(EnumLiteralDescr other) intgetIndex()getName()voidvoidsetConstructorArgs(List<String> constructorArgs) voidsetIndex(int index) voidtoString()voidMethods inherited from class org.drools.drl.ast.descr.AnnotatedBaseDescr
addAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, hasAnnotation, hasAnnotation, indexByFQNMethods inherited from class org.drools.drl.ast.descr.BaseDescr
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, isNegated, negate, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText
-
Constructor Details
-
EnumLiteralDescr
public EnumLiteralDescr() -
EnumLiteralDescr
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classAnnotatedBaseDescr- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classAnnotatedBaseDescr- Throws:
IOException
-
getName
-
setName
-
getConstructorArgs
-
setConstructorArgs
-
addConstructorArg
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<EnumLiteralDescr>
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int index)
-