uk.co.petertribble.solview.explorer
Class MetaDevice
java.lang.Object
uk.co.petertribble.solview.explorer.MetaDevice
public class MetaDevice
- extends java.lang.Object
Constructor Summary |
MetaDevice(java.lang.String name,
int metatype)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
MetaDevice
public MetaDevice(java.lang.String name,
int metatype)
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)