All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.uddi.api_v3.CompletionStatus Maven / Gradle / Ivy

There is a newer version: 3.3.10
Show newest version
/*
 * Copyright 2001-2008 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */


package org.uddi.api_v3;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for completionStatus. *

·         completionStatus: This optional argument lets the publisher restrict the result set to only those relationships that have the specified status value.  Assertion status is a calculated result based on the sum total of assertions made by the individuals that control specific business registrations.  When no completionStatus element is provided, all assertions involving the businesses that the publisher owns are retrieved, without regard to the completeness of the relationship.  completionStatus MUST contain one of the following values

o        status:complete: Passing this value causes only the publisher assertions that are complete to be returned.  Each businessEntity listed in assertions that are complete has a visible relationship that directly reflects the data in a complete assertion (as described in the find_relatedBusinesses API).

o        status:toKey_incomplete: Passing this value causes only those publisher assertions where the party who controls the businessEntity referenced by the toKey value in an assertion, has not made a matching assertion, to be listed.

o        status:fromKey_incomplete: Passing this value causes only those publisher assertions where the party who controls the businessEntity referenced by the fromKey value in an assertion, has not made a matching assertion, to be listed.

o        status:both_incomplete. This status value, however, is only applicable to the context of UDDI subscription and SHOULD not be present as part of a response to a get_assertionStatusReport request.

*

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="completionStatus">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <maxLength value="32"/>
 *     <whiteSpace value="collapse"/>
 *     <enumeration value="status:complete"/>
 *     <enumeration value="status:fromKey_incomplete"/>
 *     <enumeration value="status:toKey_incomplete"/>
 *     <enumeration value="status:both_incomplete"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "completionStatus") @XmlEnum public enum CompletionStatus implements Serializable{ /** * causes only the publisher assertions that are complete to be returned */ @XmlEnumValue("status:complete") STATUS_COMPLETE("status:complete"), /** * causes only those publisher assertions where the party who controls the businessEntity referenced by the fromKey value in an assertion, has not made a matching assertion, to be listed. */ @XmlEnumValue("status:fromKey_incomplete") STATUS_FROM_KEY_INCOMPLETE("status:fromKey_incomplete"), /** * causes only those publisher assertions where the party who controls the businessEntity referenced by the toKey value in an assertion, has not made a matching assertion, to be listed. */ @XmlEnumValue("status:toKey_incomplete") STATUS_TO_KEY_INCOMPLETE("status:toKey_incomplete"), /** * only applicable to the context of UDDI subscription and SHOULD not be present as part of a response to a get_assertionStatusReport request. * When appearing in an assertionStatusItem of a subscriptionResultsList, status:both_incomplete indicates that the publisher assertion embedded in the assertionStatusItem has been deleted from both ends. */ @XmlEnumValue("status:both_incomplete") STATUS_BOTH_INCOMPLETE("status:both_incomplete"); private final String value; CompletionStatus(String v) { value = v; } public String value() { return value; } public static CompletionStatus fromValue(String v) { for (CompletionStatus c: CompletionStatus.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy