Class SchemaRelation

    • Method Detail

      • addEntity

        protected void addEntity​(SchemaEntity entity)
      • getParentReference

        public SchemaEntity.SchemaEntityKey getParentReference()
        Returns the reference to the instance which has this relation.
        Returns:
        the reference to the parent instance, never null.
      • getPropertyName

        public String getPropertyName()
        Returns the name of the property from the domain schema which corresponds to this relation.
        Returns:
        the corresponding property name from the domain schema, never null.
      • getRelationName

        public String getRelationName()
        Returns the name of the relation from the meta model, for use when executing validations.
        Returns:
        the relation name from the meta model, never null.
      • addValue

        public void addValue​(EntityValue entityValue)
      • isMultiValued

        public boolean isMultiValued()
      • hasValue

        protected boolean hasValue​(EntityValue entityValue)