Enum ControlTagType

    • Method Detail

      • values

        public static ControlTagType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ControlTagType c : ControlTagType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ControlTagType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getId

        public UUID getId()
      • getDescription

        public String getDescription()
      • getAutoPaymentOff

        public boolean getAutoPaymentOff()
      • getAutoInvoicingOff

        public boolean getAutoInvoicingOff()
      • getApplicableObjectTypes

        public List<ObjectType> getApplicableObjectTypes()
      • isAutoPayOff

        public static boolean isAutoPayOff​(Collection<UUID> input)
        Convenience method to return whether an account is configured with auto_pay_off (information of which control tag is configured with which behavior stays here)
        Parameters:
        input - tagDefinitionIds for all the tags associated to a given account
        Returns:
        whether that account is set with auto_pay_off
      • isAutoInvoicingOff

        public static boolean isAutoInvoicingOff​(Collection<UUID> input)
        Convenience method to return whether an account is configured with auto_invoicing_off (information of which control tag is configured with which behavior stays here)
        Parameters:
        input - tagDefinitionIds for all the tags associated to a given account
        Returns:
        whether that account is set with auto_invoicing_off