Class DbMeta<T extends TopiaEntityEnum>
java.lang.Object
org.nuiton.topia.persistence.metadata.DbMeta<T>
Define metas about a db.
- Since:
- 2.6.12
- Author:
- tchemit <chemit@codelutin.com>
-
Field Summary
FieldsModifier and TypeFieldDescriptionAll types non editables.protected final TopiaPersistenceHelper<T>All metas of the db. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDbMeta(TopiaPersistenceHelper<T> persistenceHelper, T[] entityTypes, T... nonEditableTypes) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssociations(List<AssociationMeta<T>> associations, Iterable<T> types) voidbooleanisEditable(TableMeta<T> meta) iterator()static <T extends TopiaEntityEnum>
DbMeta<T>newDbMeta(TopiaPersistenceHelper<T> typeProvider, T[] universe, T... nonEditables) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
tables
All metas of the db. -
nonEditableTypes
All types non editables. -
persistenceHelper
-
-
Constructor Details
-
DbMeta
protected DbMeta(TopiaPersistenceHelper<T> persistenceHelper, T[] entityTypes, T... nonEditableTypes)
-
-
Method Details
-
newDbMeta
public static <T extends TopiaEntityEnum> DbMeta<T> newDbMeta(TopiaPersistenceHelper<T> typeProvider, T[] universe, T... nonEditables) -
addTables
-
addAssociations
-
getTableNames
-
getTables
-
getTable
-
iterator
- Specified by:
iteratorin interfaceIterable<T extends TopiaEntityEnum>
-
isEditable
-
getPersistenceHelper
-