Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`NameValueDTO(String name, T value)` Default Constructor

Method Summary
`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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.