class OCI8::Metadata::TypeMethod

++
How can I know whether FUNCTION or PROCEDURE?
–
* OCI8::Metadata::Type#order_method
* OCI8::Metadata::Type#map_method
* OCI8::Metadata::Type#type_methods
This is returned by:
Metadata for a type method.

def arguments

Returns:
  • (array of OCI8::Metadata::Argument) -
def arguments
  @arguments ||= list_arguments.to_a
end

def encapsulation

or :private.
encapsulation level of the method. Values are :public
def encapsulation
  case attr_get_ub4(OCI_ATTR_ENCAPSULATION)
  when 0; :private
  when 1; :public
  end
end

def has_result?

indicates method is has rsult
def has_result?
  __boolean(OCI_ATTR_HAS_RESULT)
end

def inspect # :nodoc:

:nodoc:
def inspect # :nodoc:
  "#<#{self.class.name}: #{name}>"
end

def is_constructor?

indicates method is a constructor
def is_constructor?
  __boolean(OCI_ATTR_IS_CONSTRUCTOR)
end

def is_destructor?

indicates method is a destructor
def is_destructor?
  __boolean(OCI_ATTR_IS_DESTRUCTOR)
end

def is_final_method?

indicates this is a final method
def is_final_method?
  __boolean(OCI_ATTR_IS_FINAL_METHOD)
end

def is_instantiable_method?

indicates this is an instantiable method
def is_instantiable_method?
  __boolean(OCI_ATTR_IS_INSTANTIABLE_METHOD)
end

def is_map?

indicates method is a map method
def is_map?
  __boolean(OCI_ATTR_IS_MAP)
end

def is_operator?

indicates method is an operator
def is_operator?
  __boolean(OCI_ATTR_IS_OPERATOR)
end

def is_order?

Indicates method is an order method
def is_order?
  __boolean(OCI_ATTR_IS_ORDER)
end

def is_overriding_method?

indicates this is an overriding method
def is_overriding_method?
  __boolean(OCI_ATTR_IS_OVERRIDING_METHOD)
end

def is_rnds?

indicates "Read No Data State"(does not query database tables) is set.
def is_rnds?
  __boolean(OCI_ATTR_IS_RNDS)
end

def is_rnps?

Indicates "Read No Package State"(does not reference the values of packaged variables) is set.
def is_rnps?
  __boolean(OCI_ATTR_IS_RNPS)
end

def is_selfish?

indicates method is selfish
def is_selfish?
  __boolean(OCI_ATTR_IS_SELFISH)
end

def is_wnds?

indicates "Write No Data State"(does not modify tables) is set.
def is_wnds?
  __boolean(OCI_ATTR_IS_WNDS)
end

def is_wnps?

indicates "Write No Package State"(does not change the values of packaged variables) is set.
def is_wnps?
  __boolean(OCI_ATTR_IS_WNPS)
end

def list_arguments

argument list
def list_arguments
  __param(OCI_ATTR_LIST_ARGUMENTS)
end

def name

Name of method (procedure or function)
def name
  attr_get_string(OCI_ATTR_NAME)
end