public class Ejb3Class extends Ejb3Prototype
| Modifier | Constructor and Description |
|---|---|
protected |
Ejb3Class(String name) |
|
Ejb3Class(TableDescription tableDescription) |
| Modifier and Type | Method and Description |
|---|---|
void |
generateAttributes() |
void |
generateRelationships(Ejb3Schema ejb3Schema) |
List<Ejb3Attribute> |
getAttributes() |
String |
getClassName() |
List<List<String>> |
getMultiUniqueConstraints() |
List<Ejb3Relationship> |
getRelationships() |
TableDescription |
getTable() |
boolean |
isManyToManyLink()
two identifiying foreign keys and no other attributes
|
String |
toString() |
toPlural, toProperAttributeName, toProperEntityNamepublic Ejb3Class(TableDescription tableDescription)
protected Ejb3Class(String name)
public TableDescription getTable()
public String getClassName()
public void generateAttributes()
public void generateRelationships(Ejb3Schema ejb3Schema)
public List<Ejb3Attribute> getAttributes()
public List<Ejb3Relationship> getRelationships()
public boolean isManyToManyLink()
Copyright © 2008-2016. All Rights Reserved.