public class RootClassRegistry
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RootClassRegistry |
getInstance(java.lang.Object repositoryConnectionInstance)
Get an instance of the RootClassRegistry.
|
PropertyDefinition |
getPropertyDefinition(java.lang.Class theClass,
java.lang.String propertyName)
Get the property definition for the specified class and property name.
|
PropertyDefinition |
getPropertyDefinition(java.lang.String theClassName,
java.lang.String propertyName)
Get the property definition for the specified class and property name.
|
java.util.List |
getPropertyDefinitions(java.lang.Class theClass)
Get the list of property definitions that are associated with the specific class.
|
java.util.List |
getPropertyDefinitions(java.lang.String className)
Get the list of property definitions that are associated with the specific class.
|
public static RootClassRegistry getInstance(java.lang.Object repositoryConnectionInstance)
repositoryConnectionInstance
- This is an instance of a repository connection object, that
will be used to connect to the repository to get and set property definitions. For an ODI
repository, it would be an instance of OdiInstance.public java.util.List getPropertyDefinitions(java.lang.String className) throws AdapterException
AdapterException
public PropertyDefinition getPropertyDefinition(java.lang.String theClassName, java.lang.String propertyName) throws PropertyException, AdapterException
theClass
- The class that contains the property definition.propertyName
- The name of the property whose definition will be returned.AdapterException
PropertyException
public java.util.List getPropertyDefinitions(java.lang.Class theClass) throws PropertyException, AdapterException
AdapterException
PropertyException
public PropertyDefinition getPropertyDefinition(java.lang.Class theClass, java.lang.String propertyName) throws PropertyException, AdapterException
theClass
- The class that contains the property definition.propertyName
- The name of the property whose definition will be returned.AdapterException
PropertyException