%3 ::xotcl::Attribute ::xotcl::Attribute __object_configureparameter createForwarder defineIncrementalOperations exists init istype needsForwarder setterRedefinedOptions ::nx::VariableSlot ::nx::VariableSlot ::xotcl::Attribute->::nx::VariableSlot ::nx::ObjectParameterSlot ::nx::ObjectParameterSlot ::nx::VariableSlot->::nx::ObjectParameterSlot ::xo::Attribute ::xo::Attribute init ::xo::Attribute->::xotcl::Attribute ::xo::db::Attribute ::xo::db::Attribute attribute_reference column_spec create_attribute db_attribute_defined init ::xo::db::Attribute->::xo::Attribute

Class ::xotcl::Attribute

::xotcl::Attribute[i] create ... \
           [ -multivalued multivalued ] \
           [ -substdefault substdefault ]

Defined in

Class Relations

  • class: ::xotcl::MetaSlot[i]
  • superclass: ::nx::VariableSlot[i]
  • subclass: ::xo::Attribute[i]
::xotcl::MetaSlot create ::xotcl::Attribute \
     -superclass ::nx::VariableSlot

Methods (to be applied on instances)

  • __object_configureparameter (scripted, public)

     <instance of xotcl::Attribute[i]> __object_configureparameter

    Testcases:
    No testcase defined.
    set slotObjects [nsf::directdispatch [self] ::nsf::methods::object::info::lookupslots -type ::nx::Slot]
    set parameterDefinitions [::nsf::parameter::specs -nonposargs $slotObjects]
    lappend parameterDefinitions args:alias,method=residualargs,args
    return $parameterDefinitions
  • createForwarder (scripted, public)

     <instance of xotcl::Attribute[i]> createForwarder name domain
    Parameters:
    name (required)
    domain (required)

    Testcases:
    No testcase defined.
    ::nsf::method::forward $domain  -per-object=${:per-object}  $name  -prefix value=  ${:manager}  "%1 {get set}" %self  ${:forwardername}
  • exists (scripted, public)

     <instance of xotcl::Attribute[i]> exists var
    Parameters:
    var (required)

    Testcases:
    No testcase defined.
    ::nsf::var::exists [self$var
  • istype (scripted, public)

     <instance of xotcl::Attribute[i]> istype class
    Parameters:
    class (required)

    Testcases:
    No testcase defined.
    return [expr {[::nsf::is class $class] &&
              [::nsf::directdispatch [self] ::nsf::methods::object::info::hastype $class]}]