Package jadex.micro.tutorial
Class UserProfileD3
- java.lang.Object
-
- jadex.micro.tutorial.UserProfileD3
-
public class UserProfileD3 extends java.lang.ObjectSimple user profile struct.
-
-
Field Summary
Fields Modifier and Type Field Description protected intageThe age.protected java.lang.StringdescriptionThe description.protected booleangenderThe gender.protected java.lang.StringnameThe name.
-
Constructor Summary
Constructors Constructor Description UserProfileD3()Create a new user profile.UserProfileD3(java.lang.String name, int age, boolean gender, java.lang.String description)Create a new user profile.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAge()Get the age.java.lang.StringgetDescription()Get the description.java.lang.StringgetName()Get the name.booleanisGender()Get the gender.voidsetAge(int age)Set the age.voidsetDescription(java.lang.String description)Set the description.voidsetGender(boolean gender)Set the gender.voidsetName(java.lang.String name)Set the name.java.lang.StringtoString()Get the string representation.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name.- Returns:
- The name.
-
setName
public void setName(java.lang.String name)
Set the name.- Parameters:
name- The name to set.
-
getAge
public int getAge()
Get the age.- Returns:
- The age.
-
setAge
public void setAge(int age)
Set the age.- Parameters:
age- The age to set.
-
isGender
public boolean isGender()
Get the gender.- Returns:
- The gender.
-
setGender
public void setGender(boolean gender)
Set the gender.- Parameters:
gender- The gender to set.
-
getDescription
public java.lang.String getDescription()
Get the description.- Returns:
- The description.
-
setDescription
public void setDescription(java.lang.String description)
Set the description.- Parameters:
description- The description to set.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toStringin classjava.lang.Object
-
-