Class UserChannelData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.access.userchannels.UserChannelData
-
- All Implemented Interfaces:
Serializable
public class UserChannelData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<UserChannelAccess,UserChannelData>ACCESSstatic BasicProperty<ChannelVO,UserChannelData>CHANNELstatic StringCLASS_NAMEstatic BasicProperty<Boolean,UserChannelData>ENABLED
-
Constructor Summary
Constructors Constructor Description UserChannelData()UserChannelData(Property<T,? super UserChannelData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()UserChannelAccessgetAccess()ChannelVOgetChannel()booleanisEnabled()voidsetAccess(UserChannelAccess access)voidsetChannel(ChannelVO channel)voidsetEnabled(boolean enabled)-
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
-
ACCESS
public static final BasicProperty<UserChannelAccess,UserChannelData> ACCESS
-
CHANNEL
public static final BasicProperty<ChannelVO,UserChannelData> CHANNEL
-
ENABLED
public static final BasicProperty<Boolean,UserChannelData> ENABLED
-
-
Constructor Detail
-
UserChannelData
public UserChannelData()
-
UserChannelData
public UserChannelData(Property<T,? super UserChannelData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getAccess
public UserChannelAccess getAccess()
-
setAccess
public void setAccess(UserChannelAccess access)
-
getChannel
public ChannelVO getChannel()
-
setChannel
public void setChannel(ChannelVO channel)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
-