Class: Vorpal::HasOneConfig

Inherits:
Object
  • Object
show all
Includes:
RemoteEndConfig, ToOneConfig, Util::HashInitialization
Defined in:
lib/vorpal/configs.rb

Instance Attribute Summary collapse

Method Summary

Methods included from ToOneConfig

#associate, #get_child

Methods included from RemoteEndConfig

#child_config, #foreign_key_info, #set_foreign_key, #set_parent_class_config

Methods included from Util::HashInitialization

#initialize

Instance Attribute Details

#association_configObject

Returns the value of attribute association_config.



284
285
286
# File 'lib/vorpal/configs.rb', line 284

def association_config
  @association_config
end

#child_classObject (readonly)

Returns the value of attribute child_class.



283
284
285
# File 'lib/vorpal/configs.rb', line 283

def child_class
  @child_class
end

#fkObject (readonly)

Returns the value of attribute fk.



283
284
285
# File 'lib/vorpal/configs.rb', line 283

def fk
  @fk
end

#fk_typeObject (readonly)

Returns the value of attribute fk_type.



283
284
285
# File 'lib/vorpal/configs.rb', line 283

def fk_type
  @fk_type
end

#nameObject (readonly)

Returns the value of attribute name.



283
284
285
# File 'lib/vorpal/configs.rb', line 283

def name
  @name
end

#ownedObject (readonly)

Returns the value of attribute owned.



283
284
285
# File 'lib/vorpal/configs.rb', line 283

def owned
  @owned
end