org.tranql.abstractschema
Class AbstractEntity
java.lang.Object
org.tranql.abstractschema.AbstractEntity
- All Implemented Interfaces:
- java.io.Serializable, Entity
- Direct Known Subclasses:
- CacheTable, EJB, Table
public class AbstractEntity
- extends java.lang.Object
- implements Entity
- Version:
- $Revision: 323 $ $Date: 2006-02-19 07:29:24 +0100 (Sun, 19 Feb 2006) $
- See Also:
- Serialized Form
Constructor Summary |
protected |
AbstractEntity(java.lang.String name,
java.lang.String physicalName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractEntity
protected AbstractEntity(java.lang.String name,
java.lang.String physicalName)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Entity
getPhysicalName
public java.lang.String getPhysicalName()
- Specified by:
getPhysicalName
in interface Entity
getPrimaryKeyFields
public java.util.List getPrimaryKeyFields()
- Specified by:
getPrimaryKeyFields
in interface Entity
addAttribute
protected void addAttribute(Attribute attribute)
getAttributes
public java.util.List getAttributes()
- Specified by:
getAttributes
in interface Entity
getAttribute
public Attribute getAttribute(java.lang.String name)
- Specified by:
getAttribute
in interface Entity
addAssociationEnd
protected void addAssociationEnd(AssociationEnd associationEnd)
getAssociationEnd
public AssociationEnd getAssociationEnd(java.lang.String name)
- Specified by:
getAssociationEnd
in interface Entity
getAssociationEndDefiningFKAttribute
public AssociationEnd getAssociationEndDefiningFKAttribute(java.lang.String fkAttribute)
- Specified by:
getAssociationEndDefiningFKAttribute
in interface Entity
getAssociationEnds
public java.util.List getAssociationEnds()
- Specified by:
getAssociationEnds
in interface Entity
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © -2010 The Codehaus. All Rights Reserved.