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

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

public class LanguageDto
extends AbstractDto

The Class LanguageDto.

See Also:
Serialized Form

Constructor Summary
LanguageDto()
          Instantiates a new language dto.
LanguageDto(Long id, boolean activeByDefault, String name, int usageOrder, String shortCode)
          Instantiates a new language dto.
 
Method Summary
 boolean getActiveByDefault()
          Gets the active by default.
 Long getId()
          Gets the id.
 String getName()
          Gets the name.
 String getShortCode()
          Gets the short code.
 int getUsageOrder()
          Gets the usage order.
 void setActiveByDefault(boolean activeByDefault)
          Sets the active by default.
 void setId(Long id)
          Sets the id.
 void setName(String name)
          Sets the name.
 void setShortCode(String shortCode)
          Sets the short code.
 void setUsageOrder(int usageOrder)
          Sets the usage order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageDto

public LanguageDto()
Instantiates a new language dto.


LanguageDto

public LanguageDto(Long id,
                   boolean activeByDefault,
                   String name,
                   int usageOrder,
                   String shortCode)
Instantiates a new language dto.

Parameters:
id - the id
activeByDefault - the active by default
name - the name
usageOrder - the usage order
shortCode - the short code
Method Detail

getActiveByDefault

public final boolean getActiveByDefault()
Gets the active by default.

Returns:
the active by default

getId

public final Long getId()
Gets the id.

Returns:
the id

getName

public final String getName()
Gets the name.

Returns:
the name

getShortCode

public final String getShortCode()
Gets the short code.

Returns:
the short code

getUsageOrder

public final int getUsageOrder()
Gets the usage order.

Returns:
the usage order

setActiveByDefault

public final void setActiveByDefault(boolean activeByDefault)
Sets the active by default.

Parameters:
activeByDefault - the new active by default

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

setShortCode

public final void setShortCode(String shortCode)
Sets the short code.

Parameters:
shortCode - the new short code

setUsageOrder

public final void setUsageOrder(int usageOrder)
Sets the usage order.

Parameters:
usageOrder - the new usage order


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