org.javalite.activejdbc.associations
Class Many2ManyAssociation
java.lang.Object
org.javalite.activejdbc.Association
org.javalite.activejdbc.associations.Many2ManyAssociation
- All Implemented Interfaces:
- Serializable
public class Many2ManyAssociation
- extends Association
- Author:
- Igor Polevoy
- See Also:
- Serialized Form
Many2ManyAssociation
public Many2ManyAssociation(String source,
String target,
String join,
String sourceFkName,
String targetFkName,
String targetPk)
- Parameters:
source - name of source table in relationshiptarget - name of target table in relationshipjoin - name of join table in relationshipsourceFkName - name of a foreign key in the join table pointing to the source table PK.targetFkName - name of a foreign key in the join table pointing to the target table PK.targetPk - name of a PK of a target table
Many2ManyAssociation
public Many2ManyAssociation(String source,
String target,
String join,
String sourceFkName,
String targetFkName)
getSourceFkName
public String getSourceFkName()
getTargetFkName
public String getTargetFkName()
getJoin
public String getJoin()
getTargetPk
public String getTargetPk()
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
Copyright © 2015 JavaLite. All rights reserved.