com.hack23.cia.model.api.dto.sweden
Class BallotDto

Package class diagram package BallotDto
java.lang.Object
  extended by com.hack23.cia.model.api.dto.common.AbstractDto
      extended by com.hack23.cia.model.api.dto.sweden.BallotDto
All Implemented Interfaces:
DataTransferObject, Serializable

public class BallotDto
extends AbstractDto

The Class BallotDto.

See Also:
Serialized Form

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

BallotDto

public BallotDto(Long id,
                 String name)
Instantiates a new ballot dto.

Parameters:
id -
name -
Method Detail

getId

public Long getId()
Gets the id.

Returns:
the id

getName

public String getName()
Gets the name.

Returns:
the name

setId

public void setId(Long id)
Sets the id.

Parameters:
id - the new id

setName

public void setName(String name)
Sets the name.

Parameters:
name - the new name


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.