Class EntitiesConfigurations
- java.lang.Object
-
- org.hibernate.envers.internal.entities.EntitiesConfigurations
-
public class EntitiesConfigurations extends Object
Configuration of the user entities: property mapping of the entities, relations, inheritance.
-
-
Constructor Summary
Constructors Constructor Description EntitiesConfigurations(Map<String,EntityConfiguration> entitiesConfigurations, Map<String,EntityConfiguration> notAuditedEntitiesConfigurations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityConfiguration
get(String entityName)
ComponentDescription
getComponentDescription(String entityName, String propertyName)
String
getEntityNameForVersionsEntityName(String versionsEntityName)
EntityConfiguration
getNotVersionEntityConfiguration(String entityName)
RelationDescription
getRelationDescription(String entityName, String propertyName)
Set<String>
getToPropertyNames(String fromEntityName, String fromPropertyName, String toEntityName)
boolean
hasAuditedEntities()
boolean
isVersioned(String entityName)
-
-
-
Constructor Detail
-
EntitiesConfigurations
public EntitiesConfigurations(Map<String,EntityConfiguration> entitiesConfigurations, Map<String,EntityConfiguration> notAuditedEntitiesConfigurations)
-
-
Method Detail
-
get
public EntityConfiguration get(String entityName)
-
getNotVersionEntityConfiguration
public EntityConfiguration getNotVersionEntityConfiguration(String entityName)
-
getEntityNameForVersionsEntityName
public String getEntityNameForVersionsEntityName(String versionsEntityName)
-
isVersioned
public boolean isVersioned(String entityName)
-
hasAuditedEntities
public boolean hasAuditedEntities()
-
getRelationDescription
public RelationDescription getRelationDescription(String entityName, String propertyName)
-
getComponentDescription
public ComponentDescription getComponentDescription(String entityName, String propertyName)
-
-