Package | Description |
---|---|
com.caucho.amber.expr | |
com.caucho.amber.field | |
com.caucho.amber.query | |
com.caucho.amber.table |
Modifier and Type | Method and Description |
---|---|
LinkColumns |
OneToManyExpr.getLinkColumns()
Returns the link columns.
|
LinkColumns |
ElementCollectionExpr.getLinkColumns()
Returns the link columns.
|
LinkColumns |
ManyToOneExpr.getLinkColumns()
Returns the link columns.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JoinExpr.isDependent(FromItem parent,
LinkColumns link)
Returns true if the given from item is the parent link.
|
Constructor and Description |
---|
DependentEntityOneToOneExpr(PathExpr parent,
LinkColumns linkColumns)
Creates a new unbound id expression.
|
ElementCollectionExpr(QueryParser parser,
PathExpr parent,
LinkColumns linkColumns,
ElementType targetType)
Creates a new expression to the child objects.
|
ManyToOneExpr(PathExpr parent,
LinkColumns linkColumns)
Creates a new unbound id expression.
|
ManyToOneJoinExpr(LinkColumns link,
FromItem source,
FromItem target)
Creates the expr.
|
OneToManyExpr(QueryParser parser,
PathExpr parent,
LinkColumns linkColumns)
Creates a new expression to the child objects.
|
OneToManyJoinExpr(LinkColumns linkColumns,
FromItem source,
FromItem target)
Creates the expr.
|
Modifier and Type | Method and Description |
---|---|
LinkColumns |
ManyToOneField.getLinkColumns()
Gets the columns.
|
LinkColumns |
CollectionField.getLinkColumns()
Gets the key columns.
|
LinkColumns |
OneToManyField.getLinkColumns()
Returns the link.
|
LinkColumns |
AssociationField.getLinkColumns()
Gets the result.
|
LinkColumns |
ManyToManyField.getSourceLink()
Returns the source link.
|
LinkColumns |
ElementCollectionField.getSourceLink()
Returns the source link.
|
LinkColumns |
ManyToManyField.getTargetLink()
Returns the target link.
|
Modifier and Type | Method and Description |
---|---|
void |
ManyToOneField.setLinkColumns(LinkColumns linkColumns)
Sets the join columns.
|
void |
CollectionField.setLinkColumns(LinkColumns linkColumns)
Sets the key columns.
|
void |
AssociationField.setLinkColumns(LinkColumns columns)
Sets the result columns.
|
void |
ManyToManyField.setSourceLink(LinkColumns link)
Adds a column from the association table to the source side.
|
void |
ElementCollectionField.setSourceLink(LinkColumns link)
Adds a column from the association table to the source side.
|
void |
ManyToManyField.setTargetLink(LinkColumns link)
Adds a column from the association table to the target side.
|
Constructor and Description |
---|
KeyManyToOneField(EntityType entityType,
java.lang.String name,
LinkColumns columns) |
Modifier and Type | Method and Description |
---|---|
FromItem |
QueryParser.createDependentFromItem(FromItem item,
LinkColumns link)
Adds a new FromItem.
|
FromItem |
AbstractQuery.createDependentFromItem(FromItem parent,
LinkColumns link,
java.lang.String name)
Creates a dependent from item
|
Modifier and Type | Method and Description |
---|---|
LinkColumns |
AmberTable.getDependentIdLink()
Gets the id link for a dependent table.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<LinkColumns> |
AmberTable.getIncomingLinks() |
java.util.ArrayList<LinkColumns> |
AmberTable.getOutgoingLinks() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
LinkColumns.generateJoin(LinkColumns manyToOneJoin,
java.lang.String sourceTable1,
java.lang.String sourceTable2)
Generates the many-to-many linking.
|
void |
AmberTable.setDependentIdLink(LinkColumns link)
Sets the id link for a dependent table.
|