public class Uddiuddiorgidentifierisreplacedby extends Object implements ValueSetValidator
The keyValues in keyedReferences that refer to this tModel must be tModelKeys or businessKeys. Such a keyValue specifies the entity that is the replacement for the entity in which the keyedReference appears. The above and further validation requirements are as follows:
a. In the case where a reference is made from an obsolete business entity the following validation rules apply:
1. reference to a new business entity; this is a valid operation
2. reference to self; this is invalid
3. reference to a service, binding or tModel; this is an invalid operation given that the entity being pointed to must be a business
4. reference to another publisher’s business; this is a valid operation; no ownership check is made
5. reference to another publisher’s service, binding or tModel; this is an invalid operation because of a.3 above
6. reference to invalid keys; this is an invalid operation; a key must be valid.
b. In the case where a reference is made from an obsolete tModel the following validation rules apply:
1. reference to a new tModel; this is a valid operation
2. reference to self; this is invalid
3. reference to a service, binding or business; this is an invalid operation given that the entity being pointed to must be a tModel
4. reference to another publisher’s tModel; this is a valid operation; no ownership check is made
5. reference to another publisher’s service, binding or business; this is an invalid operation because of b.3 above
6. reference to invalid keys; this is an invalid operation; a key must be valid.
7. reference to a hidden tModel; this is a valid operation
c. Adding isReplacedBy to a service’s or binding’s category bag: this is a semantically wrong operation and will be rejected.
When returning an error encountered in the above, E_invalidValue will be returned to indicate that a value that was passed in a keyValue attribute did not pass validation.
While this validation is intended at save time, references to replacing business entities may become invalid if (A) the business is deleted and (B) in V3 the business is deleted and then the key is re-used for a different entity. As such, in a replicating registry, nodes processing changeRecords related to business entities or tModels that refer to (now) invalid or missing business or tModels entity keys respectively, MUST NOT raise replication errors.
Constructor and Description |
---|
Uddiuddiorgidentifierisreplacedby() |
Modifier and Type | Method and Description |
---|---|
String |
getMyKey() |
List<String> |
getValidValues() |
void |
validateTmodelInstanceDetails(List<org.uddi.api_v3.TModelInstanceInfo> tModelInstanceInfo,
String xpath) |
void |
validateValuesBindingTemplate(List<org.uddi.api_v3.BindingTemplate> items,
String xpath) |
void |
validateValuesBusinessEntity(List<org.uddi.api_v3.BusinessEntity> items) |
void |
validateValuesBusinessService(List<org.uddi.api_v3.BusinessService> items,
String xpath) |
void |
validateValuesPublisherAssertion(List<org.uddi.api_v3.PublisherAssertion> items) |
void |
validateValuesTModel(List<org.uddi.api_v3.TModel> items) |
public String getMyKey()
public void validateValuesBindingTemplate(List<org.uddi.api_v3.BindingTemplate> items, String xpath) throws org.uddi.v3_service.DispositionReportFaultMessage
validateValuesBindingTemplate
in interface ValueSetValidator
org.uddi.v3_service.DispositionReportFaultMessage
public void validateValuesBusinessEntity(List<org.uddi.api_v3.BusinessEntity> items) throws org.uddi.v3_service.DispositionReportFaultMessage
validateValuesBusinessEntity
in interface ValueSetValidator
org.uddi.v3_service.DispositionReportFaultMessage
public void validateValuesBusinessService(List<org.uddi.api_v3.BusinessService> items, String xpath) throws org.uddi.v3_service.DispositionReportFaultMessage
validateValuesBusinessService
in interface ValueSetValidator
org.uddi.v3_service.DispositionReportFaultMessage
public void validateValuesPublisherAssertion(List<org.uddi.api_v3.PublisherAssertion> items) throws org.uddi.v3_service.DispositionReportFaultMessage
validateValuesPublisherAssertion
in interface ValueSetValidator
org.uddi.v3_service.DispositionReportFaultMessage
public void validateTmodelInstanceDetails(List<org.uddi.api_v3.TModelInstanceInfo> tModelInstanceInfo, String xpath) throws org.uddi.v3_service.DispositionReportFaultMessage
validateTmodelInstanceDetails
in interface ValueSetValidator
org.uddi.v3_service.DispositionReportFaultMessage
public void validateValuesTModel(List<org.uddi.api_v3.TModel> items) throws org.uddi.v3_service.DispositionReportFaultMessage
validateValuesTModel
in interface ValueSetValidator
org.uddi.v3_service.DispositionReportFaultMessage
public List<String> getValidValues()
getValidValues
in interface ValueSetValidator
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.