- Type Parameters:
O- the type of Java object
- All Superinterfaces:
ObjectTyped<O>,ScalarTyped,ScalarValued,TokenTyped,TokenValued
- All Known Subinterfaces:
ObjectInputField<T>,ObjectValuedIterator<T>
- All Known Implementing Classes:
ObjectRegister,ObjectToken
A
TokenValued object containing a Java object.- See Also:
-
TokenTypeConstant#OBJECT(Class)
-
Method Summary
Methods inherited from interface com.pervasive.datarush.tokens.scalar.ScalarValued
isZeroMethods inherited from interface com.pervasive.datarush.tokens.TokenValued
isNull
-
Method Details
-
getType
ObjectTokenType<O> getType()Description copied from interface:TokenValuedGets the data type of the token. This type will dictate the valid values that can be contained.- Specified by:
getTypein interfaceObjectTyped<O>- Specified by:
getTypein interfaceScalarTyped- Specified by:
getTypein interfaceScalarValued- Specified by:
getTypein interfaceTokenTyped- Specified by:
getTypein interfaceTokenValued- Returns:
- the token type.
-
asObject
O asObject()Gets the contained Java object.- Returns:
- the contained value. If null valued, as indicated by
TokenValued.isNull(),nullis returned.
-