|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.mapping.RegistryObjectModel
public class RegistryObjectModel
Specification of a registry object model used by CSAF. Contains meta information for all managed persistent Java classes.
Constructor Summary | |
---|---|
RegistryObjectModel(RegistryProvider registryProvider)
Create a registry object model |
Method Summary | |
---|---|
void |
addBeanType(java.lang.Class<?> persistentClass,
BeanType beanType)
Adds a bean type meta information for the given persistent class. |
boolean |
contains(java.lang.Class<?> persistentClass)
Checks if this model contains meta information for the given persistent class. |
BeanType[] |
getAllBeanTypes(javax.xml.namespace.QName objectTypeName)
Retrieves all known BeanType -s supporting the given registry object type. |
BeanType[] |
getAllBeanTypes(javax.xml.registry.infomodel.RegistryObject ro)
Retrieves all known BeanType -s supporting the given registry object. |
BeanType |
getBeanType(java.lang.Class<?> persistentClass)
Retrieves the bean type meta information for the given persistent class. |
BeanType |
getBeanType(javax.xml.namespace.QName objectTypeName)
Retrieves the BeanType of the given registry object type. |
BeanType |
getBeanType(javax.xml.registry.infomodel.RegistryObject ro)
Retrieves the BeanType of the given registry object. |
BeanType |
getBeanType(javax.xml.registry.infomodel.RegistryObject ro,
java.util.List<?> classes)
Retrieves the BeanType of the given registry object from a list of classes. |
java.util.Collection<BeanType> |
getBeanTypes()
Retrieves the bean type meta information for all registered bean types. |
RegistryProvider |
getRegistryProvider()
|
void |
setRegistryProvider(RegistryProvider registryProvider)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryObjectModel(RegistryProvider registryProvider)
registryProvider
- Method Detail |
---|
public BeanType getBeanType(java.lang.Class<?> persistentClass)
persistentClass
- Java bean type mapped to a registry object type.
BeanType
public void addBeanType(java.lang.Class<?> persistentClass, BeanType beanType)
persistentClass
- beanType
- public boolean contains(java.lang.Class<?> persistentClass)
persistentClass
-
public BeanType[] getAllBeanTypes(javax.xml.registry.infomodel.RegistryObject ro) throws CSAppFrameworkException
BeanType
-s supporting the given registry object.
Prefer ClassifiedInstance types (which can be virtual types).
ro
-
CSAppFrameworkException
public BeanType getBeanType(javax.xml.registry.infomodel.RegistryObject ro) throws CSAppFrameworkException
BeanType
of the given registry object.
ro
-
CSAppFrameworkException
public BeanType getBeanType(javax.xml.registry.infomodel.RegistryObject ro, java.util.List<?> classes) throws CSAppFrameworkException
BeanType
of the given registry object from a list of classes.
ro
- the registry objectclasses
- the list of classes
CSAppFrameworkException
public BeanType getBeanType(javax.xml.namespace.QName objectTypeName) throws CSAppFrameworkException
BeanType
of the given registry object type.
objectTypeName
- the typename
CSAppFrameworkException
public BeanType[] getAllBeanTypes(javax.xml.namespace.QName objectTypeName) throws CSAppFrameworkException
BeanType
-s supporting the given registry object type.
objectTypeName
- the typename
CSAppFrameworkException
public java.util.Collection<BeanType> getBeanTypes()
public RegistryProvider getRegistryProvider()
public void setRegistryProvider(RegistryProvider registryProvider)
registryProvider
- the registryProvider to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |