uk.co.petertribble.solview.explorer
Class MetaDevice

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

public class MetaDevice
extends java.lang.Object


Field Summary
static int CONCAT
           
static int MIRROR
           
static int RAID5
           
static int SOFTPART
           
static int STRIPE
           
static int TRANS
           
 
Constructor Summary
MetaDevice(java.lang.String name, int metatype)
           
 
Method Summary
 void addChild(MetaDevice child)
           
 void addComponent(java.lang.String component)
           
 java.lang.String getName()
           
 MetaDevice getParent()
           
 int getType()
           
 java.lang.String getTypeAsString()
           
 void setParent(MetaDevice parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRIPE

public static final int STRIPE
See Also:
Constant Field Values

CONCAT

public static final int CONCAT
See Also:
Constant Field Values

MIRROR

public static final int MIRROR
See Also:
Constant Field Values

RAID5

public static final int RAID5
See Also:
Constant Field Values

SOFTPART

public static final int SOFTPART
See Also:
Constant Field Values

TRANS

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

MetaDevice

public MetaDevice(java.lang.String name,
                  int metatype)
Method Detail

getName

public java.lang.String getName()

getType

public int getType()

getTypeAsString

public java.lang.String getTypeAsString()

setParent

public void setParent(MetaDevice parent)

getParent

public MetaDevice getParent()

addChild

public void addChild(MetaDevice child)

addComponent

public void addComponent(java.lang.String component)