org.castor.jdo.jpa.natures
Class JPAClassNature
java.lang.Object
org.castor.core.nature.BaseNature
org.castor.jdo.jpa.natures.JPAClassNature
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 String getId()
-
- See Also:
Nature.getId()
setEntityName
public void setEntityName(String entityname)
- Parameters:
entityname - The value of Entity.name().- See Also:
ENTITY_NAME
getEntityName
public String getEntityName()
- Returns:
- The value of
Entity.name(). - See Also:
ENTITY_NAME
setTableName
public void setTableName(String tablename)
- Parameters:
tablename - The value of Table.name()- See Also:
TABLE_NAME
getTableName
public String getTableName()
- Returns:
- The value of
Table.name() - See Also:
TABLE_NAME
setTableCatalog
public void setTableCatalog(String catalog)
- Parameters:
catalog - The value of Table.catalog()- See Also:
TABLE_CATALOG
getTableCatalog
public String getTableCatalog()
- Returns:
- The value of
Table.catalog() - See Also:
TABLE_CATALOG
setTableSchema
public void setTableSchema(String schema)
- Parameters:
schema - The value of Table.schema()- See Also:
TABLE_SCHEMA
getTableSchema
public String getTableSchema()
- Returns:
- The value of
Table.schema() - See Also:
TABLE_SCHEMA
Copyright © 2010. All Rights Reserved.