Class UserCapacity
java.lang.Object
cl.obcom.desktopfx.core.UserCapacity
-
Property Summary
PropertiesTypePropertyDescriptionfinal ReadOnlyStringPropertyReturns the "Code" property.final ReadOnlyStringPropertyReturns the "Name" property.final ReadOnlyIntegerPropertyReturns the "Type" property.final ReadOnlyStringPropertyReturns the "Value" property. -
Constructor Summary
ConstructorsConstructorDescriptionUserCapacity(String code, String name, Integer type, String value) Constructs a newUserCapacityinstance. -
Method Summary
Modifier and TypeMethodDescriptionfinal ReadOnlyStringPropertyReturns the "Code" property.final StringgetCode()Returns the value of the "Code" property.final StringgetName()Returns the value of the "Name" property.final intgetType()Returns the value of the "Type" property.final StringgetValue()Returns the value of the "Value" property.final ReadOnlyStringPropertyReturns the "Name" property.final ReadOnlyIntegerPropertyReturns the "Type" property.final ReadOnlyStringPropertyReturns the "Value" property.
-
Property Details
-
code
-
name
-
type
-
value
-
-
Constructor Details
-
UserCapacity
Constructs a newUserCapacityinstance.- 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- iftypeis 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.
-