Class AuthorizationLevelVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.banking.authorizationlevels.AuthorizationLevelVO
-
- All Implemented Interfaces:
Serializable,IEntity
public class AuthorizationLevelVO extends EntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,AuthorizationLevelVO>BROKERstatic StringCLASS_NAMEstatic BasicProperty<Integer,AuthorizationLevelVO>LEVELstatic BasicProperty<Boolean,AuthorizationLevelVO>PAYERstatic BasicProperty<Boolean,AuthorizationLevelVO>RECEIVERstatic ListProperty<AuthorizationRoleDTO,AuthorizationLevelVO>ROLESstatic BasicProperty<TransferTypeVO,AuthorizationLevelVO>TRANSFER_TYPE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description AuthorizationLevelVO()AuthorizationLevelVO(Long id)AuthorizationLevelVO(Property<T,? super AuthorizationLevelVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()IntegergetLevel()List<AuthorizationRoleDTO>getRoles()TransferTypeVOgetTransferType()booleanisBroker()booleanisPayer()booleanisReceiver()voidsetBroker(boolean broker)voidsetLevel(Integer level)voidsetPayer(boolean payer)voidsetReceiver(boolean receiver)voidsetRoles(List<AuthorizationRoleDTO> roles)voidsetTransferType(TransferTypeVO transferType)-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId, toString
-
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
-
BROKER
public static final BasicProperty<Boolean,AuthorizationLevelVO> BROKER
-
LEVEL
public static final BasicProperty<Integer,AuthorizationLevelVO> LEVEL
-
PAYER
public static final BasicProperty<Boolean,AuthorizationLevelVO> PAYER
-
RECEIVER
public static final BasicProperty<Boolean,AuthorizationLevelVO> RECEIVER
-
ROLES
public static final ListProperty<AuthorizationRoleDTO,AuthorizationLevelVO> ROLES
-
TRANSFER_TYPE
public static final BasicProperty<TransferTypeVO,AuthorizationLevelVO> TRANSFER_TYPE
-
-
Constructor Detail
-
AuthorizationLevelVO
public AuthorizationLevelVO()
-
AuthorizationLevelVO
public AuthorizationLevelVO(Long id)
-
AuthorizationLevelVO
public AuthorizationLevelVO(Property<T,? super AuthorizationLevelVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
isBroker
public boolean isBroker()
-
setBroker
public void setBroker(boolean broker)
-
getLevel
public Integer getLevel()
-
setLevel
public void setLevel(Integer level)
-
isPayer
public boolean isPayer()
-
setPayer
public void setPayer(boolean payer)
-
isReceiver
public boolean isReceiver()
-
setReceiver
public void setReceiver(boolean receiver)
-
getRoles
public List<AuthorizationRoleDTO> getRoles()
-
setRoles
public void setRoles(List<AuthorizationRoleDTO> roles)
-
getTransferType
public TransferTypeVO getTransferType()
-
setTransferType
public void setTransferType(TransferTypeVO transferType)
-
-