Class BooleanType

java.lang.Object
net.ssehub.easy.varModel.model.datatypes.BasisDatatype
net.ssehub.easy.varModel.model.datatypes.BooleanType
All Implemented Interfaces:
IDatatype, IDatatypeVisitable

public class BooleanType extends BasisDatatype
Creates the BasisDatatype Boolean.
Author:
beck
  • Field Details

    • TYPE

      public static final IDatatype TYPE
    • TYPE_OF

      public static final Operation TYPE_OF
    • EQUALS

      public static final Operation EQUALS
    • UNEQUALS

      public static final Operation UNEQUALS
    • UNEQUALS_ALIAS

      public static final Operation UNEQUALS_ALIAS
    • ASSIGNMENT

      public static final Operation ASSIGNMENT
    • IS_DEFINED

      public static final Operation IS_DEFINED
    • IF_DEFINED

      public static final Operation IF_DEFINED
    • COPY

      public static final Operation COPY
    • NOT

      public static final Operation NOT
    • OR

      public static final Operation OR
    • XOR

      public static final Operation XOR
    • AND

      public static final Operation AND
    • IMPLIES

      public static final Operation IMPLIES
    • IFF

      public static final Operation IFF
    • WARNING

      public static final Operation WARNING
    • TO_STRING

      public static final Operation TO_STRING
  • Constructor Details

    • BooleanType

      private BooleanType()
      Constructor for a new BooleanType.
  • Method Details

    • accept

      public void accept(IDatatypeVisitor visitor)
      Description copied from interface: IDatatypeVisitable
      Accepts a specialized visitor for creating a textual representation of the identity of this type.
      Specified by:
      accept in interface IDatatypeVisitable
      Specified by:
      accept in class BasisDatatype
      Parameters:
      visitor - the visitor to accept
    • isAssignableFrom

      public boolean isAssignableFrom(IDatatype type)
      Description copied from class: BasisDatatype
      Determines if the data type represented by this object is either the same as, or is a supertype of type.
      Specified by:
      isAssignableFrom in interface IDatatype
      Overrides:
      isAssignableFrom in class BasisDatatype
      Parameters:
      type - the type being checked
      Returns:
      true if this type is either the same or a supertype of type, true else