com.ibm.pim.attribute
Interface Sequence


public interface Sequence

Interface for the Sequence object. Provides methods to get the sequence values for the containers.

Since:
6.0.0

Method Summary
 int getCurrentValue()
          Gets the current sequence value associated to the attribute definition.
 int getNextValue()
          Gets the next sequence value associated to the attribute definition.
 

Method Detail

getCurrentValue

int getCurrentValue()
Gets the current sequence value associated to the attribute definition.

Returns:
the current sequence value. If sequence not set it will return -1.

getNextValue

int getNextValue()
Gets the next sequence value associated to the attribute definition.

Returns:
the next sequence value. If sequence not set it will return 1.