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

com.sun.xml.ws.tx.at.v10.types.Vote Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
/*
 * Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.ws.tx.at.v10.types;

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


/**
 * 

Java class for Vote. * *

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

*

{@code
 * 
 *   
 *     
 *     
 *     
 *   
 * 
 * }
* */ @XmlType(name = "Vote") @XmlEnum public enum Vote { @XmlEnumValue("VoteCommit") VOTE_COMMIT("VoteCommit"), @XmlEnumValue("VoteRollback") VOTE_ROLLBACK("VoteRollback"), @XmlEnumValue("VoteReadOnly") VOTE_READ_ONLY("VoteReadOnly"); private final String value; Vote(String v) { value = v; } public String value() { return value; } public static Vote fromValue(String v) { for (Vote c: Vote.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy