Class OneToManyPolymorphicAssociation
java.lang.Object
org.javalite.activejdbc.associations.Association
org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
- All Implemented Interfaces:
Serializable
- Author:
- Igor Polevoy
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.javalite.activejdbc.associations.Association
CLASS, SOURCE, TARGET
-
Constructor Summary
-
Method Summary
Methods inherited from class org.javalite.activejdbc.associations.Association
getSourceClass, getTargetClass, hashCode
-
Field Details
-
TYPE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
OneToManyPolymorphicAssociation
- Throws:
ClassNotFoundException
-
OneToManyPolymorphicAssociation
public OneToManyPolymorphicAssociation(Class<? extends Model> source, Class<? extends Model> target, String typeLabel)- Parameters:
source
- source table, the one that has many targetstarget
- target table - many targets belong to source.typeLabel
-
-
-
Method Details