| UR documentation | view source | Contained in the UR distribution. |
UR::Object::Reference::Property - Metadata about the properties that link one class to another
my $classobj = Some::Class->__meta__; my @refs = $classobj->reference_metas; my @ref_props = $refs[0]->reference_property_metas;
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.
An ID property of UR::Object::Reference::Property. Denotes which UR::Object::Reference this Property belongs to.
The other ID property. Specifies how the linking properties are ordered.
The property name on the referencing class.
The property name on the referenced class.
The class name this reference points from.
The class name this reference points to.
The property metaobject the link comes from, linked via class_name and property_name
The property metaobject the link points to, linked via r_class_name and r_property_name
The Reference metaobject this link belongs to
UR::Object::Reference, UR::Object::Type::Initializer
| UR documentation | view source | Contained in the UR distribution. |