com.arjuna.ats.arjuna.tools.osb.mbean.common
Class StateBean

java.lang.Object
  extended by com.arjuna.ats.arjuna.tools.osb.mbean.common.BasicBean
      extended by com.arjuna.ats.arjuna.tools.osb.mbean.common.UidBean
          extended by com.arjuna.ats.arjuna.tools.osb.mbean.common.StateBean
All Implemented Interfaces:
BasicBeanMBean, StateBeanMBean, UidBeanMBean
Direct Known Subclasses:
LogRecordBean, ObjStoreEntryBean

public class StateBean
extends UidBean
implements StateBeanMBean

See Also:
StateBeanMBean

Field Summary
static java.text.DateFormat formatter
           
protected  com.arjuna.ats.arjuna.tools.osb.mbean.common.StateBean.StateManagerInfo info
           
 
Fields inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.common.UidBean
uid
 
Fields inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.common.BasicBean
errorMessages, marked, parent, type
 
Constructor Summary
StateBean(BasicBean parent, ObjectStore store, Uid uid)
           
StateBean(BasicBean parent, java.lang.String type, ObjectStore store, Uid uid)
           
 
Method Summary
 long getAgeInSeconds()
           
 java.lang.String getCreationTime()
           
 java.lang.String getObjectType()
           
 java.lang.String getStatus()
           
 java.lang.String getStoreRoot()
           
 java.lang.String getType()
           
 java.lang.String getUid()
           
 
Methods inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.common.UidBean
getObjectName
 
Methods inherited from class com.arjuna.ats.arjuna.tools.osb.mbean.common.BasicBean
addError, clearErrors, equals, getDescription, getMessages, getParent, hashCode, isMarked, mark, refresh, register, toString, unregister, unregisterDependents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.arjuna.ats.arjuna.tools.osb.mbean.common.BasicBeanMBean
getMessages, refresh
 

Field Detail

formatter

public static final java.text.DateFormat formatter

info

protected com.arjuna.ats.arjuna.tools.osb.mbean.common.StateBean.StateManagerInfo info
Constructor Detail

StateBean

public StateBean(BasicBean parent,
                 ObjectStore store,
                 Uid uid)

StateBean

public StateBean(BasicBean parent,
                 java.lang.String type,
                 ObjectStore store,
                 Uid uid)
Method Detail

getCreationTime

public java.lang.String getCreationTime()
Specified by:
getCreationTime in interface StateBeanMBean

getAgeInSeconds

public long getAgeInSeconds()
Specified by:
getAgeInSeconds in interface StateBeanMBean

getUid

public java.lang.String getUid()
Specified by:
getUid in interface UidBeanMBean
Overrides:
getUid in class UidBean

getStoreRoot

public java.lang.String getStoreRoot()

getType

public java.lang.String getType()
Specified by:
getType in interface BasicBeanMBean
Specified by:
getType in interface UidBeanMBean
Overrides:
getType in class BasicBean

getStatus

public java.lang.String getStatus()
Specified by:
getStatus in interface StateBeanMBean

getObjectType

public java.lang.String getObjectType()
Specified by:
getObjectType in interface StateBeanMBean