|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.csutils.core.registry.impl.ROModelAccessorImpl
public class ROModelAccessorImpl
Constructor Summary | |
---|---|
ROModelAccessorImpl(ModelDrivenRegistryFacade pFacade,
ROMetaModelAccessor pMetaModelAccessor,
InnerModelAccessor pAccessor)
|
Method Summary | ||
---|---|---|
|
createInstance(QName pType)
Creates a registry object with the given type. |
|
|
createInstance(ROType pType)
Creates a registry object with the given type. |
|
|
createInstance(java.lang.String pType)
Creates a registry object with the given type. |
|
java.util.List<javax.xml.registry.infomodel.RegistryObject[]> |
executeArrayQuery(java.lang.String pQuery,
java.lang.Object... pParameters)
Creates a query with the given CSQL statement, executes it, and returns the result. |
|
java.util.List<javax.xml.registry.infomodel.RegistryObject> |
executeQuery(java.lang.String pQuery,
java.lang.Object... pParameters)
Creates a query with the given CSQL statement, executes it, and returns the result. |
|
RORelation |
findRelation(ROType pType,
java.lang.String pRelationName)
Finds a relationship attribute with the given name in the given registry object type. |
|
protected ROSlot |
findSlot(ROMetaModel pModel,
javax.xml.registry.infomodel.RegistryObject pObject,
java.lang.String pSlotName)
|
|
ROSlot |
findSlot(ROType pType,
java.lang.String pSlotName)
Finds a slot attribute with the given name in the given registry object type. |
|
ROType |
findType(QName pQName)
Finds the registry object type with the given name. |
|
ROType |
findType(javax.xml.registry.infomodel.RegistryObject pInstance)
Finds the registry object type of the given registry object instance. |
|
ROType |
findType(java.lang.String pTypeName)
Finds the registry object type with the given name. |
|
ROMetaModel |
getMetaModel()
Returns the meta model. |
|
ModelDrivenRegistryFacade |
getRegistryFacade()
Returns the accessors registry facade. |
|
javax.xml.registry.infomodel.RegistryObject |
getRelationValue(RORelation pRelation,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given relations value from the given registry object. |
|
javax.xml.registry.infomodel.RegistryObject |
getRelationValue(ROType pType,
java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given relations value from the given registry object. |
|
javax.xml.registry.infomodel.RegistryObject |
getRelationValue(java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given relations value from the given registry object. |
|
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
getRelationValues(RORelation pRelation,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given relations values from the given registry object. |
|
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
getRelationValues(ROType pType,
java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given relations values from the given registry object. |
|
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
getRelationValues(java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given relations values from the given registry object. |
|
java.lang.String |
getSlotValue(ROSlot pSlot,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given slots values from the given registry object. |
|
java.lang.String |
getSlotValue(ROType pType,
java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given slots values from the given registry object. |
|
java.lang.String |
getSlotValue(java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given slots values from the given registry object. |
|
java.util.Collection<java.lang.String> |
getSlotValues(ROSlot pSlot,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given slots values from the given registry object. |
|
java.util.Collection<java.lang.String> |
getSlotValues(ROType pType,
java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given slots values from the given registry object. |
|
java.util.Collection<java.lang.String> |
getSlotValues(java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject)
Returns the given slots values from the given registry object. |
|
CsqlStatement |
prepareStatement(java.lang.String pQuery)
Creates a query with the given CSQL statement. |
|
RORelation |
requireRelation(ROType pType,
java.lang.String pRelationName)
Finds a relationship attribute with the given name in the given registry object type. |
|
ROSlot |
requireSlot(ROType pType,
java.lang.String pSlotName)
Finds a slot attribute with the given name in the given registry object type. |
|
ROType |
requireType(QName pQName)
Finds the registry object type with the given name. |
|
ROType |
requireType(javax.xml.registry.infomodel.RegistryObject pInstance)
Finds the registry object type of the given registry object instance. |
|
ROType |
requireType(java.lang.String pTypeName)
Finds the registry object type with the given name. |
|
void |
setRelationValue(RORelation pRelation,
javax.xml.registry.infomodel.RegistryObject pObject,
javax.xml.registry.infomodel.RegistryObject pTarget)
Sets the given relations value on the given registry object. |
|
void |
setRelationValue(ROType pType,
java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject,
javax.xml.registry.infomodel.RegistryObject pTarget)
Sets the given relations value on the given registry object. |
|
void |
setRelationValue(java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject,
javax.xml.registry.infomodel.RegistryObject pTarget)
Sets the given relations value on the given registry object. |
|
void |
setRelationValues(RORelation pRelation,
javax.xml.registry.infomodel.RegistryObject pObject,
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> pTargets)
Sets the given relations values on the given registry object. |
|
void |
setRelationValues(RORelation pRelation,
javax.xml.registry.infomodel.RegistryObject pObject,
javax.xml.registry.infomodel.RegistryObject... pTargets)
Sets the given relations values on the given registry object. |
|
void |
setRelationValues(ROType pType,
java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject,
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> pTargets)
Sets the given relations values on the given registry object. |
|
void |
setRelationValues(ROType pType,
java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject,
javax.xml.registry.infomodel.RegistryObject... pTargets)
Sets the given relations values on the given registry object. |
|
void |
setRelationValues(java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject,
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> pTargets)
Sets the given relations values on the given registry object. |
|
void |
setRelationValues(java.lang.String pRelationName,
javax.xml.registry.infomodel.RegistryObject pObject,
javax.xml.registry.infomodel.RegistryObject... pTargets)
Sets the given relations values on the given registry object. |
|
void |
setSlotValue(ROSlot pSlot,
javax.xml.registry.infomodel.RegistryObject pObject,
java.lang.String pValue)
Sets the given slots value on the given registry object. |
|
void |
setSlotValue(ROType pType,
java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject,
java.lang.String pValue)
Sets the given slots value on the given registry object. |
|
void |
setSlotValue(java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject,
java.lang.String pValue)
Sets the given slots value on the given registry object. |
|
void |
setSlotValues(ROSlot pSlot,
javax.xml.registry.infomodel.RegistryObject pObject,
java.util.Collection<java.lang.String> pValues)
Sets the given slots values on the given registry object. |
|
void |
setSlotValues(ROSlot pSlot,
javax.xml.registry.infomodel.RegistryObject pObject,
java.lang.String... pValues)
Sets the given slots values on the given registry object. |
|
void |
setSlotValues(ROType pType,
java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject,
java.util.Collection<java.lang.String> pValues)
Sets the given slots values on the given registry object. |
|
void |
setSlotValues(ROType pType,
java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject,
java.lang.String... pValues)
Sets the given slots values on the given registry object. |
|
void |
setSlotValues(java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject,
java.util.Collection<java.lang.String> pValues)
Sets the given slots values on the given registry object. |
|
void |
setSlotValues(java.lang.String pSlotName,
javax.xml.registry.infomodel.RegistryObject pObject,
java.lang.String... pValues)
Sets the given slots values on the given registry object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ROModelAccessorImpl(ModelDrivenRegistryFacade pFacade, ROMetaModelAccessor pMetaModelAccessor, InnerModelAccessor pAccessor)
Method Detail |
---|
public ROMetaModel getMetaModel()
ROModelAccessor
getMetaModel
in interface ROModelAccessor
public ModelDrivenRegistryFacade getRegistryFacade()
ROModelAccessor
getRegistryFacade
in interface ROModelAccessor
public ROType findType(QName pQName) throws javax.xml.registry.JAXRException
ROModelAccessor
findType
in interface ROModelAccessor
pQName
- The registry object types name.
javax.xml.registry.JAXRException
- The operation failed.ROModelAccessor.requireType(QName)
,
ROModelAccessor.findType(String)
public ROType requireType(QName pQName) throws javax.xml.registry.JAXRException
ROModelAccessor
requireType
in interface ROModelAccessor
pQName
- The registry object types name.
javax.xml.registry.JAXRException
- The operation failed.ROModelAccessor.findType(QName)
,
ROModelAccessor.requireType(String)
public ROType findType(java.lang.String pTypeName) throws javax.xml.registry.JAXRException
ROModelAccessor
findType
in interface ROModelAccessor
pTypeName
- The registry object types name.
javax.xml.registry.JAXRException
- The operation failed.ROModelAccessor.requireType(String)
,
ROModelAccessor.findType(QName)
public ROType requireType(java.lang.String pTypeName) throws javax.xml.registry.JAXRException
ROModelAccessor
requireType
in interface ROModelAccessor
pTypeName
- The registry object types name.
javax.xml.registry.JAXRException
- The operation failed. In particular,
this might be the case, if no type with the given name
was found.ROModelAccessor.findType(String)
,
ROModelAccessor.requireType(QName)
public ROType findType(javax.xml.registry.infomodel.RegistryObject pInstance) throws javax.xml.registry.JAXRException
ROModelAccessor
findType
in interface ROModelAccessor
pInstance
- The instance for which the type is being queried.
javax.xml.registry.JAXRException
- The operation failed. In particular,
this might be the case, if no type with the given name
was found.ROModelAccessor.findType(String)
,
ROModelAccessor.requireType(RegistryObject)
public ROType requireType(javax.xml.registry.infomodel.RegistryObject pInstance) throws javax.xml.registry.JAXRException
ROModelAccessor
requireType
in interface ROModelAccessor
pInstance
- The instance for which the type is being queried.
javax.xml.registry.JAXRException
- The operation failed. In particular,
this might be the case, if no type with the given name
was found.ROModelAccessor.requireType(String)
,
ROModelAccessor.findType(RegistryObject)
public RORelation findRelation(ROType pType, java.lang.String pRelationName) throws javax.xml.registry.JAXRException
ROModelAccessor
findRelation
in interface ROModelAccessor
pType
- The registry object type.pRelationName
- The attributes name.
javax.xml.registry.JAXRException
- The operation failed.public ROSlot findSlot(ROType pType, java.lang.String pSlotName) throws javax.xml.registry.JAXRException
ROModelAccessor
findSlot
in interface ROModelAccessor
pType
- The registry object type.pSlotName
- Then slots name.
javax.xml.registry.JAXRException
- The operation failed. In particular, this
might be the case, because an attribute with the given name was
found, but the attributes type is no slot attribute.ROModelAccessor.requireSlot(ROType, String)
public ROSlot requireSlot(ROType pType, java.lang.String pSlotName) throws javax.xml.registry.JAXRException
ROModelAccessor
requireSlot
in interface ROModelAccessor
pType
- The registry object type.pSlotName
- Then slots name.
javax.xml.registry.JAXRException
- The operation failed. In particular, this
might be the case, if no attribute with the given name was found.
Likewise, because an attribute with the given name was
found, but the attributes is no slot attribute.ROModelAccessor.findSlot(ROType, String)
public RORelation requireRelation(ROType pType, java.lang.String pRelationName) throws javax.xml.registry.JAXRException
ROModelAccessor
requireRelation
in interface ROModelAccessor
pType
- The registry object type.pRelationName
- The attributes name.
javax.xml.registry.JAXRException
- The operation failed. In particular, this
might be the case, if no attribute with the given name was found.
Likewise, because an attribute with the given name was
found, but the attributes is no relationship attribute.protected ROSlot findSlot(ROMetaModel pModel, javax.xml.registry.infomodel.RegistryObject pObject, java.lang.String pSlotName) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public void setSlotValue(ROSlot pSlot, javax.xml.registry.infomodel.RegistryObject pObject, java.lang.String pValue) throws javax.xml.registry.JAXRException
ROModelAccessor
setSlotValue
in interface ROModelAccessor
pSlot
- The slot to set.pObject
- The object on which to set the slot value.pValue
- The value to use.
javax.xml.registry.JAXRException
- The operation failed.public void setSlotValue(ROType pType, java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject, java.lang.String pValue) throws javax.xml.registry.JAXRException
ROModelAccessor
setSlotValue
in interface ROModelAccessor
pType
- The registry objects type.pSlotName
- The slots name.pObject
- The object on which to set the slot value.pValue
- The value to use.
javax.xml.registry.JAXRException
- The operation failed.public void setSlotValue(java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject, java.lang.String pValue) throws javax.xml.registry.JAXRException
ROModelAccessor
setSlotValue
in interface ROModelAccessor
pSlotName
- The slots name.pObject
- The object on which to set the slot value.pValue
- The value to use.
javax.xml.registry.JAXRException
- The operation failed.public void setSlotValues(ROSlot pSlot, javax.xml.registry.infomodel.RegistryObject pObject, java.util.Collection<java.lang.String> pValues) throws javax.xml.registry.JAXRException
ROModelAccessor
setSlotValues
in interface ROModelAccessor
pSlot
- The slot to set.pObject
- The object on which to set the slot values.pValues
- The values to use.
javax.xml.registry.JAXRException
- The operation failed.public void setSlotValues(ROType pType, java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject, java.util.Collection<java.lang.String> pValues) throws javax.xml.registry.JAXRException
ROModelAccessor
setSlotValues
in interface ROModelAccessor
pType
- The registry objects type.pSlotName
- The slots name.pObject
- The object on which to set the slot values.pValues
- The values to use.
javax.xml.registry.JAXRException
- The operation failed.public void setSlotValues(java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject, java.util.Collection<java.lang.String> pValues) throws javax.xml.registry.JAXRException
ROModelAccessor
setSlotValues
in interface ROModelAccessor
pSlotName
- The slots name.pObject
- The object on which to set the slot values.pValues
- The values to use.
javax.xml.registry.JAXRException
- The operation failed.public void setSlotValues(ROSlot pSlot, javax.xml.registry.infomodel.RegistryObject pObject, java.lang.String... pValues) throws javax.xml.registry.JAXRException
ROModelAccessor
setSlotValues
in interface ROModelAccessor
pSlot
- The slot to set.pObject
- The object on which to set the slot values.pValues
- The values to use.
javax.xml.registry.JAXRException
- The operation failed.public void setSlotValues(ROType pType, java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject, java.lang.String... pValues) throws javax.xml.registry.JAXRException
ROModelAccessor
setSlotValues
in interface ROModelAccessor
pType
- The registry objects type.pSlotName
- The slots name.pObject
- The object on which to set the slot values.pValues
- The values to use.
javax.xml.registry.JAXRException
- The operation failed.public void setSlotValues(java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject, java.lang.String... pValues) throws javax.xml.registry.JAXRException
ROModelAccessor
setSlotValues
in interface ROModelAccessor
pSlotName
- The slots name.pObject
- The object on which to set the slot values.pValues
- The values to use.
javax.xml.registry.JAXRException
- The operation failed.public java.lang.String getSlotValue(ROSlot pSlot, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getSlotValue
in interface ROModelAccessor
pSlot
- The slot to read.pObject
- The object from which to read the slot value.
javax.xml.registry.JAXRException
- The operation failed.public java.lang.String getSlotValue(ROType pType, java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getSlotValue
in interface ROModelAccessor
pType
- The registry objects type.pSlotName
- The slots name.pObject
- The object from which to read the slot value.
javax.xml.registry.JAXRException
- The operation failed.public java.lang.String getSlotValue(java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getSlotValue
in interface ROModelAccessor
pSlotName
- The slots name.pObject
- The object from which to read the slot value.
javax.xml.registry.JAXRException
- The operation failed.public java.util.Collection<java.lang.String> getSlotValues(ROSlot pSlot, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getSlotValues
in interface ROModelAccessor
pSlot
- The slot to read.pObject
- The object from which to read the slot value.
javax.xml.registry.JAXRException
- The operation failed.public java.util.Collection<java.lang.String> getSlotValues(ROType pType, java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getSlotValues
in interface ROModelAccessor
pType
- The registry objects type.pSlotName
- The slots name.pObject
- The object from which to read the slot value.
javax.xml.registry.JAXRException
- The operation failed.public java.util.Collection<java.lang.String> getSlotValues(java.lang.String pSlotName, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getSlotValues
in interface ROModelAccessor
pSlotName
- The slots name.pObject
- The object from which to read the slot value.
javax.xml.registry.JAXRException
- The operation failed.public void setRelationValue(RORelation pRelation, javax.xml.registry.infomodel.RegistryObject pObject, javax.xml.registry.infomodel.RegistryObject pTarget) throws javax.xml.registry.JAXRException
ROModelAccessor
setRelationValue
in interface ROModelAccessor
pRelation
- The relation to set.pObject
- The object on which to set the relation value.pTarget
- The target object to use as the relations value.
javax.xml.registry.JAXRException
- The operation failed.public void setRelationValue(ROType pType, java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject, javax.xml.registry.infomodel.RegistryObject pTarget) throws javax.xml.registry.JAXRException
ROModelAccessor
setRelationValue
in interface ROModelAccessor
pType
- The registry objects type.pRelationName
- The relations name.pObject
- The object on which to set the relation value.pTarget
- The target object to use as the relations value.
javax.xml.registry.JAXRException
- The operation failed.public void setRelationValue(java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject, javax.xml.registry.infomodel.RegistryObject pTarget) throws javax.xml.registry.JAXRException
ROModelAccessor
setRelationValue
in interface ROModelAccessor
pRelationName
- The relations name.pObject
- The object on which to set the relation value.pTarget
- The target object to use as the relations value.
javax.xml.registry.JAXRException
- The operation failed.public void setRelationValues(RORelation pRelation, javax.xml.registry.infomodel.RegistryObject pObject, javax.xml.registry.infomodel.RegistryObject... pTargets) throws javax.xml.registry.JAXRException
ROModelAccessor
setRelationValues
in interface ROModelAccessor
pRelation
- The relation to set.pObject
- The object on which to set the relation value.pTargets
- The target objects to use as the relations value.
javax.xml.registry.JAXRException
- The operation failed.public void setRelationValues(ROType pType, java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject, javax.xml.registry.infomodel.RegistryObject... pTargets) throws javax.xml.registry.JAXRException
ROModelAccessor
setRelationValues
in interface ROModelAccessor
pType
- The registry objects type.pRelationName
- The relations name.pObject
- The object on which to set the relation value.pTargets
- The target objects to use as the relations value.
javax.xml.registry.JAXRException
- The operation failed.public void setRelationValues(java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject, javax.xml.registry.infomodel.RegistryObject... pTargets) throws javax.xml.registry.JAXRException
ROModelAccessor
setRelationValues
in interface ROModelAccessor
pRelationName
- The relations name.pObject
- The object on which to set the relation value.pTargets
- The target objects to use as the relations value.
javax.xml.registry.JAXRException
- The operation failed.public void setRelationValues(RORelation pRelation, javax.xml.registry.infomodel.RegistryObject pObject, java.util.Collection<javax.xml.registry.infomodel.RegistryObject> pTargets) throws javax.xml.registry.JAXRException
ROModelAccessor
setRelationValues
in interface ROModelAccessor
pRelation
- The relation to set.pObject
- The object on which to set the relation value.pTargets
- The target objects to use as the relations value.
javax.xml.registry.JAXRException
- The operation failed.public void setRelationValues(ROType pType, java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject, java.util.Collection<javax.xml.registry.infomodel.RegistryObject> pTargets) throws javax.xml.registry.JAXRException
ROModelAccessor
setRelationValues
in interface ROModelAccessor
pType
- The registry objects type.pRelationName
- The relations name.pObject
- The object on which to set the relation value.pTargets
- The target objects to use as the relations value.
javax.xml.registry.JAXRException
- The operation failed.public void setRelationValues(java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject, java.util.Collection<javax.xml.registry.infomodel.RegistryObject> pTargets) throws javax.xml.registry.JAXRException
ROModelAccessor
setRelationValues
in interface ROModelAccessor
pRelationName
- The relations name.pObject
- The object on which to set the relation value.pTargets
- The target objects to use as the relations value.
javax.xml.registry.JAXRException
- The operation failed.public javax.xml.registry.infomodel.RegistryObject getRelationValue(RORelation pRelation, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getRelationValue
in interface ROModelAccessor
pRelation
- The relation to read.pObject
- The object from which to read the relation value.
javax.xml.registry.JAXRException
- The operation failed.public javax.xml.registry.infomodel.RegistryObject getRelationValue(ROType pType, java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getRelationValue
in interface ROModelAccessor
pType
- The registry objects type.pRelationName
- The relations name.pObject
- The object from which to read the relation value.
javax.xml.registry.JAXRException
- The operation failed.public javax.xml.registry.infomodel.RegistryObject getRelationValue(java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getRelationValue
in interface ROModelAccessor
pRelationName
- The relations name.pObject
- The object from which to read the relation value.
javax.xml.registry.JAXRException
- The operation failed.public java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getRelationValues(RORelation pRelation, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getRelationValues
in interface ROModelAccessor
pRelation
- The relation to read.pObject
- The object from which to read the relation values.
javax.xml.registry.JAXRException
- The operation failed.public java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getRelationValues(ROType pType, java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getRelationValues
in interface ROModelAccessor
pType
- The registry objects type.pRelationName
- The relations name.pObject
- The object from which to read the relation values.
javax.xml.registry.JAXRException
- The operation failed.public java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getRelationValues(java.lang.String pRelationName, javax.xml.registry.infomodel.RegistryObject pObject) throws javax.xml.registry.JAXRException
ROModelAccessor
getRelationValues
in interface ROModelAccessor
pRelationName
- The relations name.pObject
- The object from which to read the relation values.
javax.xml.registry.JAXRException
- The operation failed.public <RO extends javax.xml.registry.infomodel.RegistryObject> RO createInstance(ROType pType) throws javax.xml.registry.JAXRException
ROModelAccessor
createInstance
in interface ROModelAccessor
RO
- The type of the returned instance depends on the given
registry object type. For example, it will be Organization
,
if the type is LifeCycleManager.ORGANIZATION
, User
in the case of LifeCycleManager.USER
, or
RegistryEntry
for LifeCycleManager.REGISTRY_ENTRY
or a custom object type.pType
- The registry object type.
javax.xml.registry.JAXRException
- The operation failed.public <RO extends javax.xml.registry.infomodel.RegistryObject> RO createInstance(QName pType) throws javax.xml.registry.JAXRException
ROModelAccessor
createInstance
in interface ROModelAccessor
RO
- The type of the returned instance depends on the given
registry object type. For example, it will be Organization
,
if the type is LifeCycleManager.ORGANIZATION
, User
in the case of LifeCycleManager.USER
, or
RegistryEntry
for LifeCycleManager.REGISTRY_ENTRY
or a custom object type.pType
- The registry object type.
javax.xml.registry.JAXRException
- The operation failed.public <RO extends javax.xml.registry.infomodel.RegistryObject> RO createInstance(java.lang.String pType) throws javax.xml.registry.JAXRException
ROModelAccessor
createInstance
in interface ROModelAccessor
RO
- The type of the returned instance depends on the given
registry object type. For example, it will be Organization
,
if the type is LifeCycleManager.ORGANIZATION
, User
in the case of LifeCycleManager.USER
, or
RegistryEntry
for LifeCycleManager.REGISTRY_ENTRY
or a custom object type.pType
- The registry object type.
javax.xml.registry.JAXRException
- The operation failed.public CsqlStatement prepareStatement(java.lang.String pQuery) throws javax.xml.registry.JAXRException
ROModelAccessor
prepareStatement
in interface ROModelAccessor
pQuery
- The query to perform.
javax.xml.registry.JAXRException
- Preparing the statement failed.public java.util.List<javax.xml.registry.infomodel.RegistryObject> executeQuery(java.lang.String pQuery, java.lang.Object... pParameters) throws javax.xml.registry.JAXRException
ROModelAccessor
executeQuery
in interface ROModelAccessor
pQuery
- The query to perform.pParameters
- The parameters to set on the statement.
javax.xml.registry.JAXRException
- Preparing the statement failed.public java.util.List<javax.xml.registry.infomodel.RegistryObject[]> executeArrayQuery(java.lang.String pQuery, java.lang.Object... pParameters) throws javax.xml.registry.JAXRException
ROModelAccessor
executeArrayQuery
in interface ROModelAccessor
pQuery
- The query to perform.pParameters
- The parameters to set on the statement.
javax.xml.registry.JAXRException
- Preparing the statement failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |