Enum ScalarDatabaseTypeEnum
java.lang.Object
java.lang.Enum<ScalarDatabaseTypeEnum>
org.eclipse.persistence.tools.oracleddl.metadata.ScalarDatabaseTypeEnum
- All Implemented Interfaces:
Serializable
,Comparable<ScalarDatabaseTypeEnum>
,java.lang.constant.Constable
,DatabaseType
,DatabaseTypeCompositeTestable
,DatabaseTypeScalarTestable
,ScalarDatabaseType
,DatabaseTypeVisitable
public enum ScalarDatabaseTypeEnum
extends Enum<ScalarDatabaseTypeEnum>
implements ScalarDatabaseType, DatabaseTypeVisitable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(DatabaseTypeVisitor visitor) boolean
Indicates ArgumentType instanceboolean
Indicates BinaryType instanceboolean
Indicates BlobType instanceboolean
Indicates CharType instanceboolean
Indicates ClobType instanceboolean
boolean
Indicates DbTableType instanceboolean
Indicates DecimalType instanceboolean
Indicates DoubleType instanceboolean
Indicates FieldType instanceboolean
Indicates FloatType instanceboolean
boolean
Indicates IntervalDayToSecond instanceboolean
Indicates IntervalYearToMonth instanceboolean
Indicates LongRawType instanceboolean
Indicates Long instanceboolean
Indicates NCharType instanceboolean
Indicates NClobType instanceboolean
Indicates NumericType instanceboolean
Indicates NVarChar2Type instanceboolean
Indicates ObjectTableType instanceboolean
Indicates ObjectType instanceboolean
Indicates PLSQLCollectionType instanceboolean
Indicates PLSQLPLSQLCursorType instanceboolean
Indicates PLSQLRecordType instanceboolean
Indicates PLSQLSubType instanceboolean
Indicates PLSQLType instanceboolean
Indicates PrecisionType instanceboolean
boolean
Indicates RawType instanceboolean
Indicates RealType instanceboolean
boolean
Indicates ROWTYPEType instanceboolean
isScalar()
boolean
Indicates SizedType instanceboolean
Indicates TableType instanceboolean
Indicates TimeStampType instanceboolean
Indicates TYPEType instanceboolean
Indicates URowIdType instanceboolean
Indicates VarChar2Type instanceboolean
Indicates VarCharType instanceboolean
Indicates VArrayType instanceboolean
void
setTypeName
(String typeName) toString()
static ScalarDatabaseTypeEnum
Returns the enum constant of this type with the specified name.static ScalarDatabaseTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BFILE_TYPE
-
BIGINT_TYPE
-
BINARY_DOUBLE_TYPE
-
BINARY_FLOAT_TYPE
-
BINARY_INTEGER_TYPE
-
BIT_TYPE
-
BOOLEAN_TYPE
-
DATALINK_TYPE
-
DATE_TYPE
-
INTEGER_TYPE
-
LONGVARBINARY_TYPE
-
LONGVARCHAR_TYPE
-
MLSLABEL_TYPE
-
NATURAL_TYPE
-
PLS_INTEGER_TYPE
-
POSITIVE_TYPE
-
ROWID_TYPE
-
SIGN_TYPE
-
SIMPLE_INTEGER_TYPE
-
SIMPLE_DOUBLE_TYPE
-
SIMPLE_FLOAT_TYPE
-
SYS_REFCURSOR_TYPE
-
SMALLINT_TYPE
-
TIME_TYPE
-
NULL_TYPE
-
XMLTYPE_TYPE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTypeName
- Specified by:
getTypeName
in interfaceDatabaseType
-
setTypeName
- Specified by:
setTypeName
in interfaceDatabaseType
-
isComposite
public boolean isComposite()- Specified by:
isComposite
in interfaceDatabaseTypeCompositeTestable
-
isResolved
public boolean isResolved()- Specified by:
isResolved
in interfaceDatabaseType
-
accept
- Specified by:
accept
in interfaceDatabaseType
- Specified by:
accept
in interfaceDatabaseTypeVisitable
-
shortName
- Specified by:
shortName
in interfaceDatabaseType
-
isScalar
public boolean isScalar()- Specified by:
isScalar
in interfaceDatabaseTypeScalarTestable
-
isIntervalDayToSecond
public boolean isIntervalDayToSecond()Description copied from interface:DatabaseTypeScalarTestable
Indicates IntervalDayToSecond instance- Specified by:
isIntervalDayToSecond
in interfaceDatabaseTypeScalarTestable
-
isIntervalYearToMonth
public boolean isIntervalYearToMonth()Description copied from interface:DatabaseTypeScalarTestable
Indicates IntervalYearToMonth instance- Specified by:
isIntervalYearToMonth
in interfaceDatabaseTypeScalarTestable
-
isPrecisionType
public boolean isPrecisionType()Description copied from interface:DatabaseTypeScalarTestable
Indicates PrecisionType instance- Specified by:
isPrecisionType
in interfaceDatabaseTypeScalarTestable
-
isDecimalType
public boolean isDecimalType()Description copied from interface:DatabaseTypeScalarTestable
Indicates DecimalType instance- Specified by:
isDecimalType
in interfaceDatabaseTypeScalarTestable
-
isDoubleType
public boolean isDoubleType()Description copied from interface:DatabaseTypeScalarTestable
Indicates DoubleType instance- Specified by:
isDoubleType
in interfaceDatabaseTypeScalarTestable
-
isFloatType
public boolean isFloatType()Description copied from interface:DatabaseTypeScalarTestable
Indicates FloatType instance- Specified by:
isFloatType
in interfaceDatabaseTypeScalarTestable
-
isNumericType
public boolean isNumericType()Description copied from interface:DatabaseTypeScalarTestable
Indicates NumericType instance- Specified by:
isNumericType
in interfaceDatabaseTypeScalarTestable
-
isRealType
public boolean isRealType()Description copied from interface:DatabaseTypeScalarTestable
Indicates RealType instance- Specified by:
isRealType
in interfaceDatabaseTypeScalarTestable
-
isSizedType
public boolean isSizedType()Description copied from interface:DatabaseTypeScalarTestable
Indicates SizedType instance- Specified by:
isSizedType
in interfaceDatabaseTypeScalarTestable
-
isBinaryType
public boolean isBinaryType()Description copied from interface:DatabaseTypeScalarTestable
Indicates BinaryType instance- Specified by:
isBinaryType
in interfaceDatabaseTypeScalarTestable
-
isBlobType
public boolean isBlobType()Description copied from interface:DatabaseTypeScalarTestable
Indicates BlobType instance- Specified by:
isBlobType
in interfaceDatabaseTypeScalarTestable
-
isLongRawType
public boolean isLongRawType()Description copied from interface:DatabaseTypeScalarTestable
Indicates LongRawType instance- Specified by:
isLongRawType
in interfaceDatabaseTypeScalarTestable
-
isRawType
public boolean isRawType()Description copied from interface:DatabaseTypeScalarTestable
Indicates RawType instance- Specified by:
isRawType
in interfaceDatabaseTypeScalarTestable
-
isCharType
public boolean isCharType()Description copied from interface:DatabaseTypeScalarTestable
Indicates CharType instance- Specified by:
isCharType
in interfaceDatabaseTypeScalarTestable
-
isNCharType
public boolean isNCharType()Description copied from interface:DatabaseTypeScalarTestable
Indicates NCharType instance- Specified by:
isNCharType
in interfaceDatabaseTypeScalarTestable
-
isClobType
public boolean isClobType()Description copied from interface:DatabaseTypeScalarTestable
Indicates ClobType instance- Specified by:
isClobType
in interfaceDatabaseTypeScalarTestable
-
isNClobType
public boolean isNClobType()Description copied from interface:DatabaseTypeScalarTestable
Indicates NClobType instance- Specified by:
isNClobType
in interfaceDatabaseTypeScalarTestable
-
isTimeStampType
public boolean isTimeStampType()Description copied from interface:DatabaseTypeScalarTestable
Indicates TimeStampType instance- Specified by:
isTimeStampType
in interfaceDatabaseTypeScalarTestable
-
isURowIdType
public boolean isURowIdType()Description copied from interface:DatabaseTypeScalarTestable
Indicates URowIdType instance- Specified by:
isURowIdType
in interfaceDatabaseTypeScalarTestable
-
isVarCharType
public boolean isVarCharType()Description copied from interface:DatabaseTypeScalarTestable
Indicates VarCharType instance- Specified by:
isVarCharType
in interfaceDatabaseTypeScalarTestable
-
isVarChar2Type
public boolean isVarChar2Type()Description copied from interface:DatabaseTypeScalarTestable
Indicates VarChar2Type instance- Specified by:
isVarChar2Type
in interfaceDatabaseTypeScalarTestable
-
isLongType
public boolean isLongType()Description copied from interface:DatabaseTypeScalarTestable
Indicates Long instance- Specified by:
isLongType
in interfaceDatabaseTypeScalarTestable
-
isNVarChar2Type
public boolean isNVarChar2Type()Description copied from interface:DatabaseTypeScalarTestable
Indicates NVarChar2Type instance- Specified by:
isNVarChar2Type
in interfaceDatabaseTypeScalarTestable
-
isFieldType
public boolean isFieldType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates FieldType instance- Specified by:
isFieldType
in interfaceDatabaseTypeCompositeTestable
-
isArgumentType
public boolean isArgumentType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates ArgumentType instance- Specified by:
isArgumentType
in interfaceDatabaseTypeCompositeTestable
-
isROWTYPEType
public boolean isROWTYPEType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates ROWTYPEType instance- Specified by:
isROWTYPEType
in interfaceDatabaseTypeCompositeTestable
-
isTYPEType
public boolean isTYPEType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates TYPEType instance- Specified by:
isTYPEType
in interfaceDatabaseTypeCompositeTestable
-
isObjectTableType
public boolean isObjectTableType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates ObjectTableType instance- Specified by:
isObjectTableType
in interfaceDatabaseTypeCompositeTestable
-
isObjectType
public boolean isObjectType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates ObjectType instance- Specified by:
isObjectType
in interfaceDatabaseTypeCompositeTestable
-
isPLSQLType
public boolean isPLSQLType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates PLSQLType instance- Specified by:
isPLSQLType
in interfaceDatabaseTypeCompositeTestable
-
isPLSQLCollectionType
public boolean isPLSQLCollectionType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates PLSQLCollectionType instance- Specified by:
isPLSQLCollectionType
in interfaceDatabaseTypeCompositeTestable
-
isPLSQLCursorType
public boolean isPLSQLCursorType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates PLSQLPLSQLCursorType instance- Specified by:
isPLSQLCursorType
in interfaceDatabaseTypeCompositeTestable
-
isPLSQLRecordType
public boolean isPLSQLRecordType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates PLSQLRecordType instance- Specified by:
isPLSQLRecordType
in interfaceDatabaseTypeCompositeTestable
-
isPLSQLSubType
public boolean isPLSQLSubType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates PLSQLSubType instance- Specified by:
isPLSQLSubType
in interfaceDatabaseTypeCompositeTestable
-
isTableType
public boolean isTableType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates TableType instance- Specified by:
isTableType
in interfaceDatabaseTypeCompositeTestable
-
isDbTableType
public boolean isDbTableType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates DbTableType instance- Specified by:
isDbTableType
in interfaceDatabaseTypeCompositeTestable
-
isVArrayType
public boolean isVArrayType()Description copied from interface:DatabaseTypeCompositeTestable
Indicates VArrayType instance- Specified by:
isVArrayType
in interfaceDatabaseTypeCompositeTestable
-
isProcedureType
public boolean isProcedureType()- Specified by:
isProcedureType
in interfaceDatabaseTypeCompositeTestable
-
isFunctionType
public boolean isFunctionType()- Specified by:
isFunctionType
in interfaceDatabaseTypeCompositeTestable
-
isXMLTYPEType
public boolean isXMLTYPEType() -
toString
- Overrides:
toString
in classEnum<ScalarDatabaseTypeEnum>
-