Class UserCapacity

java.lang.Object
cl.obcom.desktopfx.core.UserCapacity

public final class UserCapacity extends Object
User capacity of the Desktop.
  • Property Details

  • Constructor Details

    • UserCapacity

      public UserCapacity(String code, String name, Integer type, String value)
      Constructs a new UserCapacity instance.
      Parameters:
      code - the code of the capacity.
      name - the name of the capacity.
      type - the name of the capacity.
      value - the value of the capacity.
      Throws:
      NullPointerException - if an argument is null.
      IllegalArgumentException - if type is negative.
  • Method Details

    • codeProperty

      public final ReadOnlyStringProperty codeProperty()
      Returns the "Code" property.
      See Also:
    • getCode

      public final String getCode()
      Returns the value of the "Code" property.
      Returns:
      the value of the "Code" property.
    • nameProperty

      public final ReadOnlyStringProperty nameProperty()
      Returns the "Name" property.
      See Also:
    • getName

      public final String getName()
      Returns the value of the "Name" property.
      Returns:
      the value of the "Name" property.
    • typeProperty

      public final ReadOnlyIntegerProperty typeProperty()
      Returns the "Type" property.
      See Also:
    • getType

      public final int getType()
      Returns the value of the "Type" property.
      Returns:
      the value of the "Type" property.
    • valueProperty

      public final ReadOnlyStringProperty valueProperty()
      Returns the "Value" property.
      See Also:
    • getValue

      public final String getValue()
      Returns the value of the "Value" property.
      Returns:
      the value of the "Value" property.