public abstract class AbstractClassTypeDeclarationDescr extends AnnotatedBaseDescr implements org.drools.core.rule.Namespaceable
Annotated.ClassAdapter
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 |
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, indexByFQN
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setStartCharacter, setText
public AbstractClassTypeDeclarationDescr(String name)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AnnotatedBaseDescr
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AnnotatedBaseDescr
IOException
public void setNamespace(String namespace)
setNamespace
in interface org.drools.core.rule.Namespaceable
setNamespace
in class BaseDescr
public String getTypeName()
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 BaseDescr
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.