org.javalite.activejdbc.associations
Class OneToManyPolymorphicAssociation

java.lang.Object
  extended by org.javalite.activejdbc.Association
      extended by org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
All Implemented Interfaces:
Serializable

public class OneToManyPolymorphicAssociation
extends Association

Author:
Igor Polevoy
See Also:
Serialized Form

Constructor Summary
OneToManyPolymorphicAssociation(String source, String target, String typeLabel)
           
 
Method Summary
 boolean equals(Object other)
           
 String getTypeLabel()
           
 String toString()
           
 
Methods inherited from class org.javalite.activejdbc.Association
getSource, getTarget, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OneToManyPolymorphicAssociation

public OneToManyPolymorphicAssociation(String source,
                                       String target,
                                       String typeLabel)
Parameters:
source - source table, the one that has many targets
target - target table - many targets belong to source.
typeLabel -
Method Detail

getTypeLabel

public String getTypeLabel()

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.