java.lang.Object
org.opencastproject.assetmanager.api.Value
Direct Known Subclasses:
Value.TypedValue

@ParametersAreNonnullByDefault public abstract class Value extends Object
A property value.

The wrapped type is not exposed as a generic type parameter since Values appear in contexts like lists where this type information cannot be preserved. To access the wrapped type one can choose between two options. If the type is known, use get(ValueType). If the type is not known, safely decompose the value with decompose(Fn, Fn, Fn, Fn, Fn).

The value type is a sum type made up from

Use one of the various mk(..) constructors to create a new Value.

See Also: