public interface IClassHolder
| Modifier and Type | Method and Description |
|---|---|
void |
addField(org.eclipse.jdt.core.dom.FieldDeclaration field)
Add field declaration to class.
|
boolean |
addImport(String type)
Add import for class.
|
void |
addInterface(String interf)
Add an interface to this class definition.
|
void |
addMethod(org.eclipse.jdt.core.dom.MethodDeclaration method)
Add method declaration to class.
|
void |
addType(org.eclipse.jdt.core.dom.TypeDeclaration type)
Add inner type declaration to class.
|
org.eclipse.jdt.core.dom.FieldDeclaration[] |
getFields()
Get the fields defined in this class.
|
String |
getFullName()
Get fully-qualified name.
|
String[] |
getInterfaces()
Get the interfaces implemented by this class.
|
org.eclipse.jdt.core.dom.MethodDeclaration[] |
getMethods()
Get the methods defined in this class.
|
String |
getName()
Get simple name.
|
IClassHolder |
getOuterClass()
Get containing class of inner class.
|
String |
getSuperClassName()
Get name of base class to be extended.
|
String |
getTypeName(String type)
Get the name to be used for a type.
|
boolean |
isSuperClassForced()
Check if superclass is forced by schema model.
|
void |
setListImplementation(String list)
Set name of list implementation class to be used for initializing instances.
|
void |
setSuperClassName(String base)
Set name of base class to be extended.
|
String getName()
String getFullName()
IClassHolder getOuterClass()
null if not an inner classboolean isSuperClassForced()
true if superclass forced, false if notString getSuperClassName()
null if none)void setSuperClassName(String base)
isSuperClassForced() returns
false.base - fully-qualified class name of base class (null if none)void setListImplementation(String list)
list - fully-qualified class name of list implementation (non-null)boolean addImport(String type)
type - fully qualified class nametrue if added as importString getTypeName(String type)
type - fully-qualified type nameString[] getInterfaces()
org.eclipse.jdt.core.dom.FieldDeclaration[] getFields()
org.eclipse.jdt.core.dom.MethodDeclaration[] getMethods()
void addInterface(String interf)
interf - interface typevoid addField(org.eclipse.jdt.core.dom.FieldDeclaration field)
field - void addMethod(org.eclipse.jdt.core.dom.MethodDeclaration method)
method - void addType(org.eclipse.jdt.core.dom.TypeDeclaration type)
type - Copyright © 2005-2014 jibx.org. All Rights Reserved.