com.adaptrex.core.ext.data
Class Association

java.lang.Object
  extended by com.adaptrex.core.ext.data.Association

public class Association
extends Object


Constructor Summary
Association(ModelDefinition ownerModelDefinition, String associatedModelName)
           
Association(String type, String model, String name)
           
 
Method Summary
 Class<?> getAssociatedModelClazz()
           
 ModelDefinition getAssociatedModelDefinition()
           
 String getAssociationKey()
           
 Config getConfig()
           
 String getForeignKey()
           
 String getModelName()
           
 String getName()
           
 Class<?> getOwnerModelClazz()
           
 ModelDefinition getOwnerModelDefinition()
           
 String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Association

public Association(String type,
                   String model,
                   String name)
            throws ClassNotFoundException
Throws:
ClassNotFoundException

Association

public Association(ModelDefinition ownerModelDefinition,
                   String associatedModelName)
            throws ClassNotFoundException
Throws:
ClassNotFoundException
Method Detail

getConfig

public Config getConfig()

getAssociatedModelClazz

public Class<?> getAssociatedModelClazz()

getAssociatedModelDefinition

public ModelDefinition getAssociatedModelDefinition()

getOwnerModelClazz

public Class<?> getOwnerModelClazz()

getOwnerModelDefinition

public ModelDefinition getOwnerModelDefinition()

getType

public String getType()

getModelName

public String getModelName()

getForeignKey

public String getForeignKey()

getAssociationKey

public String getAssociationKey()

getName

public String getName()


Copyright © 2012 Adaptrex, LLC. All Rights Reserved.