pops.ale.epc.spec.grouping
Class UriRepresentation
java.lang.Object
pops.ale.epc.spec.grouping.UriRepresentation
public class UriRepresentation
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EPC_PURE
public static final UriRepresentation EPC_PURE
EPC_TAG
public static final UriRepresentation EPC_TAG
EPC_RAW
public static final UriRepresentation EPC_RAW
EPC_PAT_PURE
public static final UriRepresentation EPC_PAT_PURE
EPC_PAT_TAG
public static final UriRepresentation EPC_PAT_TAG
UriRepresentation
protected UriRepresentation(java.lang.String header)
- Constructor
- Parameters:
id
- unique id of objectscheme
- representation
getUriRepresentation
public static UriRepresentation getUriRepresentation(java.lang.String header,
boolean isPattern)
- Parameters:
header
- a string representation for the uri header: ex. "urn:epc:pat"isPattern
- boolean indicating if the header is of pattern or not
- Returns:
- the Encoding scheme object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object anObject)
- equals implementation. For testing equality against a string containing
the scheme (ex. sgtin-96).
- Overrides:
equals
in class java.lang.Object