com.prowidesoftware.swift.model.mx.sys.dic.SharingMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
package com.prowidesoftware.swift.model.mx.sys.dic;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for SharingMode.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="SharingMode">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Exclusive"/>
* <enumeration value="Shared"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "SharingMode")
@XmlEnum
public enum SharingMode {
@XmlEnumValue("Exclusive")
EXCLUSIVE("Exclusive"),
@XmlEnumValue("Shared")
SHARED("Shared");
private final String value;
SharingMode(String v) {
value = v;
}
public String value() {
return value;
}
public static SharingMode fromValue(String v) {
for (SharingMode c: SharingMode.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy