|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.mapping.SimpleValue net.sf.hibernate.mapping.Component
The mapping for a component, composite element, composite identifier, etc.
Constructor Summary | |
Component(PersistentClass owner)
|
|
Component(Table table)
|
Method Summary | |
void |
addColumn(Column column)
|
void |
addProperty(Property p)
|
Iterator |
getColumnIterator()
|
int |
getColumnSpan()
|
Class |
getComponentClass()
Returns the componentClass. |
PersistentClass |
getOwner()
Returns the owner. |
String |
getParentProperty()
Returns the parentProperty. |
Iterator |
getPropertyIterator()
|
int |
getPropertySpan()
|
boolean |
isDynamic()
|
boolean |
isEmbedded()
|
void |
setComponentClass(Class componentClass)
Sets the componentClass. |
void |
setDynamic(boolean dynamic)
|
void |
setEmbedded(boolean embedded)
Sets the embedded. |
void |
setOwner(PersistentClass owner)
Sets the owner. |
void |
setParentProperty(String parentProperty)
Sets the parentProperty. |
void |
setTypeByReflection(Class propertyClass,
String propertyName)
|
Methods inherited from class net.sf.hibernate.mapping.SimpleValue |
createForeignKey, createForeignKeyOfClass, createIdentifierGenerator, getConstraintColumns, getForeignKeyName, getFormula, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getNullValue, getOuterJoinFetchSetting, getTable, getType, isNullable, isSimpleValue, isUnique, isValid, setForeignKeyName, setFormula, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setNullValue, setTable, setType, setUnique |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Component(PersistentClass owner) throws MappingException
public Component(Table table) throws MappingException
Method Detail |
public int getPropertySpan()
public Iterator getPropertyIterator()
public void addProperty(Property p)
public void addColumn(Column column)
addColumn
in class SimpleValue
public int getColumnSpan()
getColumnSpan
in interface Value
getColumnSpan
in class SimpleValue
public Iterator getColumnIterator()
getColumnIterator
in interface Value
getColumnIterator
in class SimpleValue
public void setTypeByReflection(Class propertyClass, String propertyName) throws MappingException
setTypeByReflection
in class SimpleValue
MappingException
public boolean isEmbedded()
public Class getComponentClass()
public PersistentClass getOwner()
public String getParentProperty()
public void setComponentClass(Class componentClass)
componentClass
- The componentClass to setpublic void setEmbedded(boolean embedded)
embedded
- The embedded to setpublic void setOwner(PersistentClass owner)
owner
- The owner to setpublic void setParentProperty(String parentProperty)
parentProperty
- The parentProperty to setpublic boolean isDynamic()
public void setDynamic(boolean dynamic)
dynamic
- The dynamic to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |