|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lightdev.lib.holiday.client.Property
public class Property
Property for events such as 'legal holiday' or 'day with special habits'
| Constructor Summary | |
|---|---|
Property()
constructor |
|
Property(int id,
String pName)
create a property with a given id and name |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getId()
get the id of this property |
String |
getName()
get the name of this property |
void |
setId(int id)
set the unique id of this property |
void |
setName(String name)
set the name of this property |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Property()
public Property(int id,
String pName)
id - int the property idpName - String the property name| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic void setId(int id)
id - int the property idpublic int getId()
public void setName(String name)
name - String the property name to setpublic String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||