com.sap.ip.me.api.pios.symbology
Class UCCEAN128

java.lang.Object
  extended bycom.sap.ip.me.api.pios.symbology.Symbology
      extended bycom.sap.ip.me.api.pios.symbology.SymbologyLinear
          extended bycom.sap.ip.me.api.pios.symbology.UCCEAN128

public final class UCCEAN128
extends SymbologyLinear

Represents the UCC/EAN 128 Symbology.

UCC/EAN uses special Code 128 characters to denote shipping information within the code. It is designed to identify a shipping package or container anywhere in the world.

Aliases:
UCC-128, EAN-128
Code Type:
Continuous
Character Set:
All ASCII and extended ASCII characters plus 4 non-data function characters
Check Character:
Mandatory
Barcode Example:
     UCC/EAN 128 Sample

The following options can be set for this symbology:

Example: Create a UCCEAN128 symbology for the printer.
 
 	...
 	UCCEAN128 uccean128 = new UCCEAN128();
	...
 
 

Since:
MI 2.5
Author:
Abaco

Field Summary
 
Fields inherited from class com.sap.ip.me.api.pios.symbology.Symbology
options
 
Constructor Summary
UCCEAN128()
          Constructs a new UCCEAN128 object.
UCCEAN128(long options)
          Constructs a new UCCEAN128 object with the symbology options provided.
 
Method Summary
 java.lang.String getName()
          Returns the symbology name.
 int getType()
          Returns the symbology type.
 void setOptions(long options)
          Sets the configured options for the symbology.
 
Methods inherited from class com.sap.ip.me.api.pios.symbology.Symbology
getOptions, validateOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UCCEAN128

public UCCEAN128()
Constructs a new UCCEAN128 object.


UCCEAN128

public UCCEAN128(long options)
          throws InvalidSymbologyException
Constructs a new UCCEAN128 object with the symbology options provided.

The options value is either one of the option constants defined by this class, or must be built by bitwise OR'ing together (that is, using the long "|" operator) two or more of those option constants.

Parameters:
options - the symbology options mask
Throws:
InvalidSymbologyException - thrown if the received options are invalid for this symbology
Method Detail

getName

public java.lang.String getName()
Returns the symbology name.

Specified by:
getName in class Symbology
Returns:
The name of the symbology.

getType

public int getType()
Returns the symbology type.

Specified by:
getType in class Symbology
Returns:
The type of the symbology.
See Also:
SymbologyType

setOptions

public void setOptions(long options)
                throws InvalidSymbologyException
Sets the configured options for the symbology.

Specified by:
setOptions in class Symbology
Parameters:
options - the symbology options mask
Throws:
InvalidSymbologyException - thrown if the received options are invalid for this symbology


Copyright © 2005 SAP AG. All Rights Reserved.