org.drools.lang.descr
Class TypeDeclarationDescr
java.lang.Object
org.drools.lang.descr.BaseDescr
org.drools.lang.descr.AnnotatedBaseDescr
org.drools.lang.descr.AbstractClassTypeDeclarationDescr
org.drools.lang.descr.TypeDeclarationDescr
- All Implemented Interfaces:
- Externalizable, Serializable, Comparable<TypeDeclarationDescr>, Namespaceable
public class TypeDeclarationDescr
- extends AbstractClassTypeDeclarationDescr
- implements Comparable<TypeDeclarationDescr>
- See Also:
- Serialized Form
Methods inherited from class org.drools.lang.descr.AbstractClassTypeDeclarationDescr |
addField, equals, getFields, getNamespace, getSupertTypeFullName, getType, getTypeName, hashCode, setFields, setNamespace, setType, setType, setTypeName |
Methods inherited from class org.drools.lang.descr.BaseDescr |
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setStartCharacter, setText |
TypeDeclarationDescr
public TypeDeclarationDescr()
TypeDeclarationDescr
public TypeDeclarationDescr(String typeName)
TypeDeclarationDescr
public TypeDeclarationDescr(String typeName,
String typeNamespace)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class AbstractClassTypeDeclarationDescr
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class AbstractClassTypeDeclarationDescr
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
getSuperTypeName
public String getSuperTypeName()
- Overrides:
getSuperTypeName
in class AbstractClassTypeDeclarationDescr
getSuperTypeNamespace
public String getSuperTypeNamespace()
- Overrides:
getSuperTypeNamespace
in class AbstractClassTypeDeclarationDescr
getSuperTypes
public List<QualifiedName> getSuperTypes()
- Overrides:
getSuperTypes
in class AbstractClassTypeDeclarationDescr
addSuperType
public void addSuperType(String type)
addSuperType
public void addSuperType(QualifiedName type)
compareTo
public int compareTo(TypeDeclarationDescr descr)
- Specified by:
compareTo
in interface Comparable<TypeDeclarationDescr>
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.