|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Association | |
|---|---|
| org.javalite.activejdbc | |
| org.javalite.activejdbc.associations | |
| Uses of Association in org.javalite.activejdbc |
|---|
| Methods in org.javalite.activejdbc with type parameters of type Association | ||
|---|---|---|
|
MetaModel.getAssociationForTarget(String target)
Returns association of this table with the target table. |
|
|
MetaModel.getAssociationForTarget(String target,
Class<A> associationClass)
Returns association of this table with the target table. |
|
| Methods in org.javalite.activejdbc that return types with arguments of type Association | |
|---|---|
static List<Association> |
Model.associations()
Returns all associations of this model. |
static List<Association> |
ModelDelegate.associations(Class<? extends Model> clazz)
|
protected List<Association> |
MetaModel.getAssociations()
|
List<Association> |
MetaModel.getAssociationsForTarget(String target)
Returns associations of this table with the target table. |
| Methods in org.javalite.activejdbc with parameters of type Association | |
|---|---|
protected void |
MetaModel.addAssociation(Association association)
|
void |
Model.deleteCascadeExcept(Association... excludedAssociations)
This method does everything Model.deleteCascade() does, but in addition allows to exclude some associations
from this action. |
| Method parameters in org.javalite.activejdbc with type arguments of type Association | |
|---|---|
protected List<Many2ManyAssociation> |
MetaModel.getManyToManyAssociations(List<Association> excludedAssociations)
|
protected List<OneToManyAssociation> |
MetaModel.getOneToManyAssociations(List<Association> exclusions)
|
protected List<OneToManyPolymorphicAssociation> |
MetaModel.getPolymorphicAssociations(List<Association> exclusions)
|
protected boolean |
MetaModel.hasAssociation(String table,
Class<? extends Association> associationClass)
|
| Uses of Association in org.javalite.activejdbc.associations |
|---|
| Subclasses of Association in org.javalite.activejdbc.associations | |
|---|---|
class |
BelongsToAssociation
This association indicates that a source table belongs to the target table. |
class |
BelongsToPolymorphicAssociation
|
class |
Many2ManyAssociation
|
class |
OneToManyAssociation
|
class |
OneToManyPolymorphicAssociation
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||