Class PersistentClassGraphDefiner
- java.lang.Object
-
- org.hibernate.envers.configuration.internal.PersistentClassGraphDefiner
-
- All Implemented Interfaces:
GraphDefiner<PersistentClass,String>
public class PersistentClassGraphDefiner extends Object implements GraphDefiner<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.
-
-
Constructor Summary
Constructors Constructor Description PersistentClassGraphDefiner(MetadataImplementor metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PersistentClass>
getNeighbours(PersistentClass pc)
String
getRepresentation(PersistentClass pc)
PersistentClass
getValue(String entityName)
List<PersistentClass>
getValues()
-
-
-
Constructor Detail
-
PersistentClassGraphDefiner
public PersistentClassGraphDefiner(MetadataImplementor metadata)
-
-
Method Detail
-
getRepresentation
public String getRepresentation(PersistentClass pc)
- Specified by:
getRepresentation
in interfaceGraphDefiner<PersistentClass,String>
-
getValue
public PersistentClass getValue(String entityName)
- Specified by:
getValue
in interfaceGraphDefiner<PersistentClass,String>
-
getNeighbours
public List<PersistentClass> getNeighbours(PersistentClass pc)
- Specified by:
getNeighbours
in interfaceGraphDefiner<PersistentClass,String>
-
getValues
public List<PersistentClass> getValues()
- Specified by:
getValues
in interfaceGraphDefiner<PersistentClass,String>
-
-