public enum CompletionStatus extends Enum<CompletionStatus> implements Serializable
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>
Enum Constant and Description |
---|
STATUS_BOTH_INCOMPLETE
only applicable to the context of UDDI subscription and SHOULD not be present as part of a response to a get_assertionStatusReport request.
|
STATUS_COMPLETE
causes only the publisher assertions that are complete to be returned
|
STATUS_FROM_KEY_INCOMPLETE
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.
|
STATUS_TO_KEY_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.
|
Modifier and Type | Method and Description |
---|---|
static CompletionStatus |
fromValue(String v) |
String |
value() |
static CompletionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompletionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompletionStatus STATUS_COMPLETE
public static final CompletionStatus STATUS_FROM_KEY_INCOMPLETE
public static final CompletionStatus STATUS_TO_KEY_INCOMPLETE
public static final CompletionStatus STATUS_BOTH_INCOMPLETE
public static CompletionStatus[] values()
for (CompletionStatus c : CompletionStatus.values()) System.out.println(c);
public static CompletionStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static CompletionStatus fromValue(String v)
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.