public class ComponentJoin extends Object
| Constructor and Description |
|---|
ComponentJoin(DbModelWurblet wurblet,
org.tentackle.model.Entity entity,
org.tentackle.model.Entity joinedEntity)
Creates a component join from a wurblet parameter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.tentackle.model.Entity |
getEntity()
Gets the entity to join to (left side of the join).
|
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.
|
int |
hashCode() |
boolean |
isExtraJoinNecessary()
Returns whether the joined attribute belongs to another table than that holding the rootid.
|
public ComponentJoin(DbModelWurblet wurblet, org.tentackle.model.Entity entity, org.tentackle.model.Entity joinedEntity) throws org.wurbelizer.wurbel.WurbelException
wurblet - the wurbletentity - the entity to join to (left side of the join)joinedEntity - the entity to join (right side of the join)org.wurbelizer.wurbel.WurbelException - if given parameter is not a component keypublic org.tentackle.model.Entity getEntity()
public org.tentackle.model.Entity getJoinedEntity()
public boolean isExtraJoinNecessary()
public String getExtraClassName()
public String getRootIdClassName()
public String getRootIdColumnName()
Copyright © 2016 Krake Softwaretechnik. All rights reserved.