Class PersistentClassGraphDefiner
- java.lang.Object
-
- org.hibernate.envers.configuration.internal.PersistentClassGraphDefiner
-
- All Implemented Interfaces:
GraphDefiner<org.hibernate.mapping.PersistentClass,String>
public class PersistentClassGraphDefiner extends Object implements GraphDefiner<org.hibernate.mapping.PersistentClass,String>
Defines a graph, where the vertexes are all persistent classes, and there is an edge from p.c. A to p.c. B iff A is a superclass of B.- Author:
- Adam Warski (adam at warski dot org)
-
-
Constructor Summary
Constructors Constructor Description PersistentClassGraphDefiner(org.hibernate.boot.spi.MetadataImplementor metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.hibernate.mapping.PersistentClass>getNeighbours(org.hibernate.mapping.PersistentClass pc)StringgetRepresentation(org.hibernate.mapping.PersistentClass pc)org.hibernate.mapping.PersistentClassgetValue(String entityName)List<org.hibernate.mapping.PersistentClass>getValues()
-
-
-
Method Detail
-
getRepresentation
public String getRepresentation(org.hibernate.mapping.PersistentClass pc)
- Specified by:
getRepresentationin interfaceGraphDefiner<org.hibernate.mapping.PersistentClass,String>
-
getValue
public org.hibernate.mapping.PersistentClass getValue(String entityName)
- Specified by:
getValuein interfaceGraphDefiner<org.hibernate.mapping.PersistentClass,String>
-
getNeighbours
public List<org.hibernate.mapping.PersistentClass> getNeighbours(org.hibernate.mapping.PersistentClass pc)
- Specified by:
getNeighboursin interfaceGraphDefiner<org.hibernate.mapping.PersistentClass,String>
-
getValues
public List<org.hibernate.mapping.PersistentClass> getValues()
- Specified by:
getValuesin interfaceGraphDefiner<org.hibernate.mapping.PersistentClass,String>
-
-