1/*2 * Copyright 2001-2008 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 *16 */171819package org.uddi.policy_v3_instanceparms;
2021import java.io.Serializable;
2223import javax.xml.bind.annotation.XmlEnum;
24import javax.xml.bind.annotation.XmlEnumValue;
25import javax.xml.bind.annotation.XmlType;
262728/**29 * <p>Java class for filterUsingFindAPI_type.30 * 31 * <p>The following schema fragment specifies the expected content contained within this class.32 * <p>33 * <pre>34 * <simpleType name="filterUsingFindAPI_type">35 * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">36 * <enumeration value="supported"/>37 * <enumeration value="unsupported"/>38 * </restriction>39 * </simpleType>40 * </pre>41 * 42 */43 @XmlType(name = "filterUsingFindAPI_type")
44 @XmlEnum
45public enum FilterUsingFindAPITypeimplements Serializable{
4647 @XmlEnumValue("supported")
48 SUPPORTED("supported"),
49 @XmlEnumValue("unsupported")
50 UNSUPPORTED("unsupported");
51privatefinal String value;
5253FilterUsingFindAPIType(String v) {
54 value = v;
55 }
5657public String value() {
58return value;
59 }
6061publicstaticFilterUsingFindAPIType fromValue(String v) {
62for (FilterUsingFindAPIType c: FilterUsingFindAPIType.values()) {
63if (c.value.equals(v)) {
64return c;
65 }
66 }
67thrownew IllegalArgumentException(v);
68 }
6970 }