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

org.cassandraunit.dataset.xml.Strategy Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.03.31 at 05:13:48 PM CEST 
//


package org.cassandraunit.dataset.xml;

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


/**
 * 

Java class for Strategy. * *

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

*

 * <simpleType name="Strategy">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="org.apache.cassandra.locator.LocalStrategy"/>
 *     <enumeration value="org.apache.cassandra.locator.NetworkTopologyStrategy"/>
 *     <enumeration value="org.apache.cassandra.locator.SimpleStrategy"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "Strategy") @XmlEnum public enum Strategy { @XmlEnumValue("org.apache.cassandra.locator.LocalStrategy") ORG_APACHE_CASSANDRA_LOCATOR_LOCAL_STRATEGY("org.apache.cassandra.locator.LocalStrategy"), @XmlEnumValue("org.apache.cassandra.locator.NetworkTopologyStrategy") ORG_APACHE_CASSANDRA_LOCATOR_NETWORK_TOPOLOGY_STRATEGY("org.apache.cassandra.locator.NetworkTopologyStrategy"), @XmlEnumValue("org.apache.cassandra.locator.SimpleStrategy") ORG_APACHE_CASSANDRA_LOCATOR_SIMPLE_STRATEGY("org.apache.cassandra.locator.SimpleStrategy"); private final String value; Strategy(String v) { value = v; } public String value() { return value; } public static Strategy fromValue(String v) { for (Strategy c: Strategy.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy