org.dmtf.schemas.ovf.envelope
Interface VirtualDiskDescType

All Superinterfaces:
EObject, LocalHostResource, Notifier

public interface VirtualDiskDescType
extends LocalHostResource

A representation of the model object 'Virtual Disk Desc Type'. Type for virtual disk descriptor

The following features are supported:

See Also:
EnvelopePackage.getVirtualDiskDescType()

Method Summary
 FeatureMap getAny()
          Returns the value of the 'Any' attribute list.
 FeatureMap getAnyAttribute()
          Returns the value of the 'Any Attribute' attribute list.
 java.lang.String getCapacity()
          Returns the value of the 'Capacity' attribute.
 CapacityAllocationUnitsType getCapacityAllocationUnits()
          Returns the value of the 'Capacity Allocation Units' attribute.
 java.lang.String getDiskId()
          Returns the value of the 'Disk Id' attribute.
 DiskSectionType getDiskSection()
          Returns the value of the 'Disk Section' container reference.
 java.lang.String getFileRef()
          Returns the value of the 'File Ref' attribute.
 FileType getFileReference()
          Returns the value of the 'File Reference' reference.
 java.lang.String getFormat()
          Returns the value of the 'Format' attribute.
 java.lang.String getParentRef()
          Returns the value of the 'Parent Ref' attribute.
 long getPopulatedSize()
          Returns the value of the 'Populated Size' attribute.
 long getResolvedDiskCapacity()
           
 boolean isSetCapacityAllocationUnits()
          Returns whether the value of the 'Capacity Allocation Units' attribute is set.
 boolean isSetPopulatedSize()
          Returns whether the value of the 'Populated Size' attribute is set.
 void setCapacity(java.lang.String value)
          Sets the value of the 'Capacity' attribute.
 void setCapacityAllocationUnits(CapacityAllocationUnitsType value)
          Sets the value of the 'Capacity Allocation Units' attribute.
 void setDiskId(java.lang.String value)
          Sets the value of the 'Disk Id' attribute.
 void setDiskSection(DiskSectionType value)
          Sets the value of the 'Disk Section' container reference.
 void setFileRef(java.lang.String value)
          Sets the value of the 'File Ref' attribute.
 void setFileReference(FileType value)
          Sets the value of the 'File Reference' reference.
 void setFormat(java.lang.String value)
          Sets the value of the 'Format' attribute.
 void setParentRef(java.lang.String value)
          Sets the value of the 'Parent Ref' attribute.
 void setPopulatedSize(long value)
          Sets the value of the 'Populated Size' attribute.
 void unsetCapacityAllocationUnits()
          Unsets the value of the 'Capacity Allocation Units' attribute.
 void unsetPopulatedSize()
          Unsets the value of the 'Populated Size' attribute.
 
Methods inherited from interface org.dmtf.schemas.wscim.rasd.LocalHostResource
getUri
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getAny

FeatureMap getAny()
Returns the value of the 'Any' attribute list. The list contents are of type FeatureMap.Entry.

If the meaning of the 'Any' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Any' attribute list.
See Also:
EnvelopePackage.getVirtualDiskDescType_Any()

getCapacity

java.lang.String getCapacity()
Returns the value of the 'Capacity' attribute. Virtual disk capacity, can be specified as either an xs:long size or as a reference to a property using ${property_name}.

Returns:
the value of the 'Capacity' attribute.
See Also:
setCapacity(String), EnvelopePackage.getVirtualDiskDescType_Capacity()

setCapacity

void setCapacity(java.lang.String value)
Sets the value of the 'Capacity' attribute.

Parameters:
value - the new value of the 'Capacity' attribute.
See Also:
getCapacity()

getCapacityAllocationUnits

CapacityAllocationUnitsType getCapacityAllocationUnits()
Returns the value of the 'Capacity Allocation Units' attribute. The default value is "byte". Unit of allocation for ovf:capacity. If not specified default value is bytes. Value shall match a recognized value for the UNITS qualifier in DSP0004.

Returns:
the value of the 'Capacity Allocation Units' attribute.
See Also:
isSetCapacityAllocationUnits(), unsetCapacityAllocationUnits(), setCapacityAllocationUnits(CapacityAllocationUnitsType), EnvelopePackage.getVirtualDiskDescType_CapacityAllocationUnits()

setCapacityAllocationUnits

void setCapacityAllocationUnits(CapacityAllocationUnitsType value)
Sets the value of the 'Capacity Allocation Units' attribute.

Parameters:
value - the new value of the 'Capacity Allocation Units' attribute.
See Also:
isSetCapacityAllocationUnits(), unsetCapacityAllocationUnits(), getCapacityAllocationUnits()

unsetCapacityAllocationUnits

void unsetCapacityAllocationUnits()
Unsets the value of the 'Capacity Allocation Units' attribute.

See Also:
isSetCapacityAllocationUnits(), getCapacityAllocationUnits(), setCapacityAllocationUnits(CapacityAllocationUnitsType)

isSetCapacityAllocationUnits

boolean isSetCapacityAllocationUnits()
Returns whether the value of the 'Capacity Allocation Units' attribute is set.

Returns:
whether the value of the 'Capacity Allocation Units' attribute is set.
See Also:
unsetCapacityAllocationUnits(), getCapacityAllocationUnits(), setCapacityAllocationUnits(CapacityAllocationUnitsType)

getDiskId

java.lang.String getDiskId()
Returns the value of the 'Disk Id' attribute. Identifier for virtual disk

Returns:
the value of the 'Disk Id' attribute.
See Also:
setDiskId(String), EnvelopePackage.getVirtualDiskDescType_DiskId()

setDiskId

void setDiskId(java.lang.String value)
Sets the value of the 'Disk Id' attribute.

Parameters:
value - the new value of the 'Disk Id' attribute.
See Also:
getDiskId()

getFileRef

java.lang.String getFileRef()
Returns the value of the 'File Ref' attribute. Reference to virtual disk content. If not specified a blank virtual disk is created of size given by capacity attribute

Returns:
the value of the 'File Ref' attribute.
See Also:
setFileRef(String), EnvelopePackage.getVirtualDiskDescType_FileRef()

setFileRef

void setFileRef(java.lang.String value)
Sets the value of the 'File Ref' attribute.

Parameters:
value - the new value of the 'File Ref' attribute.
See Also:
getFileRef()

getFileReference

FileType getFileReference()
Returns the value of the 'File Reference' reference. Identifier for virtual disk, reference to File item

Returns:
the value of the 'File Reference' reference.
See Also:
setFileReference(FileType), EnvelopePackage.getVirtualDiskDescType_FileReference()

setFileReference

void setFileReference(FileType value)
Sets the value of the 'File Reference' reference.

Parameters:
value - the new value of the 'File Reference' reference.
See Also:
getFileReference()

getFormat

java.lang.String getFormat()
Returns the value of the 'Format' attribute. Format of virtual disk given as a URI that identifies the disk type

Returns:
the value of the 'Format' attribute.
See Also:
setFormat(String), EnvelopePackage.getVirtualDiskDescType_Format()

setFormat

void setFormat(java.lang.String value)
Sets the value of the 'Format' attribute.

Parameters:
value - the new value of the 'Format' attribute.
See Also:
getFormat()

getParentRef

java.lang.String getParentRef()
Returns the value of the 'Parent Ref' attribute. Reference to potential parent disk

Returns:
the value of the 'Parent Ref' attribute.
See Also:
setParentRef(String), EnvelopePackage.getVirtualDiskDescType_ParentRef()

setParentRef

void setParentRef(java.lang.String value)
Sets the value of the 'Parent Ref' attribute.

Parameters:
value - the new value of the 'Parent Ref' attribute.
See Also:
getParentRef()

getPopulatedSize

long getPopulatedSize()
Returns the value of the 'Populated Size' attribute. Estimated populated size of disk in bytes

Returns:
the value of the 'Populated Size' attribute.
See Also:
isSetPopulatedSize(), unsetPopulatedSize(), setPopulatedSize(long), EnvelopePackage.getVirtualDiskDescType_PopulatedSize()

setPopulatedSize

void setPopulatedSize(long value)
Sets the value of the 'Populated Size' attribute.

Parameters:
value - the new value of the 'Populated Size' attribute.
See Also:
isSetPopulatedSize(), unsetPopulatedSize(), getPopulatedSize()

unsetPopulatedSize

void unsetPopulatedSize()
Unsets the value of the 'Populated Size' attribute.

See Also:
isSetPopulatedSize(), getPopulatedSize(), setPopulatedSize(long)

isSetPopulatedSize

boolean isSetPopulatedSize()
Returns whether the value of the 'Populated Size' attribute is set.

Returns:
whether the value of the 'Populated Size' attribute is set.
See Also:
unsetPopulatedSize(), getPopulatedSize(), setPopulatedSize(long)

getAnyAttribute

FeatureMap getAnyAttribute()
Returns the value of the 'Any Attribute' attribute list. The list contents are of type FeatureMap.Entry.

If the meaning of the 'Any Attribute' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Any Attribute' attribute list.
See Also:
EnvelopePackage.getVirtualDiskDescType_AnyAttribute()

getDiskSection

DiskSectionType getDiskSection()
Returns the value of the 'Disk Section' container reference. It is bidirectional and its opposite is 'Disk'.

If the meaning of the 'Disk Section' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Disk Section' container reference.
See Also:
setDiskSection(DiskSectionType), EnvelopePackage.getVirtualDiskDescType_DiskSection(), DiskSectionType.getDisk()

setDiskSection

void setDiskSection(DiskSectionType value)
Sets the value of the 'Disk Section' container reference.

Parameters:
value - the new value of the 'Disk Section' container reference.
See Also:
getDiskSection()

getResolvedDiskCapacity

long getResolvedDiskCapacity()



© Copyright 2008 IBM Corp. 2008 All Rights Reserved