public class FileSizeDTO extends Bean implements IFileSize
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME |
static BasicProperty<java.lang.Integer,FileSizeDTO> |
SIZE |
static BasicProperty<FileSizeUnit,FileSizeDTO> |
UNIT |
| Constructor and Description |
|---|
FileSizeDTO() |
FileSizeDTO(Property<T,? super FileSizeDTO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
protected java.util.List<Property<?,?>> |
doGetProperties() |
boolean |
equals(java.lang.Object other) |
java.lang.Integer |
getSize() |
FileSizeUnit |
getUnit() |
int |
hashCode() |
void |
setSize(java.lang.Integer size) |
void |
setUnit(FileSizeUnit unit) |
java.lang.String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, setAttributepublic static final java.lang.String CLASS_NAME
public static final BasicProperty<java.lang.Integer,FileSizeDTO> SIZE
public static final BasicProperty<FileSizeUnit,FileSizeDTO> UNIT
public FileSizeDTO()
public FileSizeDTO(Property<T,? super FileSizeDTO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class Beanpublic void setSize(java.lang.Integer size)
public FileSizeUnit getUnit()
public void setUnit(FileSizeUnit unit)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object