com.agimatec.dbtransform.ejb3
Class Ejb3RelationshipManyToMany

java.lang.Object
  extended by com.agimatec.dbtransform.ejb3.Ejb3Prototype
      extended by com.agimatec.dbtransform.ejb3.Ejb3Relationship
          extended by com.agimatec.dbtransform.ejb3.Ejb3RelationshipOneToMany
              extended by com.agimatec.dbtransform.ejb3.Ejb3RelationshipManyToMany
All Implemented Interfaces:
Serializable

public class Ejb3RelationshipManyToMany
extends Ejb3RelationshipOneToMany

Description:
User: roman.stumm
Date: 04.07.2007
Time: 16:24:44
Copyright: Agimatec GmbH

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.agimatec.dbtransform.ejb3.Ejb3Relationship
attributeName, column, foreignKey, oneToOne, optional, refColumn, targetType
 
Constructor Summary
Ejb3RelationshipManyToMany(ForeignKeyDescription thisForeignKey, ForeignKeyDescription foreignKey)
           
 
Method Summary
 void generate(Ejb3Schema schema)
           
 ForeignKeyDescription getOtherForeignKey()
           
 String getType()
           
 
Methods inherited from class com.agimatec.dbtransform.ejb3.Ejb3RelationshipOneToMany
getJavaType, getMappedByRelationship, isMapped, isToMany, setMappedByRelationship
 
Methods inherited from class com.agimatec.dbtransform.ejb3.Ejb3Relationship
getAttributeName, getColumn, getForeignKey, getGetter, getRefColumn, getSetter, getTargetType, isOneToOne, isOptional, isPrimaryKeyJoin, setOneToOne, setOptional, toString
 
Methods inherited from class com.agimatec.dbtransform.ejb3.Ejb3Prototype
toPlural, toProperAttributeName, toProperEntityName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Ejb3RelationshipManyToMany

public Ejb3RelationshipManyToMany(ForeignKeyDescription thisForeignKey,
                                  ForeignKeyDescription foreignKey)
Parameters:
foreignKey - - fk of OTHER side
Method Detail

getOtherForeignKey

public ForeignKeyDescription getOtherForeignKey()

generate

public void generate(Ejb3Schema schema)
Overrides:
generate in class Ejb3RelationshipOneToMany

getType

public String getType()
Overrides:
getType in class Ejb3RelationshipOneToMany


Copyright © 2008-2012. All Rights Reserved.