|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.api.dto.common.AbstractDto com.hack23.cia.model.api.dto.sweden.ParliamentYearDto
public class ParliamentYearDto
The Class ParliamentYearDto.
Constructor Summary | |
---|---|
ParliamentYearDto(Long id,
String name)
Instantiates a new parliament year dto. |
Method Summary | |
---|---|
Long |
getId()
Gets the id. |
String |
getName()
Gets the name. |
void |
setId(Long id)
Sets the id. |
void |
setName(String name)
Sets the name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParliamentYearDto(Long id, String name)
id
- name
- Method Detail |
---|
public Long getId()
public String getName()
public void setId(Long id)
id
- the new idpublic void setName(String name)
name
- the new name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |