Package cl.obcom.desktopfx.core
Class UserCapacity
java.lang.Object
cl.obcom.desktopfx.core.UserCapacity
User capacity of the
Desktop
.-
Property Summary
TypePropertyDescriptionfinal ReadOnlyStringProperty
Returns the "Code" property.final ReadOnlyStringProperty
Returns the "Name" property.final ReadOnlyIntegerProperty
Returns the "Type" property.final ReadOnlyStringProperty
Returns the "Value" property. -
Constructor Summary
ConstructorDescriptionUserCapacity
(String code, String name, Integer type, String value) Constructs a newUserCapacity
instance. -
Method Summary
Modifier and TypeMethodDescriptionfinal ReadOnlyStringProperty
Returns the "Code" property.final String
getCode()
Returns the value of the "Code" property.final String
getName()
Returns the value of the "Name" property.final int
getType()
Returns the value of the "Type" property.final String
getValue()
Returns the value of the "Value" property.final ReadOnlyStringProperty
Returns the "Name" property.final ReadOnlyIntegerProperty
Returns the "Type" property.final ReadOnlyStringProperty
Returns the "Value" property.
-
Property Details
-
code
Returns the "Code" property.- See Also:
-
name
Returns the "Name" property.- See Also:
-
type
Returns the "Type" property.- See Also:
-
value
Returns the "Value" property.- See Also:
-
-
Constructor Details
-
UserCapacity
Constructs a newUserCapacity
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 isnull
.IllegalArgumentException
- iftype
is negative.
-
-
Method Details
-
codeProperty
Returns the "Code" property.- Returns:
- the "Code" property.
- See Also:
-
getCode
Returns the value of the "Code" property.- Returns:
- the value of the "Code" property.
-
nameProperty
Returns the "Name" property.- Returns:
- the "Name" property.
- See Also:
-
getName
Returns the value of the "Name" property.- Returns:
- the value of the "Name" property.
-
typeProperty
Returns the "Type" property.- 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
Returns the "Value" property.- Returns:
- the "Value" property.
- See Also:
-
getValue
Returns the value of the "Value" property.- Returns:
- the value of the "Value" property.
-