|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.ddlgen.schemaobject.AbstractSchemaObject
public abstract class AbstractSchemaObject
Abstract base class for all schema objects.
| Field Summary | |
|---|---|
protected static int |
HASHFACTOR
Factor for calculation of hash code. |
| Constructor Summary | |
|---|---|
AbstractSchemaObject()
|
|
| Method Summary | |
|---|---|
protected static boolean |
equals(Object obj1,
Object obj2)
Check the 2 given objects for equality by taking into account that one or both of them may be null. |
DDLGenConfiguration |
getConfiguration()
Get configuration of the schema object. |
String |
getName()
Get name of the schema object. |
void |
setConfiguration(DDLGenConfiguration config)
Set configuration of the schema object. |
void |
setName(String name)
Set name of the schema object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.castor.ddlgen.schemaobject.SchemaObject |
|---|
toCreateDDL, toDropDDL |
| Field Detail |
|---|
protected static final int HASHFACTOR
| Constructor Detail |
|---|
public AbstractSchemaObject()
| Method Detail |
|---|
public final void setConfiguration(DDLGenConfiguration config)
setConfiguration in interface SchemaObjectconfig - Configuration to be used by the schema object.public final DDLGenConfiguration getConfiguration()
getConfiguration in interface SchemaObjectpublic final void setName(String name)
setName in interface SchemaObjectname - Name of the schema object.public final String getName()
getName in interface SchemaObject
protected static final boolean equals(Object obj1,
Object obj2)
null.
obj1 - First object.obj2 - Second object.
true if both objects are null or equal as defined by
equals method of object. false if only one of the objects
is null or if they are not equal.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||