| Package | Description | 
|---|---|
| org.javalite.activejdbc | 
 ActiveJDBC - the agile Java ORM. 
 | 
| org.javalite.activejdbc.associations | 
 Contains classes describing various association types. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<A extends Association> | 
MetaModel.getAssociationForTarget(Class<? extends Model> targetClass)
Returns association of this table with the target table. 
 | 
<A extends Association> | 
MetaModel.getAssociationForTarget(Class<? extends Model> targetModelClass,
                       Class<A> associationClass)
Returns association of this table with the target table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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(Class<? extends Model> targetModelClass)
Returns associations of this table with the target table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. | 
protected List<Many2ManyAssociation> | 
MetaModel.getManyToManyAssociations(Association... excludedAssociations)  | 
protected List<OneToManyAssociation> | 
MetaModel.getOneToManyAssociations(Association... excludedAssociations)  | 
protected List<OneToManyPolymorphicAssociation> | 
MetaModel.getPolymorphicAssociations(Association... excludedAssociations)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
MetaModel.hasAssociation(Class<? extends Model> targetClass,
              Class<? extends Association> associationClass)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BelongsToAssociation
This association indicates that a source table belongs to the target table. 
 | 
class  | 
BelongsToPolymorphicAssociation  | 
class  | 
Many2ManyAssociation  | 
class  | 
OneToManyAssociation  | 
class  | 
OneToManyPolymorphicAssociation  | 
Copyright © 2020 JavaLite. All rights reserved.