Interface OapiComponentRule


public interface OapiComponentRule
A conditional expression defining the component's Presence.

The following attributes and references are supported:

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the rule.
    Returns an override for the component's presence when the expression is true.
    Returns a logic statement defining the condition when the rule applies.
    void
    setName(String value)
    Set the name of the rule.
    void
    Set an override for the component's presence when the expression is true.
    void
    setWhen(String value)
    Set a logic statement defining the condition when the rule applies.
  • Method Details

    • getWhen

      String getWhen()
      Returns a logic statement defining the condition when the rule applies.
      Returns:
      a logic statement defining the condition when the rule applies
      See Also:
    • setWhen

      void setWhen(String value)
      Set a logic statement defining the condition when the rule applies.
      Parameters:
      value - the new value of the 'When' attribute.
      See Also:
    • getName

      String getName()
      Returns the name of the rule.
      Returns:
      the name of the rule
      See Also:
    • setName

      void setName(String value)
      Set the name of the rule.
      Parameters:
      value - the new value of the 'Name' attribute.
      See Also:
    • getPresence

      Presence getPresence()
      Returns an override for the component's presence when the expression is true. The literals are from the enumeration Presence.
      Returns:
      an override for the component's presence when the expression is true
      See Also:
    • setPresence

      void setPresence(Presence value)
      Set an override for the component's presence when the expression is true.
      Parameters:
      value - the new value of the 'Presence' attribute.
      See Also: