Class ConcentrationSurrogate
-
- All Implemented Interfaces:
public final class ConcentrationSurrogate<T extends Object> extends GraphQLSurrogate<Concentration<T>>
A GraphQL surrogate for a Concentration object. Note: the content of the surrogate is a String (Json String) representation of the actual content inside the origin.
-
-
Field Summary
Fields Modifier and Type Field Description private final Concentration<T>
origin
private final String
content
-
Constructor Summary
Constructors Constructor Description ConcentrationSurrogate(Concentration<T> origin, String content)
-
Method Summary
Modifier and Type Method Description Concentration<T>
getOrigin()
final String
getContent()
The content of the concentration of type T, represented as a Json String. -
-
Constructor Detail
-
ConcentrationSurrogate
ConcentrationSurrogate(Concentration<T> origin, String content)
-
-
Method Detail
-
getOrigin
Concentration<T> getOrigin()
-
getContent
final String getContent()
The content of the concentration of type T, represented as a Json String.
-
-
-
-