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

All Superinterfaces:
Identifiable, Inheritable, Nameable
All Known Subinterfaces:
BusinessHierarchicalLov, BusinessQueryLov, SQLQueryLov, StaticLov

public interface Lov
extends Identifiable, Nameable, Inheritable

A representation of the model object 'Lov'.

This interface is used to represent a universe list of values, both for the data foundation and business layer. A list of values is used to propose possible answers to parameters at query time. The data foundation and business layer store a list of the lists of values that can be retrieved with the DataFoundation.getLovs() or BusinessLayer.getLovs() methods.

In the present release, you can create or edit a static list of values (StaticLov), a list of values based on a SQL query (SQLQueryLov) or on a hierarchy defined in the business layer (BusinessHierarchicalLov).

However, you cannot create a list of values based on a query created with business objects (BusinessQueryLov) and display or edit its query. You can only edit some of its parameters.

StaticLov and SQLQueryLov can be created with DataFoundationFactory or BusinessLayerFactory. BusinessHierarchicalLov can only be created with BusinessLayerFactory.

You can associate any list of values with a BusinessObject or a Parameter.

The following features are supported:


Method Summary
 java.lang.String getDescription()
          Returns the value of the 'Description' attribute.
 boolean isHidden()
          Returns the value of the 'Hidden' attribute.
 void setDescription(java.lang.String value)
          Sets the value of the 'Description' attribute.
 void setHidden(boolean value)
          Sets the value of the 'Hidden' attribute.
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Identifiable
getIdentifier
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Nameable
getName, setName
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Inheritable
getInheritedData
 

Method Detail

getDescription

java.lang.String getDescription()
Returns the value of the 'Description' attribute.

This is the description of the list of values.

Returns:
the value of the 'Description' attribute.
See Also:
setDescription(String)

setDescription

void setDescription(java.lang.String value)
Sets the value of the 'Description' attribute.

This is the description of the list of values.

Parameters:
value - the new value of the 'Description' attribute.
See Also:
getDescription()

isHidden

boolean isHidden()
Returns the value of the 'Hidden' attribute.

Tells if the list of values is displayed (false) or hidden (true).

Returns:
the value of the 'Hidden' attribute.
See Also:
setHidden(boolean)

setHidden

void setHidden(boolean value)
Sets the value of the 'Hidden' attribute.

Hides the list of values if value is true. This makes the list of values unavailable for prompts in the universe.

Parameters:
value - the new value of the 'Hidden' attribute.
See Also:
isHidden()


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