com.agimatec.dbtransform.ejb3
Class Ejb3RelationshipOneToMany

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

public class Ejb3RelationshipOneToMany
extends Ejb3Relationship

Description:
User: roman.stumm
Date: 04.07.2007
Time: 15:45:14
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
Ejb3RelationshipOneToMany(ForeignKeyDescription foreignKey)
           
 
Method Summary
 void generate(Ejb3Schema schema)
           
 java.lang.String getJavaType()
           
 Ejb3Relationship getMappedByRelationship()
           
 java.lang.String getType()
           
 boolean isMapped()
           
 boolean isToMany()
           
 void setMappedByRelationship(Ejb3Relationship mappedByRelationship)
           
 
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

Ejb3RelationshipOneToMany

public Ejb3RelationshipOneToMany(ForeignKeyDescription foreignKey)
Parameters:
foreignKey - - fk of OTHER side
Method Detail

generate

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

isMapped

public boolean isMapped()
Overrides:
isMapped in class Ejb3Relationship

getMappedByRelationship

public Ejb3Relationship getMappedByRelationship()

setMappedByRelationship

public void setMappedByRelationship(Ejb3Relationship mappedByRelationship)

getType

public java.lang.String getType()
Overrides:
getType in class Ejb3Relationship

getJavaType

public java.lang.String getJavaType()
Overrides:
getJavaType in class Ejb3Relationship

isToMany

public boolean isToMany()
Overrides:
isToMany in class Ejb3Relationship


Copyright © 2008-2012. All Rights Reserved.