com.agimatec.dbtransform.ejb3
Class Ejb3Class

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

public class Ejb3Class
extends Ejb3Prototype

Description:
User: roman.stumm
Date: 03.07.2007
Time: 16:20:11
Copyright: Agimatec GmbH

See Also:
Serialized Form

Constructor Summary
protected Ejb3Class(String name)
           
  Ejb3Class(TableDescription tableDescription)
           
 
Method Summary
 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()
           
 
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

Ejb3Class

public Ejb3Class(TableDescription tableDescription)

Ejb3Class

protected Ejb3Class(String name)
Method Detail

getTable

public TableDescription getTable()

getClassName

public String getClassName()

generateAttributes

public void generateAttributes()

getMultiUniqueConstraints

public List<List<String>> getMultiUniqueConstraints()

generateRelationships

public void generateRelationships(Ejb3Schema ejb3Schema)

getAttributes

public List<Ejb3Attribute> getAttributes()

getRelationships

public List<Ejb3Relationship> getRelationships()

toString

public String toString()
Overrides:
toString in class Object

isManyToManyLink

public boolean isManyToManyLink()
two identifiying foreign keys and no other attributes



Copyright © 2008-2012. All Rights Reserved.