public class Disk extends IVdcQueryable implements BusinessEntity<Guid>
Disk
entity always points to the active mutable image that the VM will run with (or the
image the Template represents).null
, in case that it's missing but should be there.Constructor and Description |
---|
Disk() |
Disk(Guid id,
ImageStatus status,
int internalDriveMapping,
DiskImage activeImage,
DiskType diskType,
DiskInterface diskInterface,
boolean wipeAfterDelete,
PropagateErrors propagateErrors) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DiskImage |
getActiveImage() |
ArrayList<String> |
getChangeablePropertiesList() |
DiskInterface |
getDiskInterface() |
DiskType |
getDiskType() |
Guid |
getId()
Returns the unique ID of the business entity.
|
int |
getInternalDriveMapping() |
PropagateErrors |
getPropagateErrors() |
Object |
getQueryableId() |
ImageStatus |
getStatus() |
int |
hashCode() |
boolean |
isWipeAfterDelete() |
void |
setActiveImage(DiskImage activeImage) |
void |
setDiskInterface(DiskInterface diskInterface) |
void |
setDiskType(DiskType diskType) |
void |
setId(Guid id)
Sets the unique ID of the business entity
|
void |
setInternalDriveMapping(int internalDriveMapping) |
void |
setPropagateErrors(PropagateErrors propagateErrors) |
void |
setStatus(ImageStatus status) |
void |
setWipeAfterDelete(boolean wipeAfterDelete) |
public Disk()
public Disk(Guid id, ImageStatus status, int internalDriveMapping, DiskImage activeImage, DiskType diskType, DiskInterface diskInterface, boolean wipeAfterDelete, PropagateErrors propagateErrors)
public Object getQueryableId()
getQueryableId
in class IVdcQueryable
public ArrayList<String> getChangeablePropertiesList()
getChangeablePropertiesList
in class IVdcQueryable
public Guid getId()
BusinessEntity
getId
in interface BusinessEntity<Guid>
public void setId(Guid id)
BusinessEntity
setId
in interface BusinessEntity<Guid>
id
- The unique ID of the business entity.public ImageStatus getStatus()
public void setStatus(ImageStatus status)
public DiskImage getActiveImage()
public void setActiveImage(DiskImage activeImage)
public int getInternalDriveMapping()
public void setInternalDriveMapping(int internalDriveMapping)
public DiskType getDiskType()
public void setDiskType(DiskType diskType)
public DiskInterface getDiskInterface()
public void setDiskInterface(DiskInterface diskInterface)
public boolean isWipeAfterDelete()
public void setWipeAfterDelete(boolean wipeAfterDelete)
public PropagateErrors getPropagateErrors()
public void setPropagateErrors(PropagateErrors propagateErrors)
Copyright © 2012. All Rights Reserved.