com.connecterra.alepc.api
Interface AccessSpec

All Known Implementing Classes:
EngineAccessSpec, ImmutableAccessSpec

public interface AccessSpec

A specification for a series of operations to perform on each tag in the field during a programming cycle.


Method Summary
 void addOpSpec(OpSpec opSpec)
          Add an operation spec to the end of the list associated with this access spec.
 java.lang.String getName()
          Return the name of this AccessSpec.
 java.util.List getOpSpecs()
          Get the list of OpSpecs in this AccessSpec.
 boolean getStopOnError()
           
 void setName(java.lang.String name)
          Set the name of this AccessSpec.
 void setOpSpecs(java.util.List opSpecs)
          Set the list of OpSpecs in this AccessSpec.
 void setStopOnError(boolean stopOnError)
          Sets the stopOnError flag for this access spec.
 

Method Detail

getName

public java.lang.String getName()
Return the name of this AccessSpec. This is used to associate the spec with the correct AccessReport in the PCWriteReport.

Returns:
the name of this AccessSpec

setName

public void setName(java.lang.String name)
Set the name of this AccessSpec. This is used to associate the spec with the correct AccessReport in the PCWriteReport.


getOpSpecs

public java.util.List getOpSpecs()
Get the list of OpSpecs in this AccessSpec. Each of these is an OpSpec object that represents an operation that should be performed on each tag in field.

Returns:
the list of OpSpecs this AccessSpec performs.

setOpSpecs

public void setOpSpecs(java.util.List opSpecs)
Set the list of OpSpecs in this AccessSpec.

Parameters:
opSpecs - the List of operation specs this access spec should perform
See Also:
getOpSpecs

addOpSpec

public void addOpSpec(OpSpec opSpec)
Add an operation spec to the end of the list associated with this access spec.

Parameters:
opSpec - the operation spec to add to the end of the list
See Also:
getOpSpecs

getStopOnError

public boolean getStopOnError()
Returns:
true if this access spec should attempt to stop processing operations when it encounters an error

setStopOnError

public void setStopOnError(boolean stopOnError)
Sets the stopOnError flag for this access spec. If stopOnError is true, an access spec attempts to stop processing operations when it encounters an error

Parameters:
stopOnError - the new value for the Access Spec's stopOnError flag