public interface TypeDeclaration extends Node
| Modifier and Type | Interface and Description |
|---|---|
static class |
TypeDeclaration.Impl |
static interface |
TypeDeclaration.Visitor<P,R> |
| Modifier and Type | Method and Description |
|---|---|
<P,R> R |
accept(TypeDeclaration.Visitor<P,R> visitor,
P par) |
java.lang.String |
getClassName() |
java.lang.String |
getPackageName() |
java.util.List<Property> |
getProperties() |
java.util.List<TypeDeclaration> |
getSubTypes() |
TypeDeclaration |
getSuperType() |
static TypeDeclaration |
of(java.lang.String packageName,
java.lang.String className,
TypeDeclaration superType,
java.util.List<Property> properties,
java.util.List<TypeDeclaration> subTypes) |
void |
setClassName(java.lang.String className) |
void |
setPackageName(java.lang.String packageName) |
void |
setProperties(java.util.List<Property> properties) |
void |
setSubTypes(java.util.List<TypeDeclaration> subTypes) |
void |
setSuperType(TypeDeclaration superType) |
static TypeDeclaration of(java.lang.String packageName, java.lang.String className, TypeDeclaration superType, java.util.List<Property> properties, java.util.List<TypeDeclaration> subTypes)
java.lang.String getPackageName()
void setPackageName(java.lang.String packageName)
java.lang.String getClassName()
void setClassName(java.lang.String className)
TypeDeclaration getSuperType()
void setSuperType(TypeDeclaration superType)
java.util.List<Property> getProperties()
void setProperties(java.util.List<Property> properties)
java.util.List<TypeDeclaration> getSubTypes()
void setSubTypes(java.util.List<TypeDeclaration> subTypes)
<P,R> R accept(TypeDeclaration.Visitor<P,R> visitor, P par)