org.castor.jdo.jpa.natures
Class JPAClassNature
java.lang.Object
org.castor.core.nature.BaseNature
org.castor.jdo.jpa.natures.JPAClassNature
- All Implemented Interfaces:
- Nature
public class JPAClassNature
- extends BaseNature
A BaseNature
extension that gives access to information derived from
class bound JPA annotations.
- Since:
- 1.3
- Author:
- Peter Schmidt
- See Also:
PropertyHolder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAClassNature
public JPAClassNature(PropertyHolder holder)
- Instantiate a
JPAClassNature
to access the given
PropertyHolder
.
- Parameters:
holder
- The underlying PropertyHolder
(obviously a
ClassInfo
).- See Also:
PropertyHolder
getId
public java.lang.String getId()
-
- See Also:
Nature.getId()
setEntityName
public void setEntityName(java.lang.String entityname)
- Parameters:
entityname
- The value of Entity.name()
.- See Also:
ENTITY_NAME
getEntityName
public java.lang.String getEntityName()
- Returns:
- The value of
Entity.name()
. - See Also:
ENTITY_NAME
setTableName
public void setTableName(java.lang.String tablename)
- Parameters:
tablename
- The value of Table.name()
- See Also:
TABLE_NAME
getTableName
public java.lang.String getTableName()
- Returns:
- The value of
Table.name()
- See Also:
TABLE_NAME
setTableCatalog
public void setTableCatalog(java.lang.String catalog)
- Parameters:
catalog
- The value of Table.catalog()
- See Also:
TABLE_CATALOG
getTableCatalog
public java.lang.String getTableCatalog()
- Returns:
- The value of
Table.catalog()
- See Also:
TABLE_CATALOG
setTableSchema
public void setTableSchema(java.lang.String schema)
- Parameters:
schema
- The value of Table.schema()
- See Also:
TABLE_SCHEMA
getTableSchema
public java.lang.String getTableSchema()
- Returns:
- The value of
Table.schema()
- See Also:
TABLE_SCHEMA
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com