com.connecterra.ale.reader.access
Class WriteLiteralDeviceOpSpec
java.lang.Object
com.connecterra.ale.reader.access.DeviceOpSpec
com.connecterra.ale.reader.access.WriteDeviceOpSpec
com.connecterra.ale.reader.access.WriteLiteralDeviceOpSpec
public class WriteLiteralDeviceOpSpec
- extends WriteDeviceOpSpec
Operate on a tag by writing a literal value to a given memory bank.
getData
public long[] getData()
- Returns:
- a
long[] value which contains the value to
be written.
extractData
protected long[] extractData(URI uri)
throws com.connecterra.ale.reader.access.DeviceUnitRequestException
- Obtain the raw bits to be written to the tag from a tag URI.
- Parameters:
uri - an URI value
- Returns:
- the
long[] value to be written
- Throws:
DeviceUnitRequestException - if an error occurs
hashCode
public int hashCode()
- Overrides:
hashCode in class WriteDeviceOpSpec
equals
public boolean equals(Object other)
- Specified by:
equals in class DeviceOpSpec