|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.connector.store.jpa.Model
public abstract class Model
A descriptor of a schema used by this connector.
JpaSource.Models
,
JpaSource.Models.addModel(Model)
,
JpaSource.setModel(String)
,
JpaSource.getModel()
Constructor Summary | |
---|---|
protected |
Model(String name,
I18n description)
|
Method Summary | |
---|---|
abstract RepositoryConnection |
createConnection(JpaSource source)
|
boolean |
equals(Object obj)
|
String |
getDescription()
Get the description of this model in the default locale. |
String |
getDescription(Locale locale)
Get the description of this model in the supplied locale. |
abstract Class<?>[] |
getEntityClasses()
Return the entity classes that will be used by JPA to store information in the database. |
String |
getName()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Model(String name, I18n description)
Method Detail |
---|
public final String getName()
public String getDescription()
public String getDescription(Locale locale)
locale
- the locale in which the description is to be returned
public abstract RepositoryConnection createConnection(JpaSource source)
public abstract Class<?>[] getEntityClasses()
public final int hashCode()
hashCode
in class Object
public final boolean equals(Object obj)
equals
in class Object
public final String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |