public class Ejb3RelationshipOneToMany extends Ejb3Relationship
attributeName, column, foreignKey, oneToOne, optional, refColumn, targetType| Constructor and Description |
|---|
Ejb3RelationshipOneToMany(ForeignKeyDescription foreignKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(Ejb3Schema schema) |
String |
getJavaType() |
Ejb3Relationship |
getMappedByRelationship() |
String |
getType() |
boolean |
isMapped() |
boolean |
isToMany() |
void |
setMappedByRelationship(Ejb3Relationship mappedByRelationship) |
getAttributeName, getColumn, getForeignKey, getGetter, getRefColumn, getSetter, getTargetType, isOneToOne, isOptional, isPrimaryKeyJoin, setOneToOne, setOptional, toStringtoPlural, toProperAttributeName, toProperEntityNamepublic Ejb3RelationshipOneToMany(ForeignKeyDescription foreignKey)
foreignKey - - fk of OTHER sidepublic void generate(Ejb3Schema schema)
generate in class Ejb3Relationshippublic boolean isMapped()
isMapped in class Ejb3Relationshippublic Ejb3Relationship getMappedByRelationship()
public void setMappedByRelationship(Ejb3Relationship mappedByRelationship)
public String getType()
getType in class Ejb3Relationshippublic String getJavaType()
getJavaType in class Ejb3Relationshippublic boolean isToMany()
isToMany in class Ejb3RelationshipCopyright © 2008–2018. All rights reserved.