module Orientdb4r::Property
This module represents API to OrientDB’s property.
Public Instance Methods
linked_class()
click to toggle source
Gets linked class if the property is a link.
# File lib/orientdb4r/rest/model.rb, line 109 def linked_class self['linkedClass'] end
mandatory()
click to toggle source
Gets the ‘mandatory’ flag.
# File lib/orientdb4r/rest/model.rb, line 91 def mandatory get_mandatory_attribute :mandatory end
max()
click to toggle source
Gets the maximal allowed value.
# File lib/orientdb4r/rest/model.rb, line 121 def max self['max'] end
min()
click to toggle source
Gets the minimal allowed value.
# File lib/orientdb4r/rest/model.rb, line 115 def min self['min'] end
name()
click to toggle source
Gets name of the property.
# File lib/orientdb4r/rest/model.rb, line 79 def name get_mandatory_attribute :name end
not_null()
click to toggle source
Gets the ‘notNull’ flag.
# File lib/orientdb4r/rest/model.rb, line 97 def not_null get_mandatory_attribute :notNull end
read_only()
click to toggle source
Gets the ‘read-only’ flag.
# File lib/orientdb4r/rest/model.rb, line 103 def read_only get_mandatory_attribute :readonly end
type()
click to toggle source
Gets type of the property.
# File lib/orientdb4r/rest/model.rb, line 85 def type get_mandatory_attribute :type end