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

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

public class ElectionDto
extends AbstractDto

The Class ElectionDto.

See Also:
Serialized Form

Constructor Summary
ElectionDto(Long id, String name)
          Instantiates a new election 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

ElectionDto

public ElectionDto(Long id,
                   String name)
Instantiates a new election 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.