Package org.cyclos.model.system.images
Class ImagesListData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.system.images.ImagesListData
-
- All Implemented Interfaces:
Serializable
public class ImagesListData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,ImagesListData>CAN_CREATEstatic BasicProperty<Boolean,ImagesListData>CAN_MANAGEstatic StringCLASS_NAMEstatic ListProperty<ImageVO,ImagesListData>IMAGESstatic BasicProperty<Integer,ImagesListData>MAX_IMAGESstatic BasicProperty<Boolean,ImagesListData>REQUIRED
-
Constructor Summary
Constructors Constructor Description ImagesListData()ImagesListData(Property<T,? super ImagesListData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<ImageVO>getImages()IntegergetMaxImages()booleanisCanCreate()booleanisCanManage()booleanisRequired()voidsetCanCreate(boolean canCreate)voidsetCanManage(boolean canManage)voidsetImages(List<ImageVO> images)voidsetMaxImages(Integer maxImages)voidsetRequired(boolean required)-
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
-
CAN_CREATE
public static final BasicProperty<Boolean,ImagesListData> CAN_CREATE
-
CAN_MANAGE
public static final BasicProperty<Boolean,ImagesListData> CAN_MANAGE
-
IMAGES
public static final ListProperty<ImageVO,ImagesListData> IMAGES
-
MAX_IMAGES
public static final BasicProperty<Integer,ImagesListData> MAX_IMAGES
-
REQUIRED
public static final BasicProperty<Boolean,ImagesListData> REQUIRED
-
-
Constructor Detail
-
ImagesListData
public ImagesListData()
-
ImagesListData
public ImagesListData(Property<T,? super ImagesListData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
isCanCreate
public boolean isCanCreate()
-
setCanCreate
public void setCanCreate(boolean canCreate)
-
isCanManage
public boolean isCanManage()
-
setCanManage
public void setCanManage(boolean canManage)
-
getMaxImages
public Integer getMaxImages()
-
setMaxImages
public void setMaxImages(Integer maxImages)
-
isRequired
public boolean isRequired()
-
setRequired
public void setRequired(boolean required)
-
-