|
||||||||||
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.BallotDto
public class BallotDto
The Class BallotDto.
Constructor Summary | |
---|---|
BallotDto(Long id,
String name)
Instantiates a new ballot 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 BallotDto(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 |