Class: IControl::LTConfig::ClassInstanceKey

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/lt_config.rb,
lib/icontrol/lt_config.rb

Overview

A class instance key specifies fully a class instance. The model is: the loosely-typed configuration system has as meta-data classes and fields. A class contains a number of fields; that is a structural description of data. To complete the model, an instance of a class contains data values. (More accurately, class instances contain data values by containing field instances). The members of this structure can be read: "name“ is an instance of class "class_name” inside object "container“.

Instance Attribute Summary collapse

Instance Attribute Details

#class_nameString

The object given by structure member “name” (below) is an instance of this class.

Returns:

  • (String)

    the current value of class_name



18
19
20
# File 'lib/icontrol/lt_config.rb', line 18

def class_name
  @class_name
end

#containerString

The class instance in which the instance resides.

Returns:

  • (String)

    the current value of container



18
19
20
# File 'lib/icontrol/lt_config.rb', line 18

def container
  @container
end

#container_classString

Unused at this time.

Returns:

  • (String)

    the current value of container_class



18
19
20
# File 'lib/icontrol/lt_config.rb', line 18

def container_class
  @container_class
end

#nameString

The name of the class instance.

Returns:

  • (String)

    the current value of name



18
19
20
# File 'lib/icontrol/lt_config.rb', line 18

def name
  @name
end