Class: UU::ObjectStore::ObjectSchema::ObjectSchemaCreate

Inherits:
UU::OS::REST::DTO show all
Defined in:
uu_objectstore-0.0.6/lib/uu/object_store/object_schema/object_schema_create.rb

Overview

DTO for creation of the new object schema.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from UU::OS::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

- (String) code

Code of the new object schema. Code must be unique in scope of object store. Attribute is optional, defaults to system generated value.

Returns:

  • (String)


18
19
20
# File 'uu_objectstore-0.0.6/lib/uu/object_store/object_schema/object_schema_create.rb', line 18

def code
  @code
end

- (String) description

Description of the new object schema. Attribute is optional, defaults to nil.

Returns:

  • (String)


22
23
24
# File 'uu_objectstore-0.0.6/lib/uu/object_store/object_schema/object_schema_create.rb', line 22

def description
  @description
end

- (String) name

Name of the new object schema. Attribute is mandatory.

Returns:

  • (String)


13
14
15
# File 'uu_objectstore-0.0.6/lib/uu/object_store/object_schema/object_schema_create.rb', line 13

def name
  @name
end