java.lang.Object
com.aquima.interactions.communication.impl.evaluator.parser.AbstractSchemaValidationElement
com.aquima.interactions.communication.impl.evaluator.parser.SchemaRelation
All Implemented Interfaces:
Serializable

public class SchemaRelation extends AbstractSchemaValidationElement
Since:
11.3
Author:
Voicu Moldovan
See Also:
  • Constructor Details

  • Method Details

    • 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.
    • getEntities

      public List<SchemaEntity> getEntities()
    • getValue

      public IListValue getValue()
    • addValue

      public void addValue(EntityValue entityValue)
    • isMultiValued

      public boolean isMultiValued()
    • hasValue

      protected boolean hasValue(EntityValue entityValue)
    • toString

      public String toString()
      Overrides:
      toString in class Object