Class: UU::OS::MetaModel::MetaModelCreate Deprecated
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::MetaModel::MetaModelCreate
- Defined in:
- uu_os-0.29.16/lib/uu/os/meta_model/meta_model_create.rb
Overview
Use AppPackage::AppPackageCreate instead.
Meta Model Create DTO.
Instance Attribute Summary (collapse)
-
- (Object) code
Code of the new meta model.
-
- (Object) competent_role_uri
UESURI of the competent role.
-
- (Object) description
Description of the new meta model.
-
- (Object) icon_uri
URI of the meta model's icon.
-
- (Object) meta_artifact_uri
UESURI of the meta artifact.
-
- (Object) name
Name of the new meta model.
-
- (Object) security_level
Security level.
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) code
Code of the new meta model. When null is set, the code is generated automatically using the system sequence. The code must be unique in the given territory, otherwise the create command fails.
27 28 29 |
# File 'uu_os-0.29.16/lib/uu/os/meta_model/meta_model_create.rb', line 27 def code @code end |
- (Object) competent_role_uri
UESURI of the competent role. When null is set, the executive role from authorization is used. If no role is authorized to create the new meta model into specified container, the create command fails. If the selected role doesn't have connected the role interface with the selected meta artifact, the create command fails.
37 38 39 |
# File 'uu_os-0.29.16/lib/uu/os/meta_model/meta_model_create.rb', line 37 def competent_role_uri @competent_role_uri end |
- (Object) description
Description of the new meta model. When null is set, from meta artifact is used if set, otherwise no description is set on the new meta model.
31 32 33 |
# File 'uu_os-0.29.16/lib/uu/os/meta_model/meta_model_create.rb', line 31 def description @description end |
- (Object) icon_uri
URI of the meta model's icon. When null is set, the meta model uses icon from meta artifact.
52 53 54 |
# File 'uu_os-0.29.16/lib/uu/os/meta_model/meta_model_create.rb', line 52 def icon_uri @icon_uri end |
- (Object) meta_artifact_uri
UESURI of the meta artifact. Only a meta artifact with the template class of meta model (not its descendants) can be used. If the rights does not permit to create a new meta model from the meta artifact in the specified location, the create command fails.
18 19 20 |
# File 'uu_os-0.29.16/lib/uu/os/meta_model/meta_model_create.rb', line 18 def @meta_artifact_uri end |
- (Object) name
Name of the new meta model. When null is set, template name from meta artifact is used if set, otherwise the create command fails.
22 23 24 |
# File 'uu_os-0.29.16/lib/uu/os/meta_model/meta_model_create.rb', line 22 def name @name end |
- (Object) security_level
Security level. When null is set, security level is taken from the meta artifact default security level. If the meta artifact template security level is higher than the user's security clearance, the create command fails.
42 43 44 |
# File 'uu_os-0.29.16/lib/uu/os/meta_model/meta_model_create.rb', line 42 def security_level @security_level end |