public class NameTitle
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected java.lang.String |
title |
Constructor and Description |
---|
NameTitle() |
NameTitle(java.lang.String name,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getTitle() |
void |
setTitle(java.lang.String title) |
java.lang.String |
toString() |