ch.sahits.model
Class GeneratedClass
java.lang.Object
ch.sahits.model.GeneratedClass
- All Implemented Interfaces:
- IGeneratorClass, IGeneratorClass2, java.lang.Cloneable
- Direct Known Subclasses:
- GeneratedJavaClass
public class GeneratedClass
- extends java.lang.Object
- implements IGeneratorClass
This class is a container for all data class for classes
to be generated. This class holds only general attributes
that are provided by many object oriented languages such as
Java, C++ and PHP.
This class is intended to be subclassed to provide a more
language specific data model.
of the class to be generated that is
directly provided by the wizard.
- Since:
- 0.9.0 r82
- Author:
- Andi Hotz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneratedClass
public GeneratedClass(java.lang.String _className)
- Parameters:
_className - Name of the class
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName in interface IGeneratorClass2
- Returns:
- the className
setClassName
public void setClassName(java.lang.String _className)
- Specified by:
setClassName in interface IGeneratorClass
- Parameters:
_className - the className to set
superclasses
public java.util.List<java.lang.Class> superclasses()
- Specified by:
superclasses in interface IGeneratorClass2
- Returns:
- the superClass
hasSuperClass
public boolean hasSuperClass()
- Check if there is any specific superclass defined.
- Specified by:
hasSuperClass in interface IGeneratorClass2
- Returns:
- true if the super class is not Object
addSuperClass
public void addSuperClass(java.lang.Class _superClass)
- Specified by:
addSuperClass in interface IGeneratorClass
- Parameters:
_superClass - the superClass to set