public class UserProfileD3 extends Object
| Constructor and Description |
|---|
UserProfileD3()
Create a new user profile.
|
UserProfileD3(String name,
int age,
boolean gender,
String description)
Create a new user profile.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAge()
Get the age.
|
String |
getDescription()
Get the description.
|
String |
getName()
Get the name.
|
boolean |
isGender()
Get the gender.
|
void |
setAge(int age)
Set the age.
|
void |
setDescription(String description)
Set the description.
|
void |
setGender(boolean gender)
Set the gender.
|
void |
setName(String name)
Set the name.
|
String |
toString()
Get the string representation.
|
public String getName()
public void setName(String name)
name - The name to set.public int getAge()
public void setAge(int age)
age - The age to set.public boolean isGender()
public void setGender(boolean gender)
gender - The gender to set.public String getDescription()
public void setDescription(String description)
description - The description to set.Copyright © 2012. All Rights Reserved.