com.gisgraphy.domain.valueobject

## Class NameValueDTO<T>

- java.lang.Object
- - com.gisgraphy.domain.valueobject.NameValueDTO<T>

- Type Parameters:
    `T` - the type of the value

      public class NameValueDTO<T>
      extends Object

  A simple DTO that associate a name to an Object
  Author:
    David Masclet

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NameValueDTO(String name, T value)` Default Constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()`
    `T` | `getValue()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NameValueDTO

          public NameValueDTO(String name,
                      T value)

      Default Constructor
      Parameters:
        `name` - The name of the object
        `value` - The value

  - ### Method Detail

    - #### getName

          public String getName()

      Returns:
        the name

    - #### getValue

          public T getValue()

      Returns:
        the value

Copyright © 2015. All rights reserved.