Package org.cyclos.model.users.users
Class UserPrincipalData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.users.users.UserPrincipalData
-
- All Implemented Interfaces:
Serializable
public class UserPrincipalData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ListProperty<ChannelVO,UserPrincipalData>CHANNELSstatic StringCLASS_NAMEstatic BasicProperty<String,UserPrincipalData>PRINCIPALstatic BasicProperty<PrincipalTypeVO,UserPrincipalData>PRINCIPAL_TYPE
-
Constructor Summary
Constructors Constructor Description UserPrincipalData()UserPrincipalData(Property<T,? super UserPrincipalData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<ChannelVO>getChannels()StringgetPrincipal()PrincipalTypeVOgetPrincipalType()voidsetChannels(List<ChannelVO> channels)voidsetPrincipal(String principal)voidsetPrincipalType(PrincipalTypeVO principalType)-
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
-
CHANNELS
public static final ListProperty<ChannelVO,UserPrincipalData> CHANNELS
-
PRINCIPAL
public static final BasicProperty<String,UserPrincipalData> PRINCIPAL
-
PRINCIPAL_TYPE
public static final BasicProperty<PrincipalTypeVO,UserPrincipalData> PRINCIPAL_TYPE
-
-
Constructor Detail
-
UserPrincipalData
public UserPrincipalData()
-
UserPrincipalData
public UserPrincipalData(Property<T,? super UserPrincipalData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getPrincipal
public String getPrincipal()
-
setPrincipal
public void setPrincipal(String principal)
-
getPrincipalType
public PrincipalTypeVO getPrincipalType()
-
setPrincipalType
public void setPrincipalType(PrincipalTypeVO principalType)
-
-