|
||||||||
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(java.lang.Object obj1,
java.lang.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. |
java.lang.String |
getName()
Get name of the schema object. |
void |
setConfiguration(DDLGenConfiguration config)
Set configuration of the schema object. |
void |
setName(java.lang.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 SchemaObject
config
- Configuration to be used by the schema object.public final DDLGenConfiguration getConfiguration()
getConfiguration
in interface SchemaObject
public final void setName(java.lang.String name)
setName
in interface SchemaObject
name
- Name of the schema object.public final java.lang.String getName()
getName
in interface SchemaObject
protected static final boolean equals(java.lang.Object obj1, java.lang.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 |