Enum Class Payload.Sgtin96Representation
- All Implemented Interfaces:
Payload.Representation
,Serializable
,Comparable<Payload.Sgtin96Representation>
,Constable
- Enclosing class:
- Payload
Sgtin96Representation contains specialized representations for accessing data within SGTIN 96
codes. These codes usually come from Digimarc product watermarks, although they may be
found within some barcodes. Note that the SGTIN 96 data always includes a GTIN 14 identifier
within it, so all SGTIN 96 codes will have a Payload.BasicRepresentation.GTIN_14
representation
available.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
Deprecated.getName()
Deprecated.Deprecated.Returns the enum constant of this class with the specified name.static Payload.Sgtin96Representation[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SGTIN96_Std_Format
Deprecated.This representation is deprecated. The data is not available outside of the representation, although it can be assembled from the other Sgtin96 AIs if so desired. This value was intended as a special purpose display string and was not needed otherwise.Standard Format Representation contains data from an SGTIN 96 code in what is referred to as Standard Format. The value will contain a string with the following format:
[Company Prefix].[Indicator Digit][Item Reference].[SerialNumber]
Type:
String
-
SGTIN96_CompanyPrefix
Deprecated.This representation is deprecated. The data is a subfield within the GTIN value and can be parsed out if required.Company Prefix Representation contains the company prefix from the SGTIN 96 code. Each registered company gets its own item reference number space.
Type:
String
-
SGTIN96_SerialNumber
Deprecated.This representation is deprecated. The value corresponds to GS1 AI 21 and can be retrieved using thePayload.getGS1Data()
method.Serial Number Representation contains a unique serial number from the SGTIN 96 code for a single instance of an item.
Type:
String
-
SGTIN96_ItemReference
Deprecated.This representation is deprecated. The data is a subfield within the GTIN value and can be parsed out if required.Item Reference Representation contains a product identifier from the SGTIN 96 code. This identifier is within this company's number space and is typically associated with a product type or model.
Type:
String
-
SGTIN96_Indicator
Deprecated.This representation is deprecated. The data is a subfield within the GTIN value and can be parsed out if required.Indicator Digit Representation contains a single digit character string from the SGTIN 96 code.
Type:
String
-
SGTIN_96_FilterValue
Deprecated.This representation is deprecated. The data is a subfield within the GTIN value and can be parsed out if required.Filter Value Representation contains a single digit character string from the SGTIN 96 code. The filter value is actually a 3 bit field and will be returned as a decimal digit or 0 if the field is not present in the SGTIN 96.
Type:
String
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Deprecated.- Specified by:
getName
in interfacePayload.Representation
-
getId
public int getId()Deprecated.- Specified by:
getId
in interfacePayload.Representation
-