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() |
java.lang.Integer |
getSize() |
FileSizeUnit |
getUnit() |
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, 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.Object