Jet\DataModel_Definition_Relation_Join_Item

The class represents the definition of the link item within the relation definition. In simple terms, it is the definition of what specific property of a class is bound to another property of another class.

Overview of methods

Method Meaning of
public __construct(
DataModel_Definition_Relation $relation,
string $this_property_name,
string $related_to_property_name
)
Parameters:
  • $relation
    Definition of the relation to which the item belongs.
  • $this_property_name
    Name of the property to which the relation belongs.
  • $related_to_property_name
    The name of the property to which the relation refers.
public getThisClassName(
) : string
Returns the name of the class to which the relation belongs.
public getThisPropertyName(
) : string
Returns the name of the property to which the relation belongs.
public getThisProperty(
) : DataModel_Definition_Property
Returns the definition of the property to which the relation belongs.
public getRelatedClassName(
) : string
Returns the name of the class to which the relation refers.
public getRelatedPropertyName(
) : string
Returns the name of the property to which the relation refers.
public getRelatedProperty(
) : DataModel_Definition_Property
Returns the definition of the property referenced by the relation.
public __toString(
) : string
For debugging purposes, the item can be written as a string.
public toString(
) : string
For debugging purposes, the item can be written as a string.
Previous chapter
Jet\DataModel_Definition_Relation_External
Next chapter
Jet\DataModel_Definition_Relation_Join_Condition