|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.sf.hibernate.tool.hbm2java.Field
| Constructor Summary | |
Field(String name,
ClassName type,
boolean nullable,
boolean id,
boolean generated,
org.apache.commons.collections.MultiMap metaattribs)
|
|
Field(String name,
ClassName type,
boolean nullable,
org.apache.commons.collections.MultiMap metaattribs)
|
|
Field(String name,
ClassName type,
String initialisation,
boolean nullable,
ClassName foreignClass,
Set foreignKeys,
org.apache.commons.collections.MultiMap metaattribs)
|
|
| Method Summary | |
String |
getAsSuffix()
|
ClassName |
getClassType()
Returns the classType. |
ClassName |
getForeignClass()
Returns the foreignClass. |
Set |
getForeignKeys()
Returns the foreignKeys. |
String |
getGetterSignature()
Method getGetterSignature. |
String |
getGetterType()
|
String |
getInitialisation()
|
boolean |
getMetaAsBool(String attribute)
|
boolean |
getMetaAsBool(String attribute,
boolean defaultValue)
|
String |
getMetaAsString(String attribute)
Method getMetaAsString. |
String |
getName()
|
String |
getType()
|
protected void |
initWith(String name,
ClassName type,
String initialisation,
boolean nullable,
boolean id,
boolean generated,
ClassName foreignClass,
Set foreignKeys,
org.apache.commons.collections.MultiMap metaattribs)
|
boolean |
isGenerated()
|
boolean |
isGeneratedAsProperty()
|
boolean |
isIdentifier()
|
boolean |
isNullable()
|
void |
setForeignClass(ClassName foreignClass)
Sets the foreignClass. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Field(String name,
ClassName type,
boolean nullable,
org.apache.commons.collections.MultiMap metaattribs)
public Field(String name,
ClassName type,
boolean nullable,
boolean id,
boolean generated,
org.apache.commons.collections.MultiMap metaattribs)
public Field(String name,
ClassName type,
String initialisation,
boolean nullable,
ClassName foreignClass,
Set foreignKeys,
org.apache.commons.collections.MultiMap metaattribs)
| Method Detail |
protected void initWith(String name,
ClassName type,
String initialisation,
boolean nullable,
boolean id,
boolean generated,
ClassName foreignClass,
Set foreignKeys,
org.apache.commons.collections.MultiMap metaattribs)
public String getInitialisation()
public String getName()
public String getAsSuffix()
public String getGetterType()
public String getType()
public boolean isIdentifier()
public boolean isNullable()
public boolean isGenerated()
public String toString()
toString in class Objectpublic ClassName getClassType()
public String getMetaAsString(String attribute)
public boolean getMetaAsBool(String attribute)
public boolean getMetaAsBool(String attribute,
boolean defaultValue)
public ClassName getForeignClass()
public void setForeignClass(ClassName foreignClass)
foreignClass - The foreignClass to setpublic Set getForeignKeys()
public String getGetterSignature()
public boolean isGeneratedAsProperty()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||