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

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

public class ParliamentDto
extends AbstractDto

The Class ParliamentDto.

See Also:
Serialized Form

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

ParliamentDto

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