org.appng.xml.platform

## Class Condition

- java.lang.Object
- - org.appng.xml.BaseObject
  - - org.appng.xml.platform.Condition

- All Implemented Interfaces:
    Serializable

      public class Condition
      extends BaseObject
      implements Serializable

  A `Condition` is used to check whether the owning element should be displayed.
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `expression`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Condition()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getExpression()` An expression that must evaluate to `true` or `false`
    `void` | `setExpression(String value)` Sets the value of the expression property.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### expression

          protected String expression

  - ### Constructor Detail

    - #### Condition

          public Condition()

  - ### Method Detail

    - #### getExpression

          public String getExpression()

      An expression that must evaluate to `true` or `false`
      Returns:
        possible object is `String`

    - #### setExpression

          public void setExpression(String value)

      Sets the value of the expression property.
      Parameters:
        `value` - allowed object is `String`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.