Uses of Class
org.javalite.activejdbc.associations.Association
Package
Description
ActiveJDBC - the agile Java ORM.
Contains classes describing various association types.
-
Uses of Association in org.javalite.activejdbc
Modifier and TypeMethodDescription<A extends Association>
AMetaModel.getAssociationForTarget(Class<? extends Model> targetClass)
Returns association of this table with the target table.<A extends Association>
AMetaModel.getAssociationForTarget(Class<? extends Model> targetModelClass, Class<A> associationClass)
Returns association of this table with the target table.Modifier and TypeMethodDescriptionstatic List<Association>
Model.associations()
Returns all associations of this model.static List<Association>
ModelDelegate.associations(Class<? extends Model> clazz)
protected List<Association>
MetaModel.getAssociations()
MetaModel.getAssociationsForTarget(Class<? extends Model> targetModelClass)
Returns associations of this table with the target table.Modifier and TypeMethodDescriptionprotected void
MetaModel.addAssociation(Association association)
void
Model.deleteCascadeExcept(Association... excludedAssociations)
This method does everythingModel.deleteCascade()
does, but in addition allows to exclude some associations from this action.protected List<Many2ManyAssociation>
MetaModel.getManyToManyAssociations(Association... excludedAssociations)
protected List<OneToManyAssociation>
MetaModel.getOneToManyAssociations(Association... excludedAssociations)
protected List<OneToManyPolymorphicAssociation>
MetaModel.getPolymorphicAssociations(Association... excludedAssociations)
-
Uses of Association in org.javalite.activejdbc.associations
Modifier and TypeClassDescriptionclass
This association indicates that a source table belongs to the target table.class
class
class
class