org.appng.xml.platform

## Class Pattern

- java.lang.Object
- - org.appng.xml.BaseObject
  - - org.appng.xml.platform.ValidationRule
    - - org.appng.xml.platform.Pattern

- All Implemented Interfaces:
    Serializable

      public class Pattern
      extends ValidationRule
      implements Serializable

  A `ValidationRule` indicating the `FieldDef`'s value must match the regular expression defined by `getRegexp()`.
  See Also:
    Serialized Form

- - ### Field Summary

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

    - ### Fields inherited from class org.appng.xml.platform.ValidationRule

      `message`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Pattern()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getRegexp()` The regular expression for the field.
    `void` | `setRegexp(String value)` Sets the value of the regexp property.

    - ### Methods inherited from class org.appng.xml.platform.ValidationRule

      `getMessage, setMessage`

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

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

- - ### Field Detail

    - #### regexp

          protected String regexp

  - ### Constructor Detail

    - #### Pattern

          public Pattern()

  - ### Method Detail

    - #### getRegexp

          public String getRegexp()

      The regular expression for the field.
      Returns:
        possible object is `String`

    - #### setRegexp

          public void setRegexp(String value)

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

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