org.hibernate.boot.jaxb.cfg.spi.JaxbCfgEventTypeEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.04.30 at 01:51:01 PM PDT
//
package org.hibernate.boot.jaxb.cfg.spi;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for EventTypeEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="EventTypeEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="auto-flush"/>
* <enumeration value="create"/>
* <enumeration value="create-onflush"/>
* <enumeration value="delete"/>
* <enumeration value="dirty-check"/>
* <enumeration value="evict"/>
* <enumeration value="flush"/>
* <enumeration value="flush-entity"/>
* <enumeration value="load"/>
* <enumeration value="load-collection"/>
* <enumeration value="lock"/>
* <enumeration value="merge"/>
* <enumeration value="post-collection-recreate"/>
* <enumeration value="post-collection-remove"/>
* <enumeration value="post-collection-update"/>
* <enumeration value="post-commit-delete"/>
* <enumeration value="post-commit-insert"/>
* <enumeration value="post-commit-update"/>
* <enumeration value="post-delete"/>
* <enumeration value="post-insert"/>
* <enumeration value="post-load"/>
* <enumeration value="post-update"/>
* <enumeration value="pre-collection-recreate"/>
* <enumeration value="pre-collection-remove"/>
* <enumeration value="pre-collection-update"/>
* <enumeration value="pre-delete"/>
* <enumeration value="pre-insert"/>
* <enumeration value="pre-load"/>
* <enumeration value="pre-update"/>
* <enumeration value="refresh"/>
* <enumeration value="replicate"/>
* <enumeration value="save"/>
* <enumeration value="save-update"/>
* <enumeration value="update"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "EventTypeEnum", namespace = "http://www.hibernate.org/xsd/orm/cfg")
@XmlEnum
public enum JaxbCfgEventTypeEnum {
@XmlEnumValue("auto-flush")
AUTO_FLUSH("auto-flush"),
@XmlEnumValue("create")
CREATE("create"),
@XmlEnumValue("create-onflush")
CREATE_ONFLUSH("create-onflush"),
@XmlEnumValue("delete")
DELETE("delete"),
@XmlEnumValue("dirty-check")
DIRTY_CHECK("dirty-check"),
@XmlEnumValue("evict")
EVICT("evict"),
@XmlEnumValue("flush")
FLUSH("flush"),
@XmlEnumValue("flush-entity")
FLUSH_ENTITY("flush-entity"),
@XmlEnumValue("load")
LOAD("load"),
@XmlEnumValue("load-collection")
LOAD_COLLECTION("load-collection"),
@XmlEnumValue("lock")
LOCK("lock"),
@XmlEnumValue("merge")
MERGE("merge"),
@XmlEnumValue("post-collection-recreate")
POST_COLLECTION_RECREATE("post-collection-recreate"),
@XmlEnumValue("post-collection-remove")
POST_COLLECTION_REMOVE("post-collection-remove"),
@XmlEnumValue("post-collection-update")
POST_COLLECTION_UPDATE("post-collection-update"),
@XmlEnumValue("post-commit-delete")
POST_COMMIT_DELETE("post-commit-delete"),
@XmlEnumValue("post-commit-insert")
POST_COMMIT_INSERT("post-commit-insert"),
@XmlEnumValue("post-commit-update")
POST_COMMIT_UPDATE("post-commit-update"),
@XmlEnumValue("post-delete")
POST_DELETE("post-delete"),
@XmlEnumValue("post-insert")
POST_INSERT("post-insert"),
@XmlEnumValue("post-load")
POST_LOAD("post-load"),
@XmlEnumValue("post-update")
POST_UPDATE("post-update"),
@XmlEnumValue("pre-collection-recreate")
PRE_COLLECTION_RECREATE("pre-collection-recreate"),
@XmlEnumValue("pre-collection-remove")
PRE_COLLECTION_REMOVE("pre-collection-remove"),
@XmlEnumValue("pre-collection-update")
PRE_COLLECTION_UPDATE("pre-collection-update"),
@XmlEnumValue("pre-delete")
PRE_DELETE("pre-delete"),
@XmlEnumValue("pre-insert")
PRE_INSERT("pre-insert"),
@XmlEnumValue("pre-load")
PRE_LOAD("pre-load"),
@XmlEnumValue("pre-update")
PRE_UPDATE("pre-update"),
@XmlEnumValue("refresh")
REFRESH("refresh"),
@XmlEnumValue("replicate")
REPLICATE("replicate"),
@XmlEnumValue("save")
SAVE("save"),
@XmlEnumValue("save-update")
SAVE_UPDATE("save-update"),
@XmlEnumValue("update")
UPDATE("update");
private final String value;
JaxbCfgEventTypeEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static JaxbCfgEventTypeEnum fromValue(String v) {
for (JaxbCfgEventTypeEnum c: JaxbCfgEventTypeEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}