ch.sahits.model
Class GeneratedClass

java.lang.Object
  extended by 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

Constructor Summary
GeneratedClass(java.lang.String _className)
           
 
Method Summary
 void addSuperClass(java.lang.Class _superClass)
           
 java.lang.String getClassName()
           
 boolean hasSuperClass()
          Check if there is any specific superclass defined.
 void setClassName(java.lang.String _className)
           
 java.util.List<java.lang.Class> superclasses()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratedClass

public GeneratedClass(java.lang.String _className)
Parameters:
_className - Name of the class
Method Detail

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