public class MappedSchema
A database schema that might be configured for this node. As well as a name and version for identifying the schema, also list the classes that may be used in the generated object graph in order to configure the ORM tool.
Constructor and Description |
---|
MappedSchema(java.lang.Class<?> schemaFamily,
int version,
java.lang.Iterable<? extends java.lang.Class<?>> mappedTypes)
A database schema that might be configured for this node. As well as a name and version for identifying the schema,
also list the classes that may be used in the generated object graph in order to configure the ORM tool.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.lang.Class> |
getMappedTypes() |
java.lang.String |
getName() |
int |
getVersion() |
java.lang.String |
toString() |
public MappedSchema(java.lang.Class<?> schemaFamily, int version, java.lang.Iterable<? extends java.lang.Class<?>> mappedTypes)
A database schema that might be configured for this node. As well as a name and version for identifying the schema, also list the classes that may be used in the generated object graph in order to configure the ORM tool.
schemaFamily
- A class to fully qualify the name of a schema family (i.e. excludes version)version
- The version number of this instance within the family.mappedTypes
- The JPA entity classes that the ORM layer needs to be configure with for this schema.