public abstract class MysqlRepositoryCollection extends Object implements ManageableRepositoryCollection
| Constructor and Description |
|---|
MysqlRepositoryCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String entityName,
AttributeMetaData attribute) |
void |
addAttributeSync(String entityName,
AttributeMetaData attribute) |
Repository |
addEntityMeta(EntityMetaData entityMeta) |
protected abstract MysqlRepository |
createMysqlRepository()
Return a spring managed prototype bean
|
void |
deleteAttribute(String entityName,
String attributeName) |
void |
deleteEntityMeta(String entityName) |
Iterable<String> |
getEntityNames() |
String |
getName() |
Repository |
getRepository(String name) |
Iterator<Repository> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasRepositoryforEach, spliteratorpublic static final String NAME
public String getName()
getName in interface RepositoryCollectionpublic Repository addEntityMeta(EntityMetaData entityMeta)
addEntityMeta in interface RepositoryCollectionpublic Iterable<String> getEntityNames()
getEntityNames in interface RepositoryCollectionpublic Repository getRepository(String name)
getRepository in interface RepositoryCollectionpublic Iterator<Repository> iterator()
iterator in interface Iterable<Repository>public void deleteEntityMeta(String entityName)
deleteEntityMeta in interface ManageableRepositoryCollectionpublic void addAttribute(String entityName, AttributeMetaData attribute)
addAttribute in interface ManageableRepositoryCollectionpublic void deleteAttribute(String entityName, String attributeName)
deleteAttribute in interface ManageableRepositoryCollectionpublic void addAttributeSync(String entityName, AttributeMetaData attribute)
addAttributeSync in interface ManageableRepositoryCollectionprotected abstract MysqlRepository createMysqlRepository()
Copyright © 2015. All Rights Reserved.