Package lukas.wais.smart.mirror.model
Class Person
java.lang.Object
lukas.wais.smart.mirror.model.Person
public class Person
extends java.lang.Object
Represents Persons, the users of the mirror.
- Author:
- Lukas Wais
-
Property Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description javafx.beans.property.StringPropertyemailProperty()booleanequals(java.lang.Object obj)javafx.beans.property.StringPropertyfirstNameProperty()java.lang.StringgetEmail()java.lang.StringgetFirstName()java.lang.StringgetID()java.lang.StringgetLastName()java.lang.StringgetNickname()javafx.beans.property.StringPropertylastNameProperty()javafx.beans.property.StringPropertynicknameProperty()voidsetID(java.lang.String ID)Sets the ID of the user.java.lang.StringtoString()
-
Property Details
-
firstName
public javafx.beans.property.StringProperty firstNameProperty- See Also:
getFirstName()
-
lastName
public javafx.beans.property.StringProperty lastNameProperty- See Also:
getLastName()
-
nickname
public javafx.beans.property.StringProperty nicknameProperty- See Also:
getNickname()
-
email
public javafx.beans.property.StringProperty emailProperty- See Also:
getEmail()
-
-
Constructor Details
-
Method Details
-
getID
public java.lang.String getID()- Returns:
- ID of the User as String.
-
firstNameProperty
public javafx.beans.property.StringProperty firstNameProperty()- See Also:
getFirstName()
-
lastNameProperty
public javafx.beans.property.StringProperty lastNameProperty()- See Also:
getLastName()
-
nicknameProperty
public javafx.beans.property.StringProperty nicknameProperty()- See Also:
getNickname()
-
emailProperty
public javafx.beans.property.StringProperty emailProperty()- See Also:
getEmail()
-
getFirstName
public java.lang.String getFirstName()- Returns:
- the first name of the User as String.
-
getLastName
public java.lang.String getLastName()- Returns:
- the last name of the User as String.
-
getNickname
public java.lang.String getNickname()- Returns:
- the nickname of the User as String.
-
getEmail
public java.lang.String getEmail()- Returns:
- the email of the User as String.
-
setID
public void setID(java.lang.String ID)Sets the ID of the user.- Parameters:
ID- new ID of the user.
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-