Interface PlaceholderValue
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
PlaceholderValue.AbstractPlaceholderValue,PlaceholderValue.PlaceholderCharSequence,PlaceholderValue.PlaceholderUdtValue
public interface PlaceholderValue extends Serializable
This interface represents placeholder for data values. For instance, if a value exceeds a size limit, it may be replaced by such a placeholder and the actual value can be retrieved on demand. The logic needs to be an interface to support proxies wrapping values, for instancede.aristaflow.adept2.model.common.defaultimplementation#CloseIgnoringWrapper.
Only the predefined singleton instances of the placeholders must be used. Each one has a corresponding data type. When comparing use#equals(Object)on the corresponding singleton instance, for instanceUDT_VALUE_PLACEHOLDER.equals(...)! Do not compare with==since this does not work with proxies!This interface must not be extended and not be implemented outside of this file!
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlaceholderValue.AbstractPlaceholderValueAbstract class providing the basic methods for aPlaceholderValue, for instancePlaceholderValue.AbstractPlaceholderValue.equals(Object)andPlaceholderValue.AbstractPlaceholderValue.hashCode().static classPlaceholderValue.PlaceholderCharSequenceThis class implements thePlaceholderValuefor a value ofProcessConstants.AdeptDataType.STRING.static classPlaceholderValue.PlaceholderUdtValueThis class implements thePlaceholderValuefor a value ofProcessConstants.AdeptDataType.USERDEFINEDtype.
-
Field Summary
Fields Modifier and Type Field Description static SerializableSTRING_VALUE_PLACEHOLDERA placeholder for aProcessConstants.AdeptDataType.STRINGvalue to be requested on demand.static StringUDT_NAMEThe user-defined type name used for a placeholderUDTValue.static UDTValueUDT_VALUE_PLACEHOLDERThe singleton representing anUDTValuethat is not transferred since it is too big.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessConstants.AdeptDataTypegetDataType()Gets the data type this instance is a placeholder value for.
-
-
-
Field Detail
-
STRING_VALUE_PLACEHOLDER
static final Serializable STRING_VALUE_PLACEHOLDER
A placeholder for aProcessConstants.AdeptDataType.STRINGvalue to be requested on demand.
-
UDT_NAME
static final String UDT_NAME
The user-defined type name used for a placeholderUDTValue.- See Also:
- Constant Field Values
-
UDT_VALUE_PLACEHOLDER
static final UDTValue UDT_VALUE_PLACEHOLDER
The singleton representing anUDTValuethat is not transferred since it is too big. The actual value has to be retrieved lazily from the server.
-
-
Method Detail
-
getDataType
ProcessConstants.AdeptDataType getDataType()
Gets the data type this instance is a placeholder value for. This method is used for#equals(Object)since methods can be called on proxies.- Returns:
- The data type this instance is a placeholder value for.
-
-