net.sf.csutils.core.registry
Interface ROModelAccessor

All Known Implementing Classes:
ROModelAccessorImpl

public interface ROModelAccessor

The model accessor is used to operate on the registry model. In other words, it is used to read and edit model instances.

Methods in this interface are typically present in three flavours. For example, there are getSlotValue(ROSlot, RegistryObject), getSlotValue(ROType, String, RegistryObject), and getSlotValue(String, RegistryObject). Basically, these are the same methods, performing the same operation. The main difference is performance: For example, getSlotValue(String, RegistryObject) will first lookup the type of the registry object and then invoke getSlotValue(ROType, String, RegistryObject) internally. In other words, the cost of looking up the type will be added. Likewise, getSlotValue(String, RegistryObject) will lookup the definition of the given slot first and then invoke getSlotValue(ROSlot, RegistryObject) internally.

If you have to perform multiple operations in turn, for example set multiple slot values at once, then you should try to avoid the cost of these lookups. For example, if you have to configure the same slot on multiple registry objects, then it is worth to lookup the slot first and invoke setSlotValue(ROSlot, RegistryObject, String) on all the registry objects. Likewise, if you have to configure multiple slots on the same registry object, then it might be worth to lookup the registry objects type first and use setSlotValue(ROType, String, RegistryObject, String).


Method Summary
<RO extends javax.xml.registry.infomodel.RegistryObject>
RO
createInstance(QName pType)
          Creates a registry object with the given type.
<RO extends javax.xml.registry.infomodel.RegistryObject>
RO
createInstance(ROType pType)
          Creates a registry object with the given type.
<RO extends javax.xml.registry.infomodel.RegistryObject>
RO
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.
 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 pTypeName)
          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 pTypeName)
          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 pValue)
          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 pValue)
          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 pValues)
          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> pValues)
          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... pValues)
          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> pValues)
          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... pValues)
          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> pValues)
          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... pValues)
          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.
 

Method Detail

getRegistryFacade

ModelDrivenRegistryFacade getRegistryFacade()
Returns the accessors registry facade.

Returns:
The registry facade to use.

getMetaModel

ROMetaModel getMetaModel()
Returns the meta model.

Returns:
The meta model.

findType

ROType findType(QName pTypeName)
                throws javax.xml.registry.JAXRException
Finds the registry object type with the given name.

Parameters:
pTypeName - The registry object types name.
Returns:
ROType The matching registry object type, if any, or null.
Throws:
javax.xml.registry.JAXRException - The operation failed.
See Also:
requireType(QName), findType(String)

requireType

ROType requireType(QName pTypeName)
                   throws javax.xml.registry.JAXRException
Finds the registry object type with the given name.

Parameters:
pTypeName - The registry object types name.
Returns:
ROType The matching registry object type; never null, because an exception is thrown in that case.
Throws:
javax.xml.registry.JAXRException - The operation failed.
See Also:
findType(QName), requireType(String)

findType

ROType findType(java.lang.String pTypeName)
                throws javax.xml.registry.JAXRException
Finds the registry object type with the given name.

Parameters:
pTypeName - The registry object types name.
Returns:
The matching registry object type, if any, or null.
Throws:
javax.xml.registry.JAXRException - The operation failed.
See Also:
requireType(String), findType(QName)

requireType

ROType requireType(java.lang.String pTypeName)
                   throws javax.xml.registry.JAXRException
Finds the registry object type with the given name.

Parameters:
pTypeName - The registry object types name.
Returns:
The matching registry object type; never null, because an exception is thrown in that case.
Throws:
javax.xml.registry.JAXRException - The operation failed. In particular, this might be the case, if no type with the given name was found.
See Also:
findType(String), requireType(QName)

findType

ROType findType(javax.xml.registry.infomodel.RegistryObject pInstance)
                throws javax.xml.registry.JAXRException
Finds the registry object type of the given registry object instance.

Parameters:
pInstance - The instance for which the type is being queried.
Returns:
The matching registry object type, if any, or null.
Throws:
javax.xml.registry.JAXRException - The operation failed. In particular, this might be the case, if no type with the given name was found.
See Also:
findType(String), requireType(RegistryObject)

requireType

ROType requireType(javax.xml.registry.infomodel.RegistryObject pInstance)
                   throws javax.xml.registry.JAXRException
Finds the registry object type of the given registry object instance.

Parameters:
pInstance - The instance for which the type is being queried.
Returns:
The matching registry object type; never null, because an exception is thrown in that case.
Throws:
javax.xml.registry.JAXRException - The operation failed. In particular, this might be the case, if no type with the given name was found.
See Also:
requireType(String), findType(RegistryObject)

findSlot

ROSlot findSlot(ROType pType,
                java.lang.String pSlotName)
                throws javax.xml.registry.JAXRException
Finds a slot attribute with the given name in the given registry object type.

Parameters:
pType - The registry object type.
pSlotName - Then slots name.
Returns:
The matching slot, if any, or null.
Throws:
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.
See Also:
requireSlot(ROType, String)

requireSlot

ROSlot requireSlot(ROType pType,
                   java.lang.String pSlotName)
                   throws javax.xml.registry.JAXRException
Finds a slot attribute with the given name in the given registry object type.

Parameters:
pType - The registry object type.
pSlotName - Then slots name.
Returns:
The matching slot; never null, because an exception is thrown in that case.
Throws:
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.
See Also:
findSlot(ROType, String)

findRelation

RORelation findRelation(ROType pType,
                        java.lang.String pRelationName)
                        throws javax.xml.registry.JAXRException
Finds a relationship attribute with the given name in the given registry object type.

Parameters:
pType - The registry object type.
pRelationName - The attributes name.
Returns:
The matching slot, if any, or null.
Throws:
javax.xml.registry.JAXRException - The operation failed.

requireRelation

RORelation requireRelation(ROType pType,
                           java.lang.String pRelationName)
                           throws javax.xml.registry.JAXRException
Finds a relationship attribute with the given name in the given registry object type.

Parameters:
pType - The registry object type.
pRelationName - The attributes name.
Returns:
The matching relation; never null, as an exception is thrown in that case.
Throws:
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.

createInstance

<RO extends javax.xml.registry.infomodel.RegistryObject> RO createInstance(ROType pType)
                                                                      throws javax.xml.registry.JAXRException
Creates a registry object with the given type.

Type Parameters:
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.
Parameters:
pType - The registry object type.
Returns:
The created registry object instance.
Throws:
javax.xml.registry.JAXRException - The operation failed.

createInstance

<RO extends javax.xml.registry.infomodel.RegistryObject> RO createInstance(QName pType)
                                                                      throws javax.xml.registry.JAXRException
Creates a registry object with the given type.

Type Parameters:
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.
Parameters:
pType - The registry object type.
Returns:
The created registry object instance.
Throws:
javax.xml.registry.JAXRException - The operation failed.

createInstance

<RO extends javax.xml.registry.infomodel.RegistryObject> RO createInstance(java.lang.String pType)
                                                                      throws javax.xml.registry.JAXRException
Creates a registry object with the given type.

Type Parameters:
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.
Parameters:
pType - The registry object type.
Returns:
The created registry object instance.
Throws:
javax.xml.registry.JAXRException - The operation failed.

prepareStatement

CsqlStatement prepareStatement(java.lang.String pQuery)
                               throws javax.xml.registry.JAXRException
Creates a query with the given CSQL statement.

Parameters:
pQuery - The query to perform.
Returns:
The prepared CSQL statement.
Throws:
javax.xml.registry.JAXRException - Preparing the statement failed.

executeQuery

java.util.List<javax.xml.registry.infomodel.RegistryObject> executeQuery(java.lang.String pQuery,
                                                                         java.lang.Object... pParameters)
                                                                         throws javax.xml.registry.JAXRException
Creates a query with the given CSQL statement, executes it, and returns the result.

Parameters:
pQuery - The query to perform.
pParameters - The parameters to set on the statement.
Returns:
The prepared CSQL statement.
Throws:
javax.xml.registry.JAXRException - Preparing the statement failed.

executeArrayQuery

java.util.List<javax.xml.registry.infomodel.RegistryObject[]> executeArrayQuery(java.lang.String pQuery,
                                                                                java.lang.Object... pParameters)
                                                                                throws javax.xml.registry.JAXRException
Creates a query with the given CSQL statement, executes it, and returns the result.

Parameters:
pQuery - The query to perform.
pParameters - The parameters to set on the statement.
Returns:
The prepared CSQL statement.
Throws:
javax.xml.registry.JAXRException - Preparing the statement failed.

setSlotValue

void setSlotValue(ROSlot pSlot,
                  javax.xml.registry.infomodel.RegistryObject pObject,
                  java.lang.String pValue)
                  throws javax.xml.registry.JAXRException
Sets the given slots value on the given registry object.

Parameters:
pSlot - The slot to set.
pObject - The object on which to set the slot value.
pValue - The value to use.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setSlotValue

void setSlotValue(ROType pType,
                  java.lang.String pSlotName,
                  javax.xml.registry.infomodel.RegistryObject pObject,
                  java.lang.String pValue)
                  throws javax.xml.registry.JAXRException
Sets the given slots value on the given registry object.

Parameters:
pType - The registry objects type.
pSlotName - The slots name.
pObject - The object on which to set the slot value.
pValue - The value to use.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setSlotValue

void setSlotValue(java.lang.String pSlotName,
                  javax.xml.registry.infomodel.RegistryObject pObject,
                  java.lang.String pValue)
                  throws javax.xml.registry.JAXRException
Sets the given slots value on the given registry object.

Parameters:
pSlotName - The slots name.
pObject - The object on which to set the slot value.
pValue - The value to use.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setSlotValues

void setSlotValues(ROSlot pSlot,
                   javax.xml.registry.infomodel.RegistryObject pObject,
                   java.util.Collection<java.lang.String> pValues)
                   throws javax.xml.registry.JAXRException
Sets the given slots values on the given registry object.

Parameters:
pSlot - The slot to set.
pObject - The object on which to set the slot values.
pValues - The values to use.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setSlotValues

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
Sets the given slots values on the given registry object.

Parameters:
pType - The registry objects type.
pSlotName - The slots name.
pObject - The object on which to set the slot values.
pValues - The values to use.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setSlotValues

void setSlotValues(java.lang.String pSlotName,
                   javax.xml.registry.infomodel.RegistryObject pObject,
                   java.util.Collection<java.lang.String> pValues)
                   throws javax.xml.registry.JAXRException
Sets the given slots values on the given registry object.

Parameters:
pSlotName - The slots name.
pObject - The object on which to set the slot values.
pValues - The values to use.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setSlotValues

void setSlotValues(ROSlot pSlot,
                   javax.xml.registry.infomodel.RegistryObject pObject,
                   java.lang.String... pValues)
                   throws javax.xml.registry.JAXRException
Sets the given slots values on the given registry object.

Parameters:
pSlot - The slot to set.
pObject - The object on which to set the slot values.
pValues - The values to use.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setSlotValues

void setSlotValues(ROType pType,
                   java.lang.String pSlotName,
                   javax.xml.registry.infomodel.RegistryObject pObject,
                   java.lang.String... pValues)
                   throws javax.xml.registry.JAXRException
Sets the given slots values on the given registry object.

Parameters:
pType - The registry objects type.
pSlotName - The slots name.
pObject - The object on which to set the slot values.
pValues - The values to use.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setSlotValues

void setSlotValues(java.lang.String pSlotName,
                   javax.xml.registry.infomodel.RegistryObject pObject,
                   java.lang.String... pValues)
                   throws javax.xml.registry.JAXRException
Sets the given slots values on the given registry object.

Parameters:
pSlotName - The slots name.
pObject - The object on which to set the slot values.
pValues - The values to use.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getSlotValue

java.lang.String getSlotValue(ROSlot pSlot,
                              javax.xml.registry.infomodel.RegistryObject pObject)
                              throws javax.xml.registry.JAXRException
Returns the given slots values from the given registry object.

Parameters:
pSlot - The slot to read.
pObject - The object from which to read the slot value.
Returns:
The slot value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getSlotValue

java.lang.String getSlotValue(ROType pType,
                              java.lang.String pSlotName,
                              javax.xml.registry.infomodel.RegistryObject pObject)
                              throws javax.xml.registry.JAXRException
Returns the given slots values from the given registry object.

Parameters:
pType - The registry objects type.
pSlotName - The slots name.
pObject - The object from which to read the slot value.
Returns:
The slot value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getSlotValue

java.lang.String getSlotValue(java.lang.String pSlotName,
                              javax.xml.registry.infomodel.RegistryObject pObject)
                              throws javax.xml.registry.JAXRException
Returns the given slots values from the given registry object.

Parameters:
pSlotName - The slots name.
pObject - The object from which to read the slot value.
Returns:
The slot values.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getSlotValues

java.util.Collection<java.lang.String> getSlotValues(ROSlot pSlot,
                                                     javax.xml.registry.infomodel.RegistryObject pObject)
                                                     throws javax.xml.registry.JAXRException
Returns the given slots values from the given registry object.

Parameters:
pSlot - The slot to read.
pObject - The object from which to read the slot value.
Returns:
The slot values.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getSlotValues

java.util.Collection<java.lang.String> getSlotValues(ROType pType,
                                                     java.lang.String pSlotName,
                                                     javax.xml.registry.infomodel.RegistryObject pObject)
                                                     throws javax.xml.registry.JAXRException
Returns the given slots values from the given registry object.

Parameters:
pType - The registry objects type.
pSlotName - The slots name.
pObject - The object from which to read the slot value.
Returns:
The slot values.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getSlotValues

java.util.Collection<java.lang.String> getSlotValues(java.lang.String pSlotName,
                                                     javax.xml.registry.infomodel.RegistryObject pObject)
                                                     throws javax.xml.registry.JAXRException
Returns the given slots values from the given registry object.

Parameters:
pType - The registry objects type.
pSlotName - The slots name.
pObject - The object from which to read the slot value.
Returns:
The slot values.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setRelationValue

void setRelationValue(RORelation pRelation,
                      javax.xml.registry.infomodel.RegistryObject pObject,
                      javax.xml.registry.infomodel.RegistryObject pValue)
                      throws javax.xml.registry.JAXRException
Sets the given relations value on the given registry object.

Parameters:
pRelation - The relation to set.
pObject - The object on which to set the relation value.
pValue - The target object to use as the relations value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setRelationValue

void setRelationValue(ROType pType,
                      java.lang.String pRelationName,
                      javax.xml.registry.infomodel.RegistryObject pObject,
                      javax.xml.registry.infomodel.RegistryObject pValue)
                      throws javax.xml.registry.JAXRException
Sets the given relations value on the given registry object.

Parameters:
pType - The registry objects type.
pRelationName - The relations name.
pObject - The object on which to set the relation value.
pValue - The target object to use as the relations value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setRelationValue

void setRelationValue(java.lang.String pRelationName,
                      javax.xml.registry.infomodel.RegistryObject pObject,
                      javax.xml.registry.infomodel.RegistryObject pValues)
                      throws javax.xml.registry.JAXRException
Sets the given relations value on the given registry object.

Parameters:
pRelationName - The relations name.
pObject - The object on which to set the relation value.
pValues - The target object to use as the relations value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setRelationValues

void setRelationValues(RORelation pRelation,
                       javax.xml.registry.infomodel.RegistryObject pObject,
                       javax.xml.registry.infomodel.RegistryObject... pValues)
                       throws javax.xml.registry.JAXRException
Sets the given relations values on the given registry object.

Parameters:
pRelation - The relation to set.
pObject - The object on which to set the relation value.
pValues - The target objects to use as the relations value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setRelationValues

void setRelationValues(ROType pType,
                       java.lang.String pRelationName,
                       javax.xml.registry.infomodel.RegistryObject pObject,
                       javax.xml.registry.infomodel.RegistryObject... pValues)
                       throws javax.xml.registry.JAXRException
Sets the given relations values on the given registry object.

Parameters:
pType - The registry objects type.
pRelationName - The relations name.
pObject - The object on which to set the relation value.
pValues - The target objects to use as the relations value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setRelationValues

void setRelationValues(java.lang.String pRelationName,
                       javax.xml.registry.infomodel.RegistryObject pObject,
                       javax.xml.registry.infomodel.RegistryObject... pValues)
                       throws javax.xml.registry.JAXRException
Sets the given relations values on the given registry object.

Parameters:
pRelationName - The relations name.
pObject - The object on which to set the relation value.
pValues - The target objects to use as the relations value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setRelationValues

void setRelationValues(RORelation pRelation,
                       javax.xml.registry.infomodel.RegistryObject pObject,
                       java.util.Collection<javax.xml.registry.infomodel.RegistryObject> pValues)
                       throws javax.xml.registry.JAXRException
Sets the given relations values on the given registry object.

Parameters:
pRelation - The relation to set.
pObject - The object on which to set the relation value.
pValues - The target objects to use as the relations value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setRelationValues

void setRelationValues(ROType pType,
                       java.lang.String pRelationName,
                       javax.xml.registry.infomodel.RegistryObject pObject,
                       java.util.Collection<javax.xml.registry.infomodel.RegistryObject> pValues)
                       throws javax.xml.registry.JAXRException
Sets the given relations values on the given registry object.

Parameters:
pType - The registry objects type.
pRelationName - The relations name.
pObject - The object on which to set the relation value.
pValues - The target objects to use as the relations value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setRelationValues

void setRelationValues(java.lang.String pRelationName,
                       javax.xml.registry.infomodel.RegistryObject pObject,
                       java.util.Collection<javax.xml.registry.infomodel.RegistryObject> pValues)
                       throws javax.xml.registry.JAXRException
Sets the given relations values on the given registry object.

Parameters:
pRelationName - The relations name.
pObject - The object on which to set the relation value.
pValues - The target objects to use as the relations value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getRelationValue

javax.xml.registry.infomodel.RegistryObject getRelationValue(RORelation pRelation,
                                                             javax.xml.registry.infomodel.RegistryObject pObject)
                                                             throws javax.xml.registry.JAXRException
Returns the given relations value from the given registry object.

Parameters:
pRelation - The relation to read.
pObject - The object from which to read the relation value.
Returns:
relations target object.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getRelationValue

javax.xml.registry.infomodel.RegistryObject getRelationValue(ROType pType,
                                                             java.lang.String pRelationName,
                                                             javax.xml.registry.infomodel.RegistryObject pObject)
                                                             throws javax.xml.registry.JAXRException
Returns the given relations value from the given registry object.

Parameters:
pType - The registry objects type.
pRelationName - The relations name.
pObject - The object from which to read the relation value.
Returns:
relations target object.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getRelationValue

javax.xml.registry.infomodel.RegistryObject getRelationValue(java.lang.String pRelationName,
                                                             javax.xml.registry.infomodel.RegistryObject pObject)
                                                             throws javax.xml.registry.JAXRException
Returns the given relations value from the given registry object.

Parameters:
pRelationName - The relations name.
pObject - The object from which to read the relation value.
Returns:
relations target object.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getRelationValues

java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getRelationValues(RORelation pRelation,
                                                                                    javax.xml.registry.infomodel.RegistryObject pObject)
                                                                                    throws javax.xml.registry.JAXRException
Returns the given relations values from the given registry object.

Parameters:
pRelation - The relation to read.
pObject - The object from which to read the relation values.
Returns:
relations target objects.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getRelationValues

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
Returns the given relations values from the given registry object.

Parameters:
pType - The registry objects type.
pRelationName - The relations name.
pObject - The object from which to read the relation values.
Returns:
relations target objects.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getRelationValues

java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getRelationValues(java.lang.String pRelationName,
                                                                                    javax.xml.registry.infomodel.RegistryObject pObject)
                                                                                    throws javax.xml.registry.JAXRException
Returns the given relations values from the given registry object.

Parameters:
pRelationName - The relations name.
pObject - The object from which to read the relation values.
Returns:
relations target objects.
Throws:
javax.xml.registry.JAXRException - The operation failed.


Copyright © 2009-2010. All Rights Reserved.