Constructor and Description |
---|
LoginProfile(int code,
String name)
Constructs a new
LoginProfile instance. |
Modifier and Type | Method and Description |
---|---|
ReadOnlyIntegerProperty |
codeProperty()
Returns the "Code" property.
|
int |
getCode()
Returns the value of the "Code" property.
|
String |
getName()
Returns the value of the "Name" property.
|
ReadOnlyStringProperty |
nameProperty()
Returns the "Name" property.
|
public LoginProfile(int code, String name)
LoginProfile
instance.code
- the identification of the profile.name
- the name of the profile.IllegalArgumentException
- if code
is invalid.NullPointerException
- if name
is null
.public ReadOnlyIntegerProperty codeProperty()
public int getCode()
public ReadOnlyStringProperty nameProperty()
public String getName()
Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.