Package acdp.design
Enum ST.OutrowStringLength
- All Implemented Interfaces:
Serializable
,Comparable<ST.OutrowStringLength>
,java.lang.constant.Constable
- Enclosing class:
ST
Defines the constants used to indicate the maximum number of characters
of an outrow string.
- SMALL: 255
- MEDIUM: 65 535
- LARGE: 16 777 215
- GIANT: 4 294 967 295
- Author:
- Beat Hörmann
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfinal int
limit()
Returns the limit.static ST.OutrowStringLength
Returns the enum constant of this type with the specified name.static ST.OutrowStringLength[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SMALL
Maximum outrow string length: 255 characters. Depending on the character set of the string the maximum number of characters may be less. -
MEDIUM
Maximum outrow string length: 65 535 characters. Depending on the character set of the string the maximum number of characters may be less. -
LARGE
Maximum outrow string length: 16 777 215 characters. Depending on the character set of the string the maximum number of characters may be less. -
GIANT
Maximum outrow string length: 4 294 967 295 characters. Depending on the character set of the string the maximum number of characters may be less.
-
-
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
-
limit
public final int limit()Returns the limit. The limit of a string type is connected to the maximum number of characters of a string value as explained in the description of theStringType
interface.- Returns:
- The limit.
-