Package org.cyclos.model.utils
Class DimensionsDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.utils.DimensionsDTO
-
- All Implemented Interfaces:
Serializable,IDimensions
public class DimensionsDTO extends Bean implements IDimensions
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Integer,DimensionsDTO>HEIGHTstatic BasicProperty<Integer,DimensionsDTO>WIDTH
-
Constructor Summary
Constructors Constructor Description DimensionsDTO()DimensionsDTO(Property<T,? super DimensionsDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanequals(Object other)intgetHeight()intgetWidth()inthashCode()voidsetHeight(int height)voidsetWidth(int width)StringtoString()-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
HEIGHT
public static final BasicProperty<Integer,DimensionsDTO> HEIGHT
-
WIDTH
public static final BasicProperty<Integer,DimensionsDTO> WIDTH
-
-
Constructor Detail
-
DimensionsDTO
public DimensionsDTO()
-
DimensionsDTO
public DimensionsDTO(Property<T,? super DimensionsDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getHeight
public int getHeight()
- Specified by:
getHeightin interfaceIDimensions
-
setHeight
public void setHeight(int height)
-
getWidth
public int getWidth()
- Specified by:
getWidthin interfaceIDimensions
-
setWidth
public void setWidth(int width)
-
-