Class RelationType

java.lang.Object
nz.org.riskscape.engine.types.RelationType
All Implemented Interfaces:
ContainingType, Type

public class RelationType extends Object implements Type, ContainingType

Represents a Relation using Riskscape's type system. Gives information about what sort of values the relation will yield via getMemberType().

  • Field Details

    • TYPE_CONSTRUCTOR

      public static final ComplexTypeConstructor TYPE_CONSTRUCTOR
    • TYPE_INFORMATION

      public static final TypeInformation TYPE_INFORMATION
    • WILD

      public static final RelationType WILD

      Useful constant that represents a relation of any kind, in as much as a relation with no specific members is going to accept any other relation.

  • Constructor Details

    • RelationType

      public RelationType(Struct memberType)
  • Method Details