entities
Class SuperClass
java.lang.Object
entities.SuperClass
- public class SuperClass
- extends java.lang.Object
The SuperClass class represents the information about the classes
from which a class descends.
Constructor Summary |
SuperClass(java.lang.String name,
java.lang.String accessType,
LimitedClassEntity limitedClass)
Construct a new SuperClass |
Method Summary |
static void |
createTable(java.sql.Connection dbConnection)
|
static void |
delete(java.sql.Connection dbConnection,
int id)
|
java.lang.String |
getAccessType()
|
java.lang.String |
getName()
|
LimitedClassEntity |
getObject()
|
void |
insert(java.sql.Connection dbConnection,
int sourceId,
int sourceType)
|
void |
print(java.lang.String indentation)
Print all information in a SuperClass object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuperClass
public SuperClass(java.lang.String name,
java.lang.String accessType,
LimitedClassEntity limitedClass)
- Construct a new SuperClass
- Parameters:
name
- Name of the superclassaccessType
- Acces typelimitedClass
- SuperClass object
getName
public java.lang.String getName()
- Returns:
- The name of the superclass
getAccessType
public java.lang.String getAccessType()
- Returns:
- The type of access to the superclass
getObject
public LimitedClassEntity getObject()
- Returns:
- The LimitedClassEntity object corresponding to the
superclass (using the quickExecution it is always null)
print
public void print(java.lang.String indentation)
- Print all information in a SuperClass object
delete
public static void delete(java.sql.Connection dbConnection,
int id)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createTable
public static void createTable(java.sql.Connection dbConnection)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
insert
public void insert(java.sql.Connection dbConnection,
int sourceId,
int sourceType)
throws java.sql.SQLException
- Throws:
java.sql.SQLException