Class Defines

java.lang.Object
com._1c.g5.v8.dt.bsl.model.common.Defines

public class Defines extends Object
Set of Define instance.
  • Field Details

    • EMPTY

      public static final Defines EMPTY
  • Constructor Details

    • Defines

      public Defines(Define... defines)
      Constructor.
      Parameters:
      defines - array of Define to be contained in created instance.
  • Method Details

    • defined

      public Define defined(String symbol)
      Checks whether symbol defined or not.
      Parameters:
      symbol - symbol to check. May not be null.
      Returns:
      instance of corresponding Define if symbol is defined. Otherwise null.
    • environments

      public Environments environments(String symbol)
      Gets Environments instance associated with symbol.
      Parameters:
      symbol - symbol to check. May not be null.
      Returns:
      instance of corresponding Environments if symbol is defined. Otherwise null.
    • add

      public Defines add(Defines defines)
      Adds instance of Defines passed in parameter to this instance and creates new containig sum of two instances.
      Parameters:
      defines - instance of Defines to be added to this. Can't be null.
      Returns:
      result of addition.