![JAR search and dependency download from the Maven repository](/logo.png)
com.sun.xml.registry.uddi.bindings_v2_2.Direction Maven / Gradle / Ivy
/*
* Copyright (c) 2007, 2019 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
* version 2 with the GNU Classpath Exception, which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-3010
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2005.11.29 at 04:18:06 PM IST
//
package com.sun.xml.registry.uddi.bindings_v2_2;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import com.sun.xml.registry.uddi.bindings_v2_2.Direction;
/**
* Java class for direction.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="direction">
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="fromKey"/>
* <enumeration value="toKey"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlEnum
public enum Direction {
@XmlEnumValue("fromKey")
FROM_KEY("fromKey"),
@XmlEnumValue("toKey")
TO_KEY("toKey");
private final String value;
Direction(String v) {
value = v;
}
public String value() {
return value;
}
public static Direction fromValue(String v) {
for (Direction c: Direction.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy