NAME
UR::Object::Reference::Property - Metadata about the properties that link one class to another
SYNOPSIS
my $classobj = Some::Class->__meta__;
my @refs = $classobj->reference_metas;
my @ref_props = $refs[0]->reference_property_metas;
DESCRIPTION
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
- 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
UR::Object::Reference, UR::Object::Type::Initializer
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 6:
=cut found outside a pod block. Skipping to next block.
- Around line 22:
=cut found outside a pod block. Skipping to next block.