Package org.appng.xml.platform
Class Subject
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.Subject
-
- All Implemented Interfaces:
Serializable
public class Subject extends BaseObject implements Serializable
A subject contains information about the currently logged-in user.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Localization
localization
protected String
name
protected String
username
-
Constructor Summary
Constructors Constructor Description Subject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Localization
getLocalization()
Gets the value of the localization property.String
getName()
Gets the value of the name property.String
getUsername()
Gets the value of the username property.void
setLocalization(Localization value)
Sets the value of the localization property.void
setName(String value)
Sets the value of the name property.void
setUsername(String value)
Sets the value of the username property.
-
-
-
Field Detail
-
username
protected String username
-
name
protected String name
-
localization
protected Localization localization
-
-
Method Detail
-
getUsername
public String getUsername()
Gets the value of the username property.- Returns:
- possible object is
String
-
setUsername
public void setUsername(String value)
Sets the value of the username property.- Parameters:
value
- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getLocalization
public Localization getLocalization()
Gets the value of the localization property.- Returns:
- possible object is
Localization
-
setLocalization
public void setLocalization(Localization value)
Sets the value of the localization property.- Parameters:
value
- allowed object isLocalization
-
-