com.sun.mfwk.cib.states
Interface CIBState

All Superinterfaces:
CIBProvider
All Known Subinterfaces:
CIBAvailabilityStatusState, CIBOperationalStatusState

public interface CIBState
extends CIBProvider

Provides methods that should be implemented by a CIBState object


Method Summary
 long getLastChange()
          Returns the time the last change of the state occurred
 int getState()
          Returns the state
 java.lang.String toStateString()
          Returns the state into a String format
 
Methods inherited from interface com.sun.mfwk.cib.providers.CIBProvider
destroy, init
 

Method Detail

getLastChange

public long getLastChange()
                   throws CIBIOException,
                          CIBAttributeNotFoundException
Returns the time the last change of the state occurred

Returns:
long
Throws:
CIBIOException
CIBAttributeNotFoundException

getState

public int getState()
             throws CIBIOException,
                    CIBAttributeNotFoundException
Returns the state

Returns:
int
Throws:
CIBIOException
CIBAttributeNotFoundException

toStateString

public java.lang.String toStateString()
                               throws CIBIOException,
                                      CIBAttributeNotFoundException
Returns the state into a String format

Returns:
String
Throws:
CIBIOException
CIBAttributeNotFoundException