binary?
Returns true if the given attribute's syntax is X-NOT-HUMAN-READABLE or X-BINARY-TRANSFER-REQUIRED
# File lib/active_ldap/schema.rb, line 415 def binary? @binary end
binary_required?
Returns true if the value MUST be transferred in binary
# File lib/active_ldap/schema.rb, line 422 def binary_required? @binary_required end
directory_operation?
Returns true if an attribute is directory operation. It means that USAGE contains directoryOperation.
# File lib/active_ldap/schema.rb, line 430 def directory_operation? @directory_operation end
# File lib/active_ldap/schema.rb, line 469 def human_attribute_description self.class.human_attribute_description(self) end
# File lib/active_ldap/schema.rb, line 465 def human_attribute_name self.class.human_attribute_name(self) end
# File lib/active_ldap/schema.rb, line 457 def normalize_value(value) normalize_value_internal(value, false) end
read_only?
Returns true if an attribute is read-only NO-USER-MODIFICATION
# File lib/active_ldap/schema.rb, line 398 def read_only? @read_only end
single_value?
Returns true if an attribute can only have one value defined SINGLE-VALUE
# File lib/active_ldap/schema.rb, line 407 def single_value? @single_value end
# File lib/active_ldap/schema.rb, line 434 def syntax @derived_syntax end
# File lib/active_ldap/schema.rb, line 461 def syntax_description send_to_syntax(nil, :description) end
# File lib/active_ldap/schema.rb, line 473 def to_hash { :read_only => read_only?, :single_value => single_value?, :binary => binary?, :binary_required => binary_required?, :directory_operation => directory_operation?, :syntax => syntax, :syntax_description => syntax_description, } end
# File lib/active_ldap/schema.rb, line 453 def type_cast(value) send_to_syntax(value, :type_cast, value) end
Generated with the Darkfish Rdoc Generator 2.