uk.co.petertribble.solview.explorer
Class SysItem

java.lang.Object
  extended by uk.co.petertribble.solview.explorer.SysItem

public class SysItem
extends java.lang.Object


Field Summary
static int CPU
           
static int CPU_CONTAINER
           
static int CPU_CORE
           
static int CPU_THREAD
           
static int DISK
           
static int DISK_CONTAINER
           
static int DISK_META_CONTAINER
           
static int DISK_METADEVICE
           
static int DISK_PARTITION
           
static int FS_CONTAINER
           
static int FS_FSSTAT
           
static int LABEL
           
static int MEM_ARCSTAT
           
static int MEM_CONTAINER
           
static int MEM_KMEM
           
static int NET_CONTAINER
           
static int NET_INTERFACE
           
static int NET_PROTO_IP
           
static int NET_PROTO_TCP
           
static int NET_PROTO_UDP
           
static int NET_PROTOCOL
           
 
Constructor Summary
SysItem(int type)
          A container for a hardware item.
SysItem(int type, int instance)
          A container for a hardware item.
 
Method Summary
 void addAttribute(java.lang.String key, java.lang.Object value)
           
 java.lang.Object getAttribute(java.lang.String key)
           
 int getInstance()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL

public static final int LABEL
See Also:
Constant Field Values

CPU_CONTAINER

public static final int CPU_CONTAINER
See Also:
Constant Field Values

CPU

public static final int CPU
See Also:
Constant Field Values

CPU_CORE

public static final int CPU_CORE
See Also:
Constant Field Values

CPU_THREAD

public static final int CPU_THREAD
See Also:
Constant Field Values

DISK_CONTAINER

public static final int DISK_CONTAINER
See Also:
Constant Field Values

DISK

public static final int DISK
See Also:
Constant Field Values

DISK_PARTITION

public static final int DISK_PARTITION
See Also:
Constant Field Values

DISK_METADEVICE

public static final int DISK_METADEVICE
See Also:
Constant Field Values

DISK_META_CONTAINER

public static final int DISK_META_CONTAINER
See Also:
Constant Field Values

NET_CONTAINER

public static final int NET_CONTAINER
See Also:
Constant Field Values

NET_INTERFACE

public static final int NET_INTERFACE
See Also:
Constant Field Values

NET_PROTOCOL

public static final int NET_PROTOCOL
See Also:
Constant Field Values

NET_PROTO_IP

public static final int NET_PROTO_IP
See Also:
Constant Field Values

NET_PROTO_TCP

public static final int NET_PROTO_TCP
See Also:
Constant Field Values

NET_PROTO_UDP

public static final int NET_PROTO_UDP
See Also:
Constant Field Values

MEM_CONTAINER

public static final int MEM_CONTAINER
See Also:
Constant Field Values

MEM_KMEM

public static final int MEM_KMEM
See Also:
Constant Field Values

MEM_ARCSTAT

public static final int MEM_ARCSTAT
See Also:
Constant Field Values

FS_CONTAINER

public static final int FS_CONTAINER
See Also:
Constant Field Values

FS_FSSTAT

public static final int FS_FSSTAT
See Also:
Constant Field Values
Constructor Detail

SysItem

public SysItem(int type)
A container for a hardware item. Needs to be expanded.


SysItem

public SysItem(int type,
               int instance)
A container for a hardware item. Needs to be expanded.

Method Detail

getType

public int getType()

getInstance

public int getInstance()

addAttribute

public void addAttribute(java.lang.String key,
                         java.lang.Object value)

getAttribute

public java.lang.Object getAttribute(java.lang.String key)