|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.hibernate.tool.hbm2java.MappingElement
net.sf.hibernate.tool.hbm2java.FieldProperty
public class FieldProperty
Constructor Summary | |
---|---|
FieldProperty(org.jdom.Element element,
MappingElement parent,
String name,
ClassName type,
boolean nullable,
boolean id,
boolean generated,
org.apache.commons.collections.MultiMap metaattribs)
|
|
FieldProperty(org.jdom.Element element,
MappingElement parent,
String name,
ClassName type,
boolean nullable,
org.apache.commons.collections.MultiMap metaattribs)
|
|
FieldProperty(org.jdom.Element element,
MappingElement parent,
String name,
ClassName type,
ClassName implementationClassName,
boolean nullable,
ClassName foreignClass,
Set foreignKeys,
org.apache.commons.collections.MultiMap metaattribs)
|
Method Summary | |
---|---|
String |
getAccessorName()
|
ClassName |
getClassType()
Returns the classType. |
String |
getFieldName()
|
String |
getFieldScope()
|
ClassName |
getForeignClass()
Returns the foreignClass. |
Set |
getForeignKeys()
Returns the foreignKeys. |
String |
getFullyQualifiedTypeName()
|
String |
getGetterSignature()
Method getGetterSignature. |
ClassName |
getImplementationClassName()
|
ClassMapping |
getParentClass()
|
String |
getPropertyGetScope()
|
String |
getPropertySetScope()
|
String |
getScope(String localScopeName,
String defaultScope)
|
protected void |
initWith(String name,
ClassName type,
ClassName implementationClassName,
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 net.sf.hibernate.tool.hbm2java.MappingElement |
---|
getMeta, getMetaAsBool, getMetaAsBool, getMetaAsString, getMetaAsString, getMetaAttribs, getParentElement, getXMLElement, hasMeta, setElement, setMetaAttribs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldProperty(org.jdom.Element element, MappingElement parent, String name, ClassName type, boolean nullable, org.apache.commons.collections.MultiMap metaattribs)
public FieldProperty(org.jdom.Element element, MappingElement parent, String name, ClassName type, boolean nullable, boolean id, boolean generated, org.apache.commons.collections.MultiMap metaattribs)
public FieldProperty(org.jdom.Element element, MappingElement parent, String name, ClassName type, ClassName implementationClassName, boolean nullable, ClassName foreignClass, Set foreignKeys, org.apache.commons.collections.MultiMap metaattribs)
Method Detail |
---|
protected void initWith(String name, ClassName type, ClassName implementationClassName, boolean nullable, boolean id, boolean generated, ClassName foreignClass, Set foreignKeys, org.apache.commons.collections.MultiMap metaattribs)
public String getFieldName()
public String getAccessorName()
public String getFullyQualifiedTypeName()
public boolean isIdentifier()
public boolean isNullable()
public boolean isGenerated()
public String toString()
toString
in class Object
public ClassName getClassType()
public ClassName getForeignClass()
public void setForeignClass(ClassName foreignClass)
foreignClass
- The foreignClass to setpublic Set getForeignKeys()
public String getGetterSignature()
public boolean isGeneratedAsProperty()
public ClassName getImplementationClassName()
public ClassMapping getParentClass()
public String getScope(String localScopeName, String defaultScope)
public String getFieldScope()
public String getPropertyGetScope()
public String getPropertySetScope()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |