ModelCustomEntities module
RelationshipDefinition
A model in the CustomEntities module, with 15 members for templates, 12 API properties and 17 members for admin templates.
Templates view
Properties 15
Take no arguments.
-
#
getAllowedEntity() -
?Definition - Get the allowed target entity for this definition. If multiple entities are allowed, only returns the first entity.
-
#
getId() -
?int -
#
getName() -
?string -
#
getIdentifier() -
?string -
#
getPosition() -
?int -
#
getMinRecords() -
?int -
#
getMaxRecords() -
?int -
#
getDefinition() -
?Definition -
#
getRelationships() -
?Collection<Relationship> -
#
getAllowedEntities() -
?Collection<Definition> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 12
Read-only values on the record.
-
#
allowedEntity -
?Definition - Get the allowed target entity for this definition. If multiple entities are allowed, only returns the first entity.
-
#
id -
?int -
#
name -
?string -
#
identifier -
?string -
#
position -
?int -
#
minRecords -
?int -
#
maxRecords -
?int -
#
definition -
?Definition -
#
relationships -
?Collection<Relationship> -
#
allowedEntities -
?Collection<Definition>
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 17
Take no arguments.
-
#
getAllowedEntity() -
?Definition - Get the allowed target entity for this definition. If multiple entities are allowed, only returns the first entity.
-
#
getId() -
?int -
#
getName() -
?string -
#
getIdentifier() -
?string -
#
getPosition() -
?int -
#
getMinRecords() -
?int -
#
getMaxRecords() -
?int -
#
getDefinition() -
?Definition -
#
getRelationships() -
?Collection<Relationship> -
#
getAllowedEntities() -
?Collection<Definition> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
-
#
hasMultipleEntitiesAllowed()Admin only -
bool - Check whether multiple entities are allowed as target for this relationship definition
No members match the filter.