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

All Superinterfaces:
Answer

public interface IntervalAnswer
extends Answer

A representation of the model object 'Interval Answer'.

This interface represents a type of answer that can be given to a prompt. Here, the type of answer is a set of values defined by an interval of two (low and high) values.

The low and high bounds of the interval are represented using the TypedValue object. They can be either flat or hierarchical.

To instantiate an answer to a prompt that accepts a set of values between two values, you can use:

The following features are supported:


Method Summary
 TypedValue getHighValue()
          Returns the value of the 'High Value' reference.
 TypedValue getLowValue()
          Returns the value of the 'Low Value' reference.
 void setHighValue(TypedValue value)
          Sets the value of the 'High Value' reference.
 void setLowValue(TypedValue value)
          Sets the value of the 'Low Value' reference.
 

Method Detail

getLowValue

TypedValue getLowValue()
Returns the value of the 'Low Value' reference.

This is the low value that bounds the interval.

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

setLowValue

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

This is the low value that bounds the interval.

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

getHighValue

TypedValue getHighValue()
Returns the value of the 'High Value' reference.

This is the high value that bounds the interval.

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

setHighValue

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

This is the high value that bounds the interval.

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


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