public class MetaJsonModelRepository extends AbstractMetaJsonModelRepository
modelClass| Constructor and Description |
|---|
MetaJsonModelRepository() |
| Modifier and Type | Method and Description |
|---|---|
MetaJsonField |
findNameField(MetaJsonModel jsonModel) |
void |
remove(MetaJsonModel entity)
Remove the given entity.
|
MetaJsonModel |
save(MetaJsonModel entity)
Save the given entity.
|
findByNamepublic MetaJsonField findNameField(MetaJsonModel jsonModel)
public MetaJsonModel save(MetaJsonModel entity)
RepositoryDepending on the implementation, it may return same entity or a copy of it. For example JPA implementation may return a copy if the given entity can't be managed.
save in interface Repository<MetaJsonModel>save in class JpaRepository<MetaJsonModel>entity - the entity object to savepublic void remove(MetaJsonModel entity)
Repositoryremove in interface Repository<MetaJsonModel>remove in class JpaRepository<MetaJsonModel>entity - the entity object