public class OneToManyAssociation extends Association
| Constructor and Description | 
|---|
OneToManyAssociation(Class<? extends Model> sourceModelClass,
                    Class<? extends Model> targetModelClass,
                    String fkName)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)  | 
String | 
getFkName()  | 
String | 
toString()  | 
getSourceClass, getTargetClass, hashCodepublic OneToManyAssociation(Class<? extends Model> sourceModelClass, Class<? extends Model> targetModelClass, String fkName)
sourceModelClass - source class, the one that has many targetstargetModelClass - target class - many targets belong to source.fkName - name of a foreign key in teh target table.Copyright © 2019 JavaLite. All rights reserved.