Package cl.obcom.desktopfx.core
Interface DesktopStation
public interface DesktopStation
Station where the
Desktop
is executing.-
Property Summary
TypePropertyDescriptionThe the name of the station.The serial of the station. -
Method Summary
Modifier and TypeMethodDescriptionvoid
changeName
(String newName, char[] password) Changes the name of the station if the password is correct.getName()
Returns the name of the station.Returns the serial of the station.The the name of the station.The serial of the station.
-
Property Details
-
name
ReadOnlyStringProperty namePropertyThe the name of the station.- See Also:
-
serial
ReadOnlyStringProperty serialPropertyThe serial of the station.- See Also:
-
-
Method Details
-
nameProperty
ReadOnlyStringProperty nameProperty()The the name of the station.- Returns:
- the name of the station.
- See Also:
-
getName
String getName()Returns the name of the station.- Returns:
- the name of the station.
-
changeName
Changes the name of the station if the password is correct.- Parameters:
newName
- the new name of the station.password
- the password of the new name of the station.- Throws:
NullPointerException
- if an argument isnull
.IllegalArgumentException
- if thepassword
is invalid.StationException
- ifnewName
is assigned to another station.
-
serialProperty
ReadOnlyStringProperty serialProperty()The serial of the station.- Returns:
- serial of the station.
- See Also:
-
getSerial
String getSerial()Returns the serial of the station.- Returns:
- the serial of the station.
-