Package org.neo4j.ogm.metadata
Class MetaData
java.lang.Object
org.neo4j.ogm.metadata.MetaData
- Author:
- Vince Bickers, Luanne Misquitta, Michael J. Simons
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFinds the ClassInfo for the supplied Class throgh the class' name.Finds the ClassInfo for the supplied object by looking up its class nameFinds the ClassInfo for the supplied partial class name or label.classInfoByLabelOrType
(String name) Finds ClassInfos for the supplied partial class name or label.entityType
(String name) getImplementingClassInfos
(String interfaceName) boolean
isRelationshipEntity
(String className) <T> ClassInfo
void
registerConversionCallback
(ConversionCallback conversionCallback) Given an set of names (simple or fully-qualified) that are possibly within a type hierarchy, this function returns the base class from among them.
-
Constructor Details
-
MetaData
-
MetaData
-
-
Method Details
-
getSchema
-
classInfo
Finds the ClassInfo for the supplied partial class name or label. The supplied ClassInfo, if found can represent either a Class or an Interface- Parameters:
name
- the simple class name or label for a class we want to find- Returns:
- A ClassInfo matching the supplied name, or null if it doesn't exist
-
classInfo
Finds the ClassInfo for the supplied Class throgh the class' name.- Parameters:
clazz
- the class whose classInfo we want to find- Returns:
- A ClassInfo matching the supplied object's class, or null if it doesn't exist
-
classInfo
Finds the ClassInfo for the supplied object by looking up its class name- Parameters:
object
- the object whose classInfo we want to find- Returns:
- A ClassInfo matching the supplied object's class, or null if it doesn't exist
-
resolve
Given an set of names (simple or fully-qualified) that are possibly within a type hierarchy, this function returns the base class from among them.- Parameters:
taxa
- the taxa (simple class names or labels)- Returns:
- The ClassInfo representing the base class among the taxa or
null
if it cannot be found
-
classInfoByLabelOrType
Finds ClassInfos for the supplied partial class name or label.- Parameters:
name
- the simple class name or label for a class we want to find- Returns:
- A Set of ClassInfo matching the supplied name, or empty if it doesn't exist
-
isRelationshipEntity
-
persistentEntities
-
entityType
-
getImplementingClassInfos
-
registerConversionCallback
-
register
-