|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.mapping.BeanType
public class BeanType
Container for bean type information. Obtainable from the
RegistryObjectModel
.
Constructor Summary | |
---|---|
BeanType()
|
Method Summary | |
---|---|
void |
addProperty(Property prop)
Adds the given Property to the list of properties for this bean
type. |
static java.util.List<Property> |
findNestedProperty(java.util.List<BeanType> beanTypes,
java.lang.String propName,
RegistryObjectModel model)
Finds the Property with the given name. |
java.util.List<Relation> |
findRelations()
Returns all properties representing relations. |
MetaDataHolder |
getMetaDataHolder()
|
RegistryObjectModel |
getModel()
|
java.lang.Class<?> |
getPersistentClass()
|
java.util.Collection<Property> |
getProperties()
Returns all properties of this bean type. |
Property |
getProperty(java.lang.String propName)
Finds the Property with the given name. |
javax.xml.namespace.QName |
getRegistryObjectType()
|
javax.xml.registry.infomodel.Concept |
getRegistryObjectTypeConcept()
|
java.lang.String |
getRegistryObjectTypeKey()
|
RegistryProvider |
getRegistryProvider()
|
void |
setMetaDataHolder(MetaDataHolder metaDataHolder)
|
void |
setModel(RegistryObjectModel model)
|
void |
setPersistentClass(java.lang.Class<?> persistentClass)
|
void |
setRegistryObjectType(javax.xml.namespace.QName registryObjectType)
|
void |
setRegistryObjectTypeConcept(javax.xml.registry.infomodel.Concept registryObjectTypeConcept)
|
void |
setRegistryObjectTypeKey(java.lang.String registryObjectTypeKey)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanType()
Method Detail |
---|
public Property getProperty(java.lang.String propName)
Property
with the given name.
propName
-
Property
with the given name and null if not found.public static java.util.List<Property> findNestedProperty(java.util.List<BeanType> beanTypes, java.lang.String propName, RegistryObjectModel model)
Property
with the given name. Supports property name
also in the format prop1[.prop2]. In this case returns an instance of
NestedProperty
.
beanTypes
- The root bean type to search for the property.propName
- Prop name string in the format prop1[.prop2].model
- The RegistryObjectModel
to use for retrieving mapping
information when traversing the nested property.
public java.util.Collection<Property> getProperties()
List
public void addProperty(Property prop)
Property
to the list of properties for this bean
type.
prop
- public java.util.List<Relation> findRelations()
Relation
.
List
public java.lang.Class<?> getPersistentClass()
public void setPersistentClass(java.lang.Class<?> persistentClass)
persistentClass
- the persistentClass to setpublic javax.xml.namespace.QName getRegistryObjectType()
public void setRegistryObjectType(javax.xml.namespace.QName registryObjectType)
registryObjectType
- the registryObjectType to setpublic java.lang.String getRegistryObjectTypeKey()
public void setRegistryObjectTypeKey(java.lang.String registryObjectTypeKey)
registryObjectTypeKey
- the registryObjectTypeKey to setpublic RegistryObjectModel getModel()
public void setModel(RegistryObjectModel model)
model
- the model to setpublic RegistryProvider getRegistryProvider()
public javax.xml.registry.infomodel.Concept getRegistryObjectTypeConcept() throws CSAppFrameworkException
CSAppFrameworkException
public void setRegistryObjectTypeConcept(javax.xml.registry.infomodel.Concept registryObjectTypeConcept)
registryObjectTypeConcept
- the registryObjectTypeConcept to setpublic MetaDataHolder getMetaDataHolder()
public void setMetaDataHolder(MetaDataHolder metaDataHolder)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |