org.oasisopen.odata.csdl.v4.TOnDeleteAction Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.05.30 at 11:47:00 AM UTC
//
package org.oasisopen.odata.csdl.v4;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for TOnDeleteAction.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="TOnDeleteAction">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="Cascade"/>
* <enumeration value="None"/>
* <enumeration value="SetDefault"/>
* <enumeration value="SetNull"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "TOnDeleteAction")
@XmlEnum
public enum TOnDeleteAction {
@XmlEnumValue("Cascade")
CASCADE("Cascade"),
@XmlEnumValue("None")
NONE("None"),
@XmlEnumValue("SetDefault")
SET_DEFAULT("SetDefault"),
@XmlEnumValue("SetNull")
SET_NULL("SetNull");
private final String value;
TOnDeleteAction(String v) {
value = v;
}
public String value() {
return value;
}
public static TOnDeleteAction fromValue(String v) {
for (TOnDeleteAction c: TOnDeleteAction.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy