public class ComponentInfo extends Object
| Constructor and Description |
|---|
ComponentInfo(DbModelWurblet wurblet,
org.tentackle.model.Entity joinedEntity)
Creates info for a component.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExtraClassName()
Returns the extra classname to be joined by id.
Necessary for multi-table inherited joins if attribute belongs to child class. |
org.tentackle.model.Entity |
getJoinedEntity()
Gets the entity to join (right side of the join).
|
String |
getRootIdClassName()
Gets the implementing classname holding the root id.
|
String |
getRootIdColumnName()
Gets the column name holding the rootid.
|
boolean |
isExtraJoinNecessary()
Returns whether the joined attribute belongs to another table than that holding the rootid.
|
public ComponentInfo(DbModelWurblet wurblet, org.tentackle.model.Entity joinedEntity) throws org.wurbelizer.wurbel.WurbelException
wurblet - the wurbletjoinedEntity - the entity to join (right side of the join)org.wurbelizer.wurbel.WurbelException - if failedpublic org.tentackle.model.Entity getJoinedEntity()
public boolean isExtraJoinNecessary()
public String getExtraClassName()
public String getRootIdClassName()
public String getRootIdColumnName()
Tentackle - distributed, domain- and model-driven