fish.focus.schema.exchange.registry.v1.ExchangeRegistryMethod Maven / Gradle / Ivy
package fish.focus.schema.exchange.registry.v1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ExchangeRegistryMethod.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="ExchangeRegistryMethod">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="REGISTER_SERVICE"/>
* <enumeration value="UNREGISTER_SERVICE"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ExchangeRegistryMethod")
@XmlEnum
public enum ExchangeRegistryMethod {
REGISTER_SERVICE,
UNREGISTER_SERVICE;
public String value() {
return name();
}
public static ExchangeRegistryMethod fromValue(String v) {
return valueOf(v);
}
}