Uses of Class
org.javalite.activejdbc.associations.Association
Packages that use Association
Package
Description
ActiveJDBC - the agile Java ORM.
Contains classes describing various association types.
-
Uses of Association in org.javalite.activejdbc
Methods in org.javalite.activejdbc with type parameters of type AssociationModifier 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.Methods in org.javalite.activejdbc that return types with arguments of type AssociationModifier 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.Methods in org.javalite.activejdbc with parameters of type AssociationModifier and TypeMethodDescriptionprotected voidMetaModel.addAssociation(Association association)voidModel.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
Subclasses of Association in org.javalite.activejdbc.associationsModifier and TypeClassDescriptionclassThis association indicates that a source table belongs to the target table.classclassclassclass