People
Class Person

java.lang.Object
  extended by People.Person

public class Person
extends java.lang.Object

Exemplo de heranca - superclasse Person

Version:
0.1 Mar 18th, 2011
Author:
Moacir Ponti Jr.

Field Summary
protected static java.lang.Integer birthday
           
protected  java.lang.Integer birthyear
           
 
Constructor Summary
Person(java.lang.String name, java.lang.String institute)
          Constructor for objects of class Person
 
Method Summary
 java.lang.String getInstitute()
          getInstitute()
 java.lang.String getName()
          getName()
 void setInstitute(java.lang.String institute)
          setName()
 void setName(java.lang.String name)
          setName()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

birthday

protected static java.lang.Integer birthday

birthyear

protected java.lang.Integer birthyear
Constructor Detail

Person

public Person(java.lang.String name,
              java.lang.String institute)
Constructor for objects of class Person

Method Detail

getInstitute

public java.lang.String getInstitute()
getInstitute()

Returns:
the person's institute

getName

public java.lang.String getName()
getName()

Returns:
the person's name

setInstitute

public void setInstitute(java.lang.String institute)
setName()

Parameters:
person's - name

setName

public void setName(java.lang.String name)
setName()

Parameters:
person's - name