Enum Class AttributeAccessLevel

java.lang.Object
java.lang.Enum<AttributeAccessLevel>
modelarium.entities.attributes.AttributeAccessLevel
All Implemented Interfaces:
Serializable, Comparable<AttributeAccessLevel>, Constable

public enum AttributeAccessLevel extends Enum<AttributeAccessLevel>
Enum representing the access levels an attribute can have, determining whether other entities may read it.
  • Enum Constant Details

    • PUBLIC

      public static final AttributeAccessLevel PUBLIC
      Indicates that the attribute can be read by other entities.
    • PRIVATE

      public static final AttributeAccessLevel PRIVATE
      Indicates that the attribute can only be accessed by the entity that owns it.
  • Method Details

    • values

      public static AttributeAccessLevel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AttributeAccessLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null