|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BusinessObject
A representation of the 'Business Object' model object.
Business objects are dimensions, measures and attributes.
This interface provides a series of methods to define some of the advanced properties of the business object:
The following features are supported:
Access Level
Binding
Data Type
Usable In Results
Usable In Conditions
Usable In Sort
Associated Lov
Associated Lov Enabled
Display Format
Technical Information
Mapping
Lineage
Method Summary | |
---|---|
AccessLevel |
getAccessLevel()
Returns the value of the 'Access Level' attribute. |
LovColumn |
getAssociatedLov()
Returns the value of the 'Associated Lov' reference. |
Binding |
getBinding()
Returns the value of the 'Binding' containment reference. |
DataType |
getDataType()
Returns the value of the 'Data Type' attribute. |
DisplayFormat |
getDisplayFormat()
Returns the value of the 'Display Format' reference. |
java.lang.String |
getLineage()
Returns the value of the 'Lineage' attribute. |
java.lang.String |
getMapping()
Returns the value of the 'Mapping' attribute. |
java.lang.String |
getSelect()
Deprecated. |
java.lang.String |
getTechnicalInformation()
Returns the value of the 'Technical Information' attribute. |
java.lang.String |
getWhere()
Deprecated. |
boolean |
isAssociatedLovEnabled()
Returns the value of the 'Associated Lov Enabled' attribute. |
boolean |
isUsableInConditions()
Returns the value of the 'Usable In Conditions' attribute. |
boolean |
isUsableInResults()
Returns the value of the 'Usable In Results' attribute. |
boolean |
isUsableInSort()
Returns the value of the 'Usable In Sort' attribute. |
void |
setAccessLevel(AccessLevel value)
Sets the value of the ' Access Level ' attribute. |
void |
setAssociatedLov(LovColumn value)
Sets the value of the ' Associated Lov ' reference. |
void |
setAssociatedLovEnabled(boolean value)
Sets the value of the ' Associated Lov Enabled ' attribute. |
void |
setDataType(DataType value)
Sets the value of the ' Data Type ' attribute. |
void |
setLineage(java.lang.String value)
Sets the value of the ' Lineage ' attribute. |
void |
setMapping(java.lang.String value)
Sets the value of the ' Mapping ' attribute. |
void |
setSelect(java.lang.String value)
Deprecated. |
void |
setTechnicalInformation(java.lang.String value)
Sets the value of the ' Technical Information ' attribute. |
void |
setUsableInConditions(boolean value)
Sets the value of the ' Usable In Conditions ' attribute. |
void |
setUsableInResults(boolean value)
Sets the value of the ' Usable In Results ' attribute. |
void |
setUsableInSort(boolean value)
Sets the value of the ' Usable In Sort ' attribute. |
void |
setWhere(java.lang.String value)
Deprecated. |
Methods inherited from interface com.sap.sl.sdk.authoring.businesslayer.BlItem |
---|
getDescription, getInheritedData, getParent, getPath, getState, setDescription, setState |
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.Customizable |
---|
getCustomProperties |
Method Detail |
---|
@Deprecated java.lang.String getSelect()
RelationalBinding.getSelect()
.
getBinding()
allows you to retrieve a RelationalBinding
.
@Deprecated void setSelect(java.lang.String value)
RelationalBinding.setSelect(String)
.
getBinding()
allows you to retrieve a RelationalBinding
.
@Deprecated java.lang.String getWhere()
RelationalBinding.getWhere()
.
getBinding()
allows you to retrieve a RelationalBinding
.
@Deprecated void setWhere(java.lang.String value)
RelationalBinding.setWhere(String)
.
getBinding()
allows you to retrieve a RelationalBinding
.
AccessLevel getAccessLevel()
AccessLevel
.
This is the access level of a business object. You can assign the following access levels to an object:
AccessLevel
,
setAccessLevel(AccessLevel)
void setAccessLevel(AccessLevel value)
Access Level
' attribute.
This is the access level of a business object.
value
- the new value of the 'Access Level' attribute.AccessLevel
,
getAccessLevel()
Binding getBinding()
Can be safely cast to RelationalBinding
for RelationalBusinessLayer
.
DataType getDataType()
""
.
The literals are from the enumeration DataType
.
This is the data type of a business object.
DataType
,
setDataType(DataType)
void setDataType(DataType value)
Data Type
' attribute.
This is the data type of a business object.
value
- the new value of the 'Data Type' attribute.DataType
,
getDataType()
boolean isUsableInResults()
"true"
.
Tells if the business object can be used as a result object.
setUsableInResults(boolean)
void setUsableInResults(boolean value)
Usable In Results
' attribute.
Allows the use of the business object as result object if value
is true
.
value
- the new value of the 'Usable In Results' attribute.isUsableInResults()
boolean isUsableInConditions()
"true"
.
Tells if the business object can be used in filters.
setUsableInConditions(boolean)
void setUsableInConditions(boolean value)
Usable In Conditions
' attribute.
Allows the use of the business object in filters if value
is true
.
value
- the new value of the 'Usable In Conditions' attribute.isUsableInConditions()
boolean isUsableInSort()
"true"
.
Tells if the business object can be used in sortings.
setUsableInSort(boolean)
void setUsableInSort(boolean value)
Usable In Sort
' attribute.
Allows the use of the business object in sortings if value
is true
.
value
- the new value of the 'Usable In Sort' attribute.isUsableInSort()
LovColumn getAssociatedLov()
This is the column of a list of values associated with the business object of the business layer.
When a business object is created, a column of a list of values is associated with the object by default. The list of values is the one computed for this object.
setAssociatedLov(LovColumn)
void setAssociatedLov(LovColumn value)
Associated Lov
' reference.
This is the column of a list of values associated with the business object.
The column is one of the following:
value
is null
StaticLovColumn
, SQLQueryLovColumn
, BusinessQueryLovColumn
, or BusinessHierarchicalLovColumn
Important: you can only associate a list of values defined in the business layer.
value
- the new value of the 'Associated Lov' reference.getAssociatedLov()
boolean isAssociatedLovEnabled()
"true"
.
Tells if a list of values can be associated with the business object.
setAssociatedLovEnabled(boolean)
void setAssociatedLovEnabled(boolean value)
Associated Lov Enabled
' attribute.
A list of values can be associated with the business object, if value
is true
.
value
- the new value of the 'Associated Lov Enabled' attribute.isAssociatedLovEnabled()
DisplayFormat getDisplayFormat()
This is the display format of the data associated with the business object.
java.lang.String getTechnicalInformation()
""
.
The technical information is part of the source information of a business object. This is information about a column, for example the original database name of the concerned column for the object.
setTechnicalInformation(String)
void setTechnicalInformation(java.lang.String value)
Technical Information
' attribute.
The technical information is part of the source information of a business object. This is information about a column, for example the original database name of the concerned column for the object.
value
- the new value of the 'Technical Information' attribute.getTechnicalInformation()
java.lang.String getMapping()
""
.
The mapping is part of the source information of a business object. This is the initial formula information describing how a column has been specified (used in Data Integrator), for example revenue = column calculated from several sources.
setMapping(String)
void setMapping(java.lang.String value)
Mapping
' attribute.
The mapping is part of the source information of a business object. This is the initial formula information describing how a column has been specified (used in Data Integrator), for example revenue = column calculated from several sources.
value
- the new value of the 'Mapping' attribute.getMapping()
java.lang.String getLineage()
""
.
The lineage is part of the source information of a business object. This specifies the source columns for the formula used to calculate the column in the database.
setLineage(String)
void setLineage(java.lang.String value)
Lineage
' attribute.
The lineage is part of the source information of a business object. This specifies the source columns for the formula used to calculate the column in the database.
value
- the new value of the 'Lineage' attribute.getLineage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |