com.hack23.cia.model.api.dto.application
Class AgencyDto

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

public class AgencyDto
extends AbstractDto

The Class AgencyDto.

See Also:
Serialized Form

Constructor Summary
AgencyDto(Long id, String name)
          Instantiates a new agency dto.
 
Method Summary
 Long getId()
          Gets the id.
 Set<LanguageDto> getLanguages()
          Gets the languages.
 String getName()
          Gets the name.
 Set<PortalDto> getPortals()
          Gets the portals.
 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

AgencyDto

public AgencyDto(Long id,
                 String name)
Instantiates a new agency dto.

Parameters:
id - the id
name - the name
Method Detail

getId

public final Long getId()
Gets the id.

Returns:
the id

getLanguages

public final Set<LanguageDto> getLanguages()
Gets the languages.

Returns:
the languages

getName

public final String getName()
Gets the name.

Returns:
the name

getPortals

public final Set<PortalDto> getPortals()
Gets the portals.

Returns:
the portals

setId

public final void setId(Long id)
Sets the id.

Parameters:
id - the new id

setName

public final void setName(String name)
Sets the name.

Parameters:
name - the new name


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