org.apache.juddi.api.util
Enum PublicationQuery

java.lang.Object
  extended by java.lang.Enum<PublicationQuery>
      extended by org.apache.juddi.api.util.PublicationQuery
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PublicationQuery>, UDDIQuery

public enum PublicationQuery
extends java.lang.Enum<PublicationQuery>
implements UDDIQuery

Enum to represent the queries within the publication API.

Author:
Tom Cunningham

Enum Constant Summary
ADD_PUBLISHERASSERTIONS
           
DELETE_BINDING
           
DELETE_BUSINESS
           
DELETE_PUBLISHERASSERTIONS
           
DELETE_SERVICE
           
DELETE_TMODEL
           
GET_ASSERTIONSTATUSREPORT
           
GET_PUBLISHERASSERTIONS
           
GET_REGISTEREDINFO
           
SAVE_BINDING
           
SAVE_BUSINESS
           
SAVE_SERVICE
           
SAVE_TMODEL
           
SET_PUBLISHERASSERTIONS
           
 
Method Summary
static PublicationQuery fromQuery(java.lang.String query)
           
static java.util.List<java.lang.String> getQueries()
           
 java.lang.String getQuery()
           
static void initPublicationQueries()
           
static PublicationQuery valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PublicationQuery[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GET_REGISTEREDINFO

public static final PublicationQuery GET_REGISTEREDINFO

SAVE_BUSINESS

public static final PublicationQuery SAVE_BUSINESS

SAVE_SERVICE

public static final PublicationQuery SAVE_SERVICE

SAVE_BINDING

public static final PublicationQuery SAVE_BINDING

SAVE_TMODEL

public static final PublicationQuery SAVE_TMODEL

DELETE_BUSINESS

public static final PublicationQuery DELETE_BUSINESS

DELETE_SERVICE

public static final PublicationQuery DELETE_SERVICE

DELETE_BINDING

public static final PublicationQuery DELETE_BINDING

DELETE_TMODEL

public static final PublicationQuery DELETE_TMODEL

ADD_PUBLISHERASSERTIONS

public static final PublicationQuery ADD_PUBLISHERASSERTIONS

SET_PUBLISHERASSERTIONS

public static final PublicationQuery SET_PUBLISHERASSERTIONS

GET_PUBLISHERASSERTIONS

public static final PublicationQuery GET_PUBLISHERASSERTIONS

DELETE_PUBLISHERASSERTIONS

public static final PublicationQuery DELETE_PUBLISHERASSERTIONS

GET_ASSERTIONSTATUSREPORT

public static final PublicationQuery GET_ASSERTIONSTATUSREPORT
Method Detail

values

public static PublicationQuery[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PublicationQuery c : PublicationQuery.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PublicationQuery valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getQuery

public java.lang.String getQuery()
Specified by:
getQuery in interface UDDIQuery

initPublicationQueries

public static void initPublicationQueries()

getQueries

public static java.util.List<java.lang.String> getQueries()

fromQuery

public static PublicationQuery fromQuery(java.lang.String query)


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.