public class StorageUnit extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
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"/>
<element name="storageUnitStatusHistory" type="{}storageUnitStatusHistory" minOccurs="0"/>
<element name="storagePolicyTransitionFailedAttempts" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="restoreExpirationOn" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected XMLGregorianCalendar |
restoreExpirationOn |
protected Storage |
storage |
protected StorageDirectory |
storageDirectory |
protected List<StorageFile> |
storageFiles |
protected Integer |
storagePolicyTransitionFailedAttempts |
protected String |
storageUnitStatus |
protected List<StorageUnitStatusChangeEvent> |
storageUnitStatusHistory |
| Constructor and Description |
|---|
StorageUnit()
Default no-arg constructor
|
StorageUnit(Storage storage,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
String storageUnitStatus,
List<StorageUnitStatusChangeEvent> storageUnitStatusHistory,
Integer storagePolicyTransitionFailedAttempts,
XMLGregorianCalendar restoreExpirationOn)
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.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 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.EqualsStrategy2 strategy) |
XMLGregorianCalendar |
getRestoreExpirationOn()
Gets the value of the restoreExpirationOn property.
|
Storage |
getStorage()
Gets the value of the storage property.
|
StorageDirectory |
getStorageDirectory()
Gets the value of the storageDirectory property.
|
List<StorageFile> |
getStorageFiles() |
Integer |
getStoragePolicyTransitionFailedAttempts()
Gets the value of the storagePolicyTransitionFailedAttempts property.
|
String |
getStorageUnitStatus()
Gets the value of the storageUnitStatus property.
|
List<StorageUnitStatusChangeEvent> |
getStorageUnitStatusHistory() |
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setRestoreExpirationOn(XMLGregorianCalendar value)
Sets the value of the restoreExpirationOn property.
|
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 |
setStoragePolicyTransitionFailedAttempts(Integer value)
Sets the value of the storagePolicyTransitionFailedAttempts property.
|
void |
setStorageUnitStatus(String value)
Sets the value of the storageUnitStatus property.
|
void |
setStorageUnitStatusHistory(List<StorageUnitStatusChangeEvent> storageUnitStatusHistory) |
String |
toString() |
protected Storage storage
protected StorageDirectory storageDirectory
protected List<StorageFile> storageFiles
protected String storageUnitStatus
protected List<StorageUnitStatusChangeEvent> storageUnitStatusHistory
protected Integer storagePolicyTransitionFailedAttempts
protected XMLGregorianCalendar restoreExpirationOn
public StorageUnit()
public StorageUnit(Storage storage, StorageDirectory storageDirectory, List<StorageFile> storageFiles, String storageUnitStatus, List<StorageUnitStatusChangeEvent> storageUnitStatusHistory, Integer storagePolicyTransitionFailedAttempts, XMLGregorianCalendar restoreExpirationOn)
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 Integer getStoragePolicyTransitionFailedAttempts()
Integerpublic void setStoragePolicyTransitionFailedAttempts(Integer value)
value - allowed object is
Integerpublic XMLGregorianCalendar getRestoreExpirationOn()
XMLGregorianCalendarpublic void setRestoreExpirationOn(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic List<StorageFile> getStorageFiles()
public void setStorageFiles(List<StorageFile> storageFiles)
public List<StorageUnitStatusChangeEvent> getStorageUnitStatusHistory()
public void setStorageUnitStatusHistory(List<StorageUnitStatusChangeEvent> storageUnitStatusHistory)
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2Copyright © 2021. All rights reserved.