Class: UU::OS::Cast::CastAttributes
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::Cast::CastAttributes
- Defined in:
- uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb
Instance Attribute Summary (collapse)
-
- (Object) cast_direction
Specifies direction of the cast.
-
- (Object) casted_subject_code
Code of the subject (role or group) which is casted to the subject_uri.
-
- (Object) casted_subject_entity_type_uri
Entity type URI of casted subject.
-
- (Object) casted_subject_name
Name of the subject (role or group) which is casted to the subject_uri.
-
- (Object) casted_subject_uri
UESURI of the subject (role or group) which is casted to the subject_uri.
-
- (Object) date_from
Creation time of the cast.
-
- (Object) date_to
The date when the cast will be automatically set to the PASSIVE state.
-
- (Object) level
The level of the cast relation.
-
- (Object) primary
Specifies whether the cast is the primary cast to the role.
- - (Object) state deprecated Deprecated.
-
- (Object) subject_code
Code of the subject (role or group) to which the casted_subject_uri is casted.
-
- (Object) subject_entity_type_uri
Entity type URI of subject.
-
- (Object) subject_name
Name of the subject (role or group) to which the casted_subject_uri is casted.
-
- (Object) subject_uri
UESURI of the subject (role or group) to which the casted_subject_uri is casted.
-
- (Object) visible
Specifies whether the cast is visible in Show Casts use case.
Method Summary
Methods inherited from REST::DTO
#initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from UU::OS::REST::DTO
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO
Instance Attribute Details
- (Object) cast_direction
Specifies direction of the cast.
66 67 68 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 66 def cast_direction @cast_direction end |
- (Object) casted_subject_code
Code of the subject (role or group) which is casted to the subject_uri. Never nil.
58 59 60 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 58 def casted_subject_code @casted_subject_code end |
- (Object) casted_subject_entity_type_uri
Entity type URI of casted subject. Never nil.
61 62 63 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 61 def casted_subject_entity_type_uri @casted_subject_entity_type_uri end |
- (Object) casted_subject_name
Name of the subject (role or group) which is casted to the subject_uri. Never nil.
55 56 57 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 55 def casted_subject_name @casted_subject_name end |
- (Object) casted_subject_uri
UESURI of the subject (role or group) which is casted to the subject_uri. Never nil.
15 16 17 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 15 def casted_subject_uri @casted_subject_uri end |
- (Object) date_from
Creation time of the cast. Never nil.
29 30 31 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 29 def date_from @date_from end |
- (Object) date_to
The date when the cast will be automatically set to the PASSIVE state. If the subject is a Role and the cast is the primary cast to the Role, then there must be either another ACTIVE visible cast with EXECUTIVE level to the Role which will become the primary cast, or no cast at all; otherwise the cast state will not be changed.
36 37 38 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 36 def date_to @date_to end |
- (Object) level
The level of the cast relation. Never nil.
20 21 22 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 20 def level @level end |
- (Object) primary
26 27 28 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 26 def primary @primary end |
- (Object) state
Deprecated. In territories with cast strategies of 2 or higher, all casts are either ACTIVE or they do not exist at all. In territories with a cast strategy of 1 or lower, PASSIVE casts are just ignored while only ACTIVE casts are used in cast calculations.
41 42 43 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 41 def state @state end |
- (Object) subject_code
Code of the subject (role or group) to which the casted_subject_uri is casted. Never nil.
49 50 51 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 49 def subject_code @subject_code end |
- (Object) subject_entity_type_uri
Entity type URI of subject. Never nil.
52 53 54 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 52 def subject_entity_type_uri @subject_entity_type_uri end |
- (Object) subject_name
Name of the subject (role or group) to which the casted_subject_uri is casted. Never nil.
45 46 47 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 45 def subject_name @subject_name end |
- (Object) subject_uri
UESURI of the subject (role or group) to which the casted_subject_uri is casted. Never nil.
12 13 14 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 12 def subject_uri @subject_uri end |
- (Object) visible
Specifies whether the cast is visible in Show Casts use case. Never nil.
69 70 71 |
# File 'uu_os-0.29.16/lib/uu/os/cast/cast_attributes.rb', line 69 def visible @visible end |