Interface ObjectProperty


public interface ObjectProperty
Represents a ObjectValue property.
Since:
3.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines whether this property is constant and cannot be changed in runtime.
    static @NotNull ObjectProperty
    property(@NotNull Value value, boolean constant)
    Creates a new ObjectProperty with the given Value and constant flag.
    @NotNull Value
    Returns the value of this property.
  • Method Details

    • property

      @NotNull static @NotNull ObjectProperty property(@NotNull @NotNull Value value, boolean constant)
      Creates a new ObjectProperty with the given Value and constant flag.
      Parameters:
      value - The value of the property
      constant - Whether the property is constant or not
      Returns:
      The created property
      Since:
      3.0.0
    • value

      @NotNull @NotNull Value value()
      Returns the value of this property.
      Returns:
      The value of this property
      Since:
      3.0.0
    • constant

      boolean constant()
      Determines whether this property is constant and cannot be changed in runtime.
      Returns:
      Whether this property is constant or not
      Since:
      3.0.0