org.apache.cayenne.jpa.map
Class JpaManyToMany

java.lang.Object
  extended by org.apache.cayenne.jpa.map.JpaAttribute
      extended by org.apache.cayenne.jpa.map.JpaRelationship
          extended by org.apache.cayenne.jpa.map.JpaManyToMany

public class JpaManyToMany
extends JpaRelationship


Field Summary
protected  JpaJoinTable joinTable
           
protected  String mapKey
           
protected  String mappedBy
           
protected  String orderBy
           
 
Fields inherited from class org.apache.cayenne.jpa.map.JpaRelationship
cascade, fetch, targetEntityName
 
Fields inherited from class org.apache.cayenne.jpa.map.JpaAttribute
name, propertyDescriptor
 
Constructor Summary
JpaManyToMany()
           
JpaManyToMany(ManyToMany annotation)
           
 
Method Summary
 JpaJoinTable getJoinTable()
           
 String getMapKey()
           
 String getMappedBy()
           
 String getOrderBy()
           
 boolean isToMany()
           
 void setJoinTable(JpaJoinTable joinTable)
           
 void setMapKey(String mapKey)
           
 void setMappedBy(String mappedBy)
           
 void setOrderBy(String orderBy)
           
 
Methods inherited from class org.apache.cayenne.jpa.map.JpaRelationship
getCascade, getFetch, getTargetEntityName, setCascade, setFetch, setTargetEntityName, toString
 
Methods inherited from class org.apache.cayenne.jpa.map.JpaAttribute
getName, getPropertyDescriptor, setName, setPropertyDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mappedBy

protected String mappedBy

joinTable

protected JpaJoinTable joinTable

orderBy

protected String orderBy

mapKey

protected String mapKey
Constructor Detail

JpaManyToMany

public JpaManyToMany()

JpaManyToMany

public JpaManyToMany(ManyToMany annotation)
Method Detail

isToMany

public boolean isToMany()
Specified by:
isToMany in class JpaRelationship

getJoinTable

public JpaJoinTable getJoinTable()

getMappedBy

public String getMappedBy()

setMappedBy

public void setMappedBy(String mappedBy)

getOrderBy

public String getOrderBy()

setOrderBy

public void setOrderBy(String orderBy)

setJoinTable

public void setJoinTable(JpaJoinTable joinTable)

getMapKey

public String getMapKey()

setMapKey

public void setMapKey(String mapKey)


Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.