module Neo4j::ActiveNode::IdProperty::Accessor
Provides get/set of the Id Property
values. Some methods
Attributes
default_property_value[R]
Public Instance Methods
default_properties()
click to toggle source
# File lib/neo4j/active_node/id_property/accessor.rb 22 def default_properties 23 @default_properties ||= Hash.new(nil) 24 end
default_properties=(properties)
click to toggle source
# File lib/neo4j/active_node/id_property/accessor.rb 9 def default_properties=(properties) 10 @default_property_value = properties[default_property_key] 11 end
default_property(key)
click to toggle source
# File lib/neo4j/active_node/id_property/accessor.rb 13 def default_property(key) 14 return nil unless key == default_property_key 15 default_property_value 16 end
default_property_key()
click to toggle source
# File lib/neo4j/active_node/id_property/accessor.rb 18 def default_property_key 19 self.class.default_property_key 20 end