Wrapper around raw relation definition schemas from the Schema.
You should never have to create this object yourself.
Instead, retrieve these objects from the methods in the Schema
class.
The Schema abstractin class used to create this object
The raw relation definition schema
The cardinality of this relation definition schema.
The list of constraints set for this relation definition schema. The returned type will change if this relationd definition schema describes an attribute or a relation.
The default value for this relation. It can be used when creating new relations if the user did not enter a value (even if required).
A short description which can be used as documentation for the relation definition schema.
True if the object of the relation definition schema is a primitive type. In this case the relation is called an "attribute".
Gets the entity associated to this relation definition schema's object.
InconsistentSchemaError if the relation definition schema's object is not a valid entity
The list of options set for this relation definition schema. The returned type will change if this relationd definition schema describes an attribute or a relation.
Gets the entity associated to this relation definition schema's subject.
InconsistentSchemaError if the relation definition schema's subject is not a valid entity
The type of the relation definition. This can also be referred to as the relation definition's name.
Checks if the relation is required when using the subject or object point of view.
The point of view to use
Generated using TypeDoc
Wrapper around raw relation definition schemas from the Schema. You should never have to create this object yourself. Instead, retrieve these objects from the methods in the
Schema
class.