ScalarValueDtoV2

Represents a nullable scalar value, as used by ContentNegotiationServiceOrgApacheCausewayV2 and its clients.

API

ScalarValueDtoV2.java
class ScalarValueDtoV2 {
  ScalarValueDtoV2 forNull(Class<?> type)
  ScalarValueDtoV2 forValue(Object value)
  ScalarValueDtoV2 forValue(T value, ValueSemanticsProvider<T> valueSemantics)
  boolean isNull()
  boolean isValueDecomposition()
  T getValueAs(Class<T> entityType)
}