Modifier and Type | Field and Description |
---|---|
static String |
LOCATION_NOT_AVAILABLE |
Constructor and Description |
---|
MetadataImpl(T value) |
MetadataImpl(T value,
String location) |
Modifier and Type | Method and Description |
---|---|
static <T> MetadataImpl<T> |
from(T value) |
String |
getLocation()
The location of the metadata, used in error and log messages
|
T |
getValue()
The metadata value
|
String |
toString() |
public static final String LOCATION_NOT_AVAILABLE
public MetadataImpl(T value)
value
- public static <T> MetadataImpl<T> from(T value)
public String getLocation()
Metadata
getLocation
in interface Metadata<T>
Copyright © 2008–2017. All rights reserved.