public class StorageUnit extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for storageUnit complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="storageUnit">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="storage" type="{}storage"/>
<element name="storageDirectory" type="{}storageDirectory" minOccurs="0"/>
<element name="storageFiles" type="{}storageFiles" minOccurs="0"/>
<element name="storageUnitStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Storage |
storage |
protected StorageDirectory |
storageDirectory |
protected List<StorageFile> |
storageFiles |
protected String |
storageUnitStatus |
| Constructor and Description |
|---|
StorageUnit()
Default no-arg constructor
|
StorageUnit(Storage storage,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
String storageUnitStatus)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Storage |
getStorage()
Gets the value of the storage property.
|
StorageDirectory |
getStorageDirectory()
Gets the value of the storageDirectory property.
|
List<StorageFile> |
getStorageFiles() |
String |
getStorageUnitStatus()
Gets the value of the storageUnitStatus property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setStorage(Storage value)
Sets the value of the storage property.
|
void |
setStorageDirectory(StorageDirectory value)
Sets the value of the storageDirectory property.
|
void |
setStorageFiles(List<StorageFile> storageFiles) |
void |
setStorageUnitStatus(String value)
Sets the value of the storageUnitStatus property.
|
String |
toString() |
protected Storage storage
protected StorageDirectory storageDirectory
protected List<StorageFile> storageFiles
protected String storageUnitStatus
public StorageUnit()
public StorageUnit(Storage storage, StorageDirectory storageDirectory, List<StorageFile> storageFiles, String storageUnitStatus)
public Storage getStorage()
Storagepublic void setStorage(Storage value)
value - allowed object is
Storagepublic StorageDirectory getStorageDirectory()
StorageDirectorypublic void setStorageDirectory(StorageDirectory value)
value - allowed object is
StorageDirectorypublic String getStorageUnitStatus()
Stringpublic void setStorageUnitStatus(String value)
value - allowed object is
Stringpublic List<StorageFile> getStorageFiles()
public void setStorageFiles(List<StorageFile> storageFiles)
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyToCopyright © 2017. All rights reserved.