redora.configuration.rdo.model.fields.RedoraConfigurationFields Maven / Gradle / Ivy
/*
* DO NOT CHANGE THIS FILE. Changes will be overwritten.
* -----------------------------------------------------
* This file is generated by Redora (www.redora.net) a source code generator.
* Copyright to this file belongs to You: the person or organization who has
* used Redora to generate this file.
* Redora is released under the open source Apache License, but this generated code
* can be released under any license or stay unreleased, as wished by the copyright
* owner.
*
* Unless required by applicable law or agreed to in writing, this software
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
* , either express or implied.
*/
package redora.configuration.rdo.model.fields;
/**
* A list of tall the attributes of RedoraConfiguration and their corresponding java.sql.Types value.
* To make his enum portable to GWT, the numeric value of Types is used, here is the legend:
* Types.INTEGER 4
* Types.BIGINT -5
* Types.DATE 91
* Types.BOOLEAN 16
* Types.CHAR 1
* Types.LONGVARCHAR -1
* Types.VARCHAR 12
* Types.DOUBLE 8
* @author Redora
* @see java.sql.Types
*/
public enum RedoraConfigurationFields {
id(-5)
,creationDate(91)
,updateDate(91)
/** Filename of the script, without path but with file extension (.sql) */
,scriptName(12)
,status(1)
/** If the script produces errors, the error message is stored here. */
,output(12)
;
public int sqlType;
private RedoraConfigurationFields(int sqlType) {
this.sqlType = sqlType;
}
/**
* @return Null, or the result of valueOf()
*/
public static RedoraConfigurationFields valueOfNullSafe(String value) {
if (value != null) {
return valueOf(value);
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy