org.fourthline.cling.support.model.container

## Class StorageVolume

- java.lang.Object
- - org.fourthline.cling.support.model.DIDLObject
  - - org.fourthline.cling.support.model.container.Container
    - - org.fourthline.cling.support.model.container.StorageVolume

-     public class StorageVolume
      extends Container

  Author:
    Christian Bauer

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.fourthline.cling.support.model.DIDLObject

      `DIDLObject.Class, DIDLObject.Property<V>`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static DIDLObject.Class` | `CLASS`

    - ### Fields inherited from class org.fourthline.cling.support.model.container.Container

      `childCount, containers, createClasses, items, searchable, searchClasses`

    - ### Fields inherited from class org.fourthline.cling.support.model.DIDLObject

      `clazz, creator, descMetadata, id, parentID, properties, resources, restricted, title, writeStatus`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StorageVolume()`
    `StorageVolume(Container other)`
    `StorageVolume(String id, Container parent, String title, String creator, Integer childCount, Long storageTotal, Long storageUsed, Long storageFree, StorageMedium storageMedium)`
    `StorageVolume(String id, String parentID, String title, String creator, Integer childCount, Long storageTotal, Long storageUsed, Long storageFree, StorageMedium storageMedium)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Long` | `getStorageFree()`
    `StorageMedium` | `getStorageMedium()`
    `Long` | `getStorageTotal()`
    `Long` | `getStorageUsed()`
    `StorageVolume` | `setStorageFree(Long l)`
    `StorageVolume` | `setStorageMedium(StorageMedium storageMedium)`
    `StorageVolume` | `setStorageTotal(Long l)`
    `StorageVolume` | `setStorageUsed(Long l)`

    - ### Methods inherited from class org.fourthline.cling.support.model.container.Container

      `addContainer, addItem, getChildCount, getContainers, getCreateClasses, getFirstContainer, getItems, getSearchClasses, isSearchable, setChildCount, setContainers, setCreateClasses, setItems, setSearchable, setSearchClasses`

    - ### Methods inherited from class org.fourthline.cling.support.model.DIDLObject

      `addDescMetadata, addProperties, addProperty, addResource, equals, getClazz, getCreator, getDescMetadata, getFirstProperty, getFirstPropertyValue, getFirstResource, getId, getLastProperty, getParentID, getProperties, getProperties, getPropertiesByNamespace, getPropertyValues, getResources, getTitle, getWriteStatus, hashCode, hasProperty, isRestricted, removeProperties, replaceFirstProperty, replaceProperties, setClazz, setCreator, setDescMetadata, setId, setParentID, setProperties, setResources, setRestricted, setTitle, setWriteStatus`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### CLASS

          public static final DIDLObject.Class CLASS

  - ### Constructor Detail

    - #### StorageVolume

          public StorageVolume()

    - #### StorageVolume

          public StorageVolume(Container other)

    - #### StorageVolume

          public StorageVolume(String id,
                       Container parent,
                       String title,
                       String creator,
                       Integer childCount,
                       Long storageTotal,
                       Long storageUsed,
                       Long storageFree,
                       StorageMedium storageMedium)

    - #### StorageVolume

          public StorageVolume(String id,
                       String parentID,
                       String title,
                       String creator,
                       Integer childCount,
                       Long storageTotal,
                       Long storageUsed,
                       Long storageFree,
                       StorageMedium storageMedium)

  - ### Method Detail

    - #### getStorageTotal

          public Long getStorageTotal()

    - #### setStorageTotal

          public StorageVolume setStorageTotal(Long l)

    - #### getStorageUsed

          public Long getStorageUsed()

    - #### setStorageUsed

          public StorageVolume setStorageUsed(Long l)

    - #### getStorageFree

          public Long getStorageFree()

    - #### setStorageFree

          public StorageVolume setStorageFree(Long l)

    - #### getStorageMedium

          public StorageMedium getStorageMedium()

    - #### setStorageMedium

          public StorageVolume setStorageMedium(StorageMedium storageMedium)

Copyright © 2014 4th Line GmbH, Switzerland. All Rights Reserved.