Class: DbAgile::Core::Schema::Logical
- Inherits:
-
Composite
- Object
- SchemaObject
- Composite
- DbAgile::Core::Schema::Logical
- Defined in:
- lib/dbagile/core/schema/logical.rb,
lib/dbagile/core/schema/logical/relvar.rb,
lib/dbagile/core/schema/logical/heading.rb,
lib/dbagile/core/schema/logical/relview.rb,
lib/dbagile/core/schema/logical/attribute.rb,
lib/dbagile/core/schema/logical/constraint.rb,
lib/dbagile/core/schema/logical/constraints.rb,
lib/dbagile/core/schema/logical/constraint/foreign_key.rb,
lib/dbagile/core/schema/logical/constraint/candidate_key.rb
Defined Under Namespace
Classes: Attribute, CandidateKey, Constraint, Constraints, ForeignKey, Heading, Relvar, Relview
Instance Attribute Summary
Attributes inherited from SchemaObject
Instance Method Summary collapse
-
#dependencies(include_parent = false) ⇒ Object
Returns an array with part dependencies.
-
#relation_variable(name) ⇒ Object
Returns a relation variable by its name.
Methods inherited from Composite
#[], #[]=, #dup, #each_part, #empty?, #initialize, #look_same_as?, #part_keys, #parts, #size, #to_s, #to_yaml, #visit, #yaml_display
Methods inherited from SchemaObject
#ancestors, #attribute?, #builder_args, #builder_handler, #candidate_key?, #composite?, #constraint?, #foreign_key?, #index?, #logical?, #outside_dependencies, #outside_dependents, #part?, #physical?, #primary_key?, #relvar?, #relview?, #schema
Constructor Details
This class inherits a constructor from DbAgile::Core::Schema::Composite
Instance Method Details
#dependencies(include_parent = false) ⇒ Object
Returns an array with part dependencies
12 13 14 |
# File 'lib/dbagile/core/schema/logical.rb', line 12 def dependencies(include_parent = false) [] end |
#relation_variable(name) ⇒ Object
Returns a relation variable by its name
7 8 9 |
# File 'lib/dbagile/core/schema/logical.rb', line 7 def relation_variable(name) self[name] end |