UR::Object::Reference::Property - Metadata about the properties that link one class to another


UR documentation  | view source Contained in the UR distribution.

Index


NAME

Top

UR::Object::Reference::Property - Metadata about the properties that link one class to another

SYNOPSIS

Top

  my $classobj = Some::Class->__meta__;
  my @refs = $classobj->reference_metas;

  my @ref_props = $refs[0]->reference_property_metas;

DESCRIPTION

Top

This class implements the infrastructure metadata about how classes are linked to each other. Whenever the class initializer encounters an indirect property, a Reference object is created to denote the classes linked, and UR::Object::Reference::Property object for each property involved in the link.

Instances of UR::Object::Reference::Property are not created directly, but exist as a concequence of class metadata creation.

PROPERTIES

Top

tha_id => Text

An ID property of UR::Object::Reference::Property. Denotes which UR::Object::Reference this Property belongs to.

rank => Integer

The other ID property. Specifies how the linking properties are ordered.

property_name => Text

The property name on the referencing class.

r_property_name => Text

The property name on the referenced class.

class_name => Text

The class name this reference points from.

r_class_name => Text

The class name this reference points to.

property_meta => UR::Object::Property

The property metaobject the link comes from, linked via class_name and property_name

r_property_meta => UR::Object::Property

The property metaobject the link points to, linked via r_class_name and r_property_name

reference_meta => UR::Object::Reference

The Reference metaobject this link belongs to

SEE ALSO

Top

UR::Object::Reference, UR::Object::Type::Initializer


UR documentation  | view source Contained in the UR distribution.