@DTO public class UESCastSetAttributes extends java.lang.Object
UESCast.setAttributes(UESURI, UESCastSetAttributes).| Modifier and Type | Field and Description |
|---|---|
private UESURI |
castedSubjectUri
UESURI of the subject (role or group) which is casted to the subject
identified by the command main entity.
|
private java.lang.Object |
dateTo
The date when the cast will be automatically set to the
UESCastState.PASSIVE state. |
private UESCastLevel |
level
The level of the cast.
|
private java.lang.Boolean |
primary
Specifies whether the cast will be the primary cast to the role.
|
private UESCastState |
state
Deprecated.
Since UES8-20.
|
private java.lang.Boolean |
visible
Specifies whether the cast is visible in Show Casts use case.
|
| Constructor and Description |
|---|
UESCastSetAttributes(UESURI castedSubjectUri,
Creates a new instance of UESCastSetAttributes.
|
UESCastSetAttributes(UESURI castedSubjectUri,
Creates a new instance of UESCastSetAttributes.
|
#executive attribute. If the level is changed, the value of the
#executive attribute will be changed as well (true for the
EXECUTIVE level, false for the
ASSISTENCE or GUEST level).UESCastSetAttributes.visible in ACTIVE
UESCastSetAttributes.state and EXECUTIVE UESCastSetAttributes.level.
If the cast is primary and it is set to false, another cast (the oldest
UESCastSetAttributes.visible cast in ACTIVE UESCastSetAttributes.state
and EXECUTIVE UESCastSetAttributes.level) to the
subjectUri (main entity) will become the primary cast. If set to null, the
primary cast will not be changed.UESCastState.PASSIVE state. If the subject is a Role and the cast
is the primary cast to the Role, then there must be either another
UESCastState.ACTIVE visible cast with
ASSISTENCE level to the Role which will
become the UESCastSetAttributes.primary cast, or no cast at all; otherwise the cast
state will not be changed. If set to an empty string, the date will be
erased. If set to null, the value will not be modified.UESCastSetAttributes.primary.