|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PatternType> org.fosstrak.ale.server.PatternType
public enum PatternType
This enumeration defines the possible pattern types.
Enum Constant Summary | |
---|---|
GID_96
|
|
SGTIN_64
|
|
SSCC_64
|
Method Summary | |
---|---|
int |
getNumberOfDatafields()
This method returns the number of data fields the pattern type has. |
static PatternType |
getType(java.lang.String type)
This method returns the pattern type of a types string represenation. |
java.lang.String |
toSring()
This method returns a string representation of the pattern type. |
static PatternType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PatternType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PatternType GID_96
public static final PatternType SGTIN_64
public static final PatternType SSCC_64
Method Detail |
---|
public static PatternType[] values()
for (PatternType c : PatternType.values()) System.out.println(c);
public static PatternType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static PatternType getType(java.lang.String type) throws org.fosstrak.ale.wsdl.ale.epcglobal.ECSpecValidationExceptionResponse
type
- string representation of the type
org.fosstrak.ale.wsdl.ale.epcglobal.ECSpecValidationException
- if the string representation is invalid
org.fosstrak.ale.wsdl.ale.epcglobal.ECSpecValidationExceptionResponse
public int getNumberOfDatafields()
public java.lang.String toSring()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |