Class AuthorizationLevelDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.banking.authorizationlevels.AuthorizationLevelDTO
-
- All Implemented Interfaces:
Serializable,IEntity,IInternalNamedEntity
public class AuthorizationLevelDTO extends EntityDTO implements IInternalNamedEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<DecimalRangeDTO,AuthorizationLevelDTO>AMOUNT_RANGEstatic BasicProperty<Boolean,AuthorizationLevelDTO>BROKERstatic StringCLASS_NAMEstatic BasicProperty<String,AuthorizationLevelDTO>INTERNAL_NAMEstatic BasicProperty<Integer,AuthorizationLevelDTO>LEVELstatic BasicProperty<Boolean,AuthorizationLevelDTO>PAYERstatic BasicProperty<Boolean,AuthorizationLevelDTO>RECEIVERstatic SetProperty<AuthorizationRoleVO,AuthorizationLevelDTO>ROLESstatic BasicProperty<Boolean,AuthorizationLevelDTO>SHOW_COMMENTS_TO_USERSstatic BasicProperty<TransferTypeVO,AuthorizationLevelDTO>TRANSFER_TYPE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description AuthorizationLevelDTO()AuthorizationLevelDTO(Long id)AuthorizationLevelDTO(Property<T,? super AuthorizationLevelDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DecimalRangeDTOgetAmountRange()StringgetInternalName()IntegergetLevel()Set<AuthorizationRoleVO>getRoles()TransferTypeVOgetTransferType()booleanisBroker()booleanisPayer()booleanisReceiver()booleanisShowCommentsToUsers()voidsetAmountRange(DecimalRangeDTO amountRange)voidsetBroker(boolean broker)voidsetInternalName(String internalName)voidsetLevel(Integer level)voidsetPayer(boolean payer)voidsetReceiver(boolean receiver)voidsetRoles(Set<AuthorizationRoleVO> roles)voidsetShowCommentsToUsers(boolean showCommentsToUsers)voidsetTransferType(TransferTypeVO transferType)-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
AMOUNT_RANGE
public static final BasicProperty<DecimalRangeDTO,AuthorizationLevelDTO> AMOUNT_RANGE
-
BROKER
public static final BasicProperty<Boolean,AuthorizationLevelDTO> BROKER
-
INTERNAL_NAME
public static final BasicProperty<String,AuthorizationLevelDTO> INTERNAL_NAME
-
LEVEL
public static final BasicProperty<Integer,AuthorizationLevelDTO> LEVEL
-
PAYER
public static final BasicProperty<Boolean,AuthorizationLevelDTO> PAYER
-
RECEIVER
public static final BasicProperty<Boolean,AuthorizationLevelDTO> RECEIVER
-
ROLES
public static final SetProperty<AuthorizationRoleVO,AuthorizationLevelDTO> ROLES
-
SHOW_COMMENTS_TO_USERS
public static final BasicProperty<Boolean,AuthorizationLevelDTO> SHOW_COMMENTS_TO_USERS
-
TRANSFER_TYPE
public static final BasicProperty<TransferTypeVO,AuthorizationLevelDTO> TRANSFER_TYPE
-
-
Constructor Detail
-
AuthorizationLevelDTO
public AuthorizationLevelDTO()
-
AuthorizationLevelDTO
public AuthorizationLevelDTO(Long id)
-
AuthorizationLevelDTO
public AuthorizationLevelDTO(Property<T,? super AuthorizationLevelDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
getAmountRange
public DecimalRangeDTO getAmountRange()
-
setAmountRange
public void setAmountRange(DecimalRangeDTO amountRange)
-
isBroker
public boolean isBroker()
-
setBroker
public void setBroker(boolean broker)
-
getInternalName
public String getInternalName()
- Specified by:
getInternalNamein interfaceIInternalNamedEntity- Returns:
- the internal name.
-
setInternalName
public void setInternalName(String internalName)
- Specified by:
setInternalNamein interfaceIInternalNamedEntity- Parameters:
internalName- the internal name to be set.
-
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 Set<AuthorizationRoleVO> getRoles()
-
setRoles
public void setRoles(Set<AuthorizationRoleVO> roles)
-
isShowCommentsToUsers
public boolean isShowCommentsToUsers()
-
setShowCommentsToUsers
public void setShowCommentsToUsers(boolean showCommentsToUsers)
-
getTransferType
public TransferTypeVO getTransferType()
-
setTransferType
public void setTransferType(TransferTypeVO transferType)
-
-