Class: UU::ObjectStore::ObjectSchema::ObjectSchemaAttributes

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

Overview

DTO representing object schema attributes.

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 object schema.

Returns:

  • (String)


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

def code
  @code
end

- (Fixnum) current_count

Current count of uuObjects stored within schema.

Returns:

  • (Fixnum)


29
30
31
# File 'uu_objectstore-0.0.6/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 29

def current_count
  @current_count
end

- (Fixnum) current_size

Current size (in megabytes) of data stored within schema. Size includes not only size of stored uuObjects but also size of corresponding indexes and internal meta-data.

Returns:

  • (Fixnum)


34
35
36
# File 'uu_objectstore-0.0.6/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 34

def current_size
  @current_size
end

- (String) description

Description of the object schema.

Returns:

  • (String)


25
26
27
# File 'uu_objectstore-0.0.6/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 25

def description
  @description
end

- (String) name

Name of the object schema.

Returns:

  • (String)


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

def name
  @name
end

- (UU::OS::UESURI) object_store_uri

URI of object store to which object schema belongs.

Returns:



38
39
40
# File 'uu_objectstore-0.0.6/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 38

def object_store_uri
  @object_store_uri
end

- (UU::OS::UESURI) uri

URI of the object schema.

Returns:



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

def uri
  @uri
end