com.sap.sl.sdk.authoring.datafoundation
Interface SingleValueAnswer

All Superinterfaces:
Answer

public interface SingleValueAnswer
extends Answer

A representation of the model object 'Single Value Answer'.

This interface represents a type of answer that can be given to a prompt. Here, the type of answer is a single value.

The value s represented using the TypedValue object. It can be either flat or hierarchical.

To instantiate an answer to a prompt that accepts a single value, you can use:

The following features are supported:


Method Summary
 TypedValue getValue()
          Returns the value of the 'Value' reference.
 void setValue(TypedValue value)
          Sets the value of the 'Value' reference.
 

Method Detail

getValue

TypedValue getValue()
Returns the value of the 'Value' reference.

This is the value that can be used as answer to a prompt.

Returns:
the value of the 'Value' reference.
See Also:
setValue(TypedValue)

setValue

void setValue(TypedValue value)
Sets the value of the 'Value' reference.

This is the value that can be used as answer to a prompt.

Parameters:
value - the new value of the 'Value' reference.
See Also:
getValue()


© Copyright 2016 SAP SE or an SAP affiliate company. All rights reserved.