com.connecterra.alepc.api
Interface EPCPatterns

All Known Implementing Classes:
EngineEPCPatterns

public interface EPCPatterns

Simple value object that holds a list of EPC pattern URIs.


Method Summary
 void appendPattern(java.net.URI pattern)
          Appends the given EPC pattern URI to this pattern list.
 void appendPatterns(java.util.List patterns)
          Appends the given EPC pattern URIs to this pattern list.
 java.util.List getPatterns()
          Returns the list of EPC pattern URIs.
 

Method Detail

appendPattern

public void appendPattern(java.net.URI pattern)
                   throws InvalidURIException
Appends the given EPC pattern URI to this pattern list. The ordering of EPC patterns is significant.

Parameters:
pattern - An EPC pattern URI to append.
Throws:
InvalidURIException - if the supplied URI is not a valid EPC pattern.

appendPatterns

public void appendPatterns(java.util.List patterns)
                    throws InvalidURIException
Appends the given EPC pattern URIs to this pattern list.

Parameters:
patterns - A list of EPC pattern URIs to append.
Throws:
InvalidURIException - if a supplied URI is not a valid EPC pattern.

getPatterns

public java.util.List getPatterns()
Returns the list of EPC pattern URIs.

Returns:
A List of URI instances, each of which is an EPC pattern specification.