public class DtoClass extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
anInterface |
private boolean |
hasDataSourceConstructor |
private static long |
serialVersionUID |
private List<StoredProcedureMethod> |
storedProcedureMethods |
private String |
superQualifiedClassName |
Constructor and Description |
---|
DtoClass(String superQualifiedClassName,
boolean anInterface,
boolean hasDataSourceConstructor)
Constructs a new DtoClass.
|
Modifier and Type | Method and Description |
---|---|
void |
add(StoredProcedureMethod method)
Adds stored procedure method to the DTO class.
|
String |
getPackage()
Returns the package of the DTO class.
|
String |
getQualifiedClassName()
Returns the qualified class name of the DTO class.
|
String |
getSimpleClassName()
Returns the simple class name of the DTO class.
|
List<StoredProcedureMethod> |
getStoredProcedureMethods()
Returns all stored procedure methods from the DTO class.
|
String |
getSuperQualifiedClassName()
Returns the qualified class name of the interface or the abstract class of which this DTO class is derived.
|
boolean |
hasDataSourceConstructor()
Returns true if the DTO class has a constructor with a DataSource as parameter.
|
boolean |
isAnInterface()
Returns true if the DTO class is derived from an interface or an abstract class.
|
String |
toString() |
private static final long serialVersionUID
private final String superQualifiedClassName
private final boolean anInterface
private final boolean hasDataSourceConstructor
private final List<StoredProcedureMethod> storedProcedureMethods
public DtoClass(String superQualifiedClassName, boolean anInterface, boolean hasDataSourceConstructor)
superQualifiedClassName
- the qualified class name of the interface or the abstract class.anInterface
- specifies if it's an interface. Otherwise it's handled as an abstract class.hasDataSourceConstructor
- specifies if the class has an constructor with a DataSource as parameter.public void add(StoredProcedureMethod method)
method
- the method which should be addedpublic String getSuperQualifiedClassName()
public String getQualifiedClassName()
public String getPackage()
public String getSimpleClassName()
public boolean isAnInterface()
public boolean hasDataSourceConstructor()
public List<StoredProcedureMethod> getStoredProcedureMethods()
Copyright © 2015. All rights reserved.