@DTO public class UESCastCreate extends java.lang.Object
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 new cast.
|
private java.lang.Boolean |
primary
Specifies whether the cast will be the primary cast to the role.
|
private java.lang.Boolean |
visible
Specifies whether the cast is visible in Show Casts use case.
|
Constructor and Description |
---|
UESCastCreate(UESURI castedSubjectUri,
Creates a new instance of UESCastCreate.
|
UESCastCreate(UESURI castedSubjectUri,
Creates a new instance of UESCastCreate, visible defined.
|
#executive
attribute. If set to nil, EXECUTIVE
level will be used.UESCastCreate.visible
in EXECUTIVE
UESCastCreate.level
. If set to null,
the cast will not become primary unless it is the first cast to the subjectUri (main entity).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 UESCastCreate.primary
cast,
or no cast at all; otherwise the cast state will not be changed.UESCastCreate.primary
.