com.connecterra.alepc.api
Interface LockOpSpec

All Superinterfaces:
OpSpec
All Known Implementing Classes:
EngineLockOpSpec

public interface LockOpSpec
extends OpSpec

Operation Spec representing a request to set the lock values on a tag. This is modeled very closely after the EPCglobal Class 1 Generation 2 tag lock operation, expecting a mask and a value to apply to the tag.

When acting on a Class 1 Gen 2 tag, the 10 low bits of the "mask" data should match the "Mask" bits in the Lock Command Payload in the lock command (See section 6.3.2.10.3.5 of the EPCglobal Class 1 Gen 2 specification) and the 10 low bits of the "value" should match the "Action" bits in that Payload.

A LockOpSpec is created through the #ALEPCFactory, using the createLockOpSpec method.


Method Summary
 java.net.URI getMask()
          Return the URI representing the value to use for the mask in the lock request.
 java.net.URI getValue()
          Return the URI representing the value to use in the lock request.
 

Method Detail

getMask

public java.net.URI getMask()
Return the URI representing the value to use for the mask in the lock request. This should be an EPC raw URI.

Returns:
the URI representing the value to use for the mask in the lock request

getValue

public java.net.URI getValue()
Return the URI representing the value to use in the lock request. This should be an EPC raw URI.

Returns:
the URI representing the value to use in the lock request