public abstract class AbstractClassTypeDeclarationDescr extends AnnotatedBaseDescr implements org.drools.core.rule.Namespaceable
| Constructor and Description |
|---|
AbstractClassTypeDeclarationDescr(String name) |
AbstractClassTypeDeclarationDescr(String typeName,
String typeNamespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(TypeFieldDescr field) |
boolean |
equals(Object o) |
Map<String,TypeFieldDescr> |
getFields() |
String |
getFullTypeName() |
String |
getSupertTypeFullName() |
String |
getSuperTypeName() |
String |
getSuperTypeNamespace() |
List<QualifiedName> |
getSuperTypes() |
QualifiedName |
getType() |
String |
getTypeName() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setFields(Map<String,TypeFieldDescr> fields) |
void |
setNamespace(String namespace) |
void |
setResource(org.kie.api.io.Resource resource) |
void |
setType(QualifiedName qname) |
void |
setType(String name,
String namespace) |
void |
setTypeName(String typeName) |
void |
writeExternal(ObjectOutput out) |
addAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, getTypedAnnotation, hasAnnotation, indexByFQNaccept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setStartCharacter, setTextpublic AbstractClassTypeDeclarationDescr(String name)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AnnotatedBaseDescrIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class AnnotatedBaseDescrIOExceptionpublic void setNamespace(String namespace)
setNamespace in interface org.drools.core.rule.NamespaceablesetNamespace in class BaseDescrpublic String getTypeName()
public String getFullTypeName()
public void setTypeName(String typeName)
typeName - the identifier to setpublic QualifiedName getType()
public void setType(QualifiedName qname)
public String getSuperTypeName()
public String getSuperTypeNamespace()
public String getSupertTypeFullName()
public List<QualifiedName> getSuperTypes()
public Map<String,TypeFieldDescr> getFields()
public void setFields(Map<String,TypeFieldDescr> fields)
fields - the fields to setpublic void addField(TypeFieldDescr field)
public void setResource(org.kie.api.io.Resource resource)
setResource in class BaseDescrCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.