Enum Class ColumnType
- All Implemented Interfaces:
Serializable,Comparable<ColumnType>,Constable
Specifies the relational storage type for the property.
Rose conversion note: Corresponds to Class Attribute Specification -> Windchill -> ColumnType.
Supported API: true
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMaps the property to a database blob.Maps the property to both aBLOBandSMALL_BLOB, storing the data in either column depending on whether or not the value will fit in theSMALL_BLOB.Maps the property to a number column backed by a database sequence specific to the column.Maps the property as though it were a blob (storing its content using serialization) but stores it as a string, limiting its storage to the number of bytes supported by the database's string column.Maps the property's type to the analogous SQL type. -
Method Summary
-
Enum Constant Details
-
USE_DEFAULT_MAPPING
Maps the property's type to the analogous SQL type. For example, maps aStringto aVARCHAR2/NVARCHAR(forOracle/SQL Server).Rose conversion note: Corresponds to
<Use Default Mapping>.Supported API: true
-
BLOB
Maps the property to a database blob.Rose conversion note: Corresponds to
BLOB.Supported API: true
-
INLINE_BLOB
Maps the property to both aBLOBandSMALL_BLOB, storing the data in either column depending on whether or not the value will fit in theSMALL_BLOB.Rose conversion note: Corresponds to
INLINEBLOB.Supported API: true
-
SMALL_BLOB
Maps the property as though it were a blob (storing its content using serialization) but stores it as a string, limiting its storage to the number of bytes supported by the database's string column.Rose conversion note: Corresponds to
SMALLBLOB.Supported API: true
-
SEQUENCE
Maps the property to a number column backed by a database sequence specific to the column. The column will be automatically assigned to the next sequence value when the owning object is stored.Notes:
- Properties of type
SEQUENCEare frozen (non-modifiable) - The sequence that's created starts at
1and increments by1invalid input: '<'/code - The value isn't guaranteed to increase monotonically, as Oracle, in particular, caches
a pool of numbers (with a default pool size of
20) and, conesequently, may skip numbers - The number is assigned in the database and does not come back with the object -- if you store an object with a sequence attribute, you will need to refresh it if you wish to access the stored value for the property.
Rose conversion note: Corresponds to
SEQUENCE.Supported API: true
- Properties of type
-