Skip to content

Commit f9bade8

Browse files
sapsirionGerrit Code Review
authored and
Gerrit Code Review
committed
Merge "[INTERNAL] Remove experimental flags"
2 parents 239ea10 + 6d668b9 commit f9bade8

File tree

5 files changed

+63
-62
lines changed

5 files changed

+63
-62
lines changed

src/sap.ui.core/src/sap/ui/base/ManagedObject.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@ sap.ui.define([
176176
* @version ${version}
177177
* @public
178178
* @alias sap.ui.base.ManagedObject
179-
* @experimental Since 1.11.2. ManagedObject as such is public and usable. Only the support for the optional parameter
180-
* oScope in the constructor is still experimental and might change in future versions. Applications should not rely on it.
181179
*/
182180
var ManagedObject = EventProvider.extend("sap.ui.base.ManagedObject", {
183181

@@ -681,16 +679,15 @@ sap.ui.define([
681679
* <b>'specialSettings'</b> : <i>object</i><br>
682680
* Special settings are an experimental feature and MUST NOT BE USED by controls or applications outside of the sap.ui.core project.
683681
*
682+
*
683+
*
684684
* @param {string} sClassName name of the class to be created
685685
* @param {object} [oClassInfo] object literal with informations about the class
686686
* @param {function} [FNMetaImpl] constructor function for the metadata object. If not given, it defaults to sap.ui.core.ManagedObjectMetadata.
687687
* @return {function} the created class / constructor function
688688
*
689689
* @public
690690
* @static
691-
* @experimental Since 1.27.0 Support for 'specialSettings' is experimental and might be modified or removed in future versions.
692-
* They must not be used in any way outside of the sap.ui.core library. Code outside sap.ui.core must not declare special settings
693-
* nor must it try to retrieve / evaluate metadata for such settings.
694691
* @name sap.ui.base.ManagedObject.extend
695692
* @function
696693
*/
@@ -824,8 +821,6 @@ sap.ui.define([
824821
* @param {object} [oScope] Scope object to resolve types and formatters
825822
* @return {sap.ui.base.ManagedObject} Returns <code>this</code> to allow method chaining
826823
* @public
827-
* @experimental Since 1.11.2 support for the scope object for resolving string based type
828-
* and formatter references in bindings is still experimental
829824
*/
830825
ManagedObject.prototype.applySettings = function(mSettings, oScope) {
831826

src/sap.ui.core/src/sap/ui/base/ManagedObjectMetadata.js

Lines changed: 61 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
4646
*
4747
* </ul>
4848
*
49+
*
4950
* @author Frank Weigel
5051
* @version ${version}
5152
* @since 0.8.6
@@ -578,13 +579,14 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
578579
* If neither the described class nor its ancestor classes define a property with the
579580
* given name, <code>undefined</code> is returned.
580581
*
582+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
583+
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
584+
* in the constructor documentation of this class.
585+
*
581586
* @param {string} sName name of the property
582587
* @returns {Object} An info object describing the property or <code>undefined</code>
583588
* @public
584589
* @since 1.27.0
585-
* @experimental Type, structure and behavior of the returned info object is not documented
586-
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
587-
* in the constructor documentation of this class.
588590
*/
589591
ManagedObjectMetadata.prototype.getProperty = function(sName) {
590592
var oProp = this._mAllProperties[sName];
@@ -598,11 +600,12 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
598600
*
599601
* The returned map keys the property info objects by their name.
600602
*
601-
* @return {map} Map of property info objects keyed by the property names
602-
* @public
603-
* @experimental Type, structure and behavior of the returned info objects is not documented
603+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
604604
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
605605
* in the constructor documentation of this class.
606+
*
607+
* @return {map} Map of property info objects keyed by the property names
608+
* @public
606609
*/
607610
ManagedObjectMetadata.prototype.getProperties = function() {
608611
return this._mProperties;
@@ -614,11 +617,12 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
614617
*
615618
* The returned map keys the property info objects by their name.
616619
*
617-
* @return {map} Map of property info objects keyed by the property names
618-
* @public
619-
* @experimental Type, structure and behavior of the returned info objects is not documented
620+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
620621
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
621622
* in the constructor documentation of this class.
623+
*
624+
* @return {map} Map of property info objects keyed by the property names
625+
* @public
622626
*/
623627
ManagedObjectMetadata.prototype.getAllProperties = function() {
624628
return this._mAllProperties;
@@ -647,13 +651,14 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
647651
* If the name is not given (or has a falsy value), then it is substituted by the
648652
* name of the default aggregation of the 'described class' (if any).
649653
*
654+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
655+
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
656+
* in the constructor documentation of this class.
657+
*
650658
* @param {string} [sName] name of the aggregation or empty
651659
* @returns {Object} An info object describing the aggregation or <code>undefined</code>
652660
* @public
653661
* @since 1.27.0
654-
* @experimental Type, structure and behavior of the returned info object is not documented
655-
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
656-
* in the constructor documentation of this class.
657662
*/
658663
ManagedObjectMetadata.prototype.getAggregation = function(sName) {
659664
sName = sName || this._sDefaultAggregation;
@@ -669,11 +674,12 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
669674
* The returned map keys the aggregation info objects by their name.
670675
* In case of 0..1 aggregations this is the singular name, otherwise it is the plural name.
671676
*
672-
* @return {map} Map of aggregation info objects keyed by aggregation names
673-
* @public
674-
* @experimental Type, structure and behavior of the returned info objects is not documented
677+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
675678
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
676679
* in the constructor documentation of this class.
680+
*
681+
* @return {map} Map of aggregation info objects keyed by aggregation names
682+
* @public
677683
*/
678684
ManagedObjectMetadata.prototype.getAggregations = function() {
679685
return this._mAggregations;
@@ -687,11 +693,12 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
687693
* In case of 0..1 aggregations this is the singular name, otherwise it is the plural
688694
* name.
689695
*
690-
* @return {map} Map of aggregation info objects keyed by aggregation names
691-
* @public
692-
* @experimental Type, structure and behavior of the returned info objects is not documented
696+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
693697
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
694698
* in the constructor documentation of this class.
699+
*
700+
* @return {map} Map of aggregation info objects keyed by aggregation names
701+
* @public
695702
*/
696703
ManagedObjectMetadata.prototype.getAllAggregations = function() {
697704
return this._mAllAggregations;
@@ -704,11 +711,12 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
704711
* The returned map contains aggregation info objects keyed by the aggregation name.
705712
* In case of 0..1 aggregations this is the singular name, otherwise it is the plural name.
706713
*
707-
* @return {map} Map of aggregation infos keyed by aggregation names
708-
* @protected
709-
* @experimental Type, structure and behavior of the returned info objects is not documented
714+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
710715
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
711716
* in the constructor documentation of this class.
717+
*
718+
* @return {map} Map of aggregation infos keyed by aggregation names
719+
* @protected
712720
*/
713721
ManagedObjectMetadata.prototype.getAllPrivateAggregations = function() {
714722
return this._mAllPrivateAggregations;
@@ -721,12 +729,13 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
721729
* If the name is not given (or has a falsy value), then it is substituted by the
722730
* name of the default aggregation of the described class (if it is defined).
723731
*
732+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
733+
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
734+
* in the constructor documentation of this class.
735+
*
724736
* @param {string} sAggregationName name of the aggregation to be retrieved or empty
725737
* @return {object} aggregation info object or undefined
726738
* @protected
727-
* @experimental Type, structure and behavior of the returned info objects is not documented
728-
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
729-
* in the constructor documentation of this class.
730739
*/
731740
ManagedObjectMetadata.prototype.getManagedAggregation = function(sAggregationName) {
732741
sAggregationName = sAggregationName || this._sDefaultAggregation;
@@ -794,13 +803,14 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
794803
* If neither the described class nor its ancestor classes define a suitable setting
795804
* with the given name, <code>undefined</code> is returned.
796805
*
806+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
807+
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
808+
* in the constructor documentation of this class.
809+
*
797810
* @param {string} sName name of the property like setting
798811
* @returns {Object} An info object describing the property or aggregation or <code>undefined</code>
799812
* @public
800813
* @since 1.27.0
801-
* @experimental Type, structure and behavior of the returned info object is not documented
802-
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
803-
* in the constructor documentation of this class.
804814
*/
805815
ManagedObjectMetadata.prototype.getPropertyLikeSetting = function(sName) {
806816
// typeof is used as a fast (but weak) substitute for hasOwnProperty
@@ -833,13 +843,14 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
833843
* If neither the described class nor its ancestor classes define an association with
834844
* the given name, <code>undefined</code> is returned.
835845
*
846+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
847+
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
848+
* in the constructor documentation of this class.
849+
*
836850
* @param {string} sName name of the association
837851
* @returns {Object} An info object describing the association or <code>undefined</code>
838852
* @public
839853
* @since 1.27.0
840-
* @experimental Type, structure and behavior of the returned info object is not documented
841-
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
842-
* in the constructor documentation of this class.
843854
*/
844855
ManagedObjectMetadata.prototype.getAssociation = function(sName) {
845856
var oAssoc = this._mAllAssociations[sName];
@@ -854,11 +865,12 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
854865
* The returned map keys the association info objects by their name.
855866
* In case of 0..1 associations this is the singular name, otherwise it is the plural name.
856867
*
857-
* @return {map} Map of association info objects keyed by association names
858-
* @public
859-
* @experimental Type, structure and behavior of the returned info objects is not documented
868+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
860869
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
861870
* in the constructor documentation of this class.
871+
*
872+
* @return {map} Map of association info objects keyed by association names
873+
* @public
862874
*/
863875
ManagedObjectMetadata.prototype.getAssociations = function() {
864876
return this._mAssociations;
@@ -871,11 +883,12 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
871883
* The returned map keys the association info objects by their name.
872884
* In case of 0..1 associations this is the singular name, otherwise it is the plural name.
873885
*
874-
* @return {map} Map of association info objects keyed by association names
875-
* @public
876-
* @experimental Type, structure and behavior of the returned info objects is not documented
886+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
877887
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
878888
* in the constructor documentation of this class.
889+
*
890+
* @return {map} Map of association info objects keyed by association names
891+
* @public
879892
*/
880893
ManagedObjectMetadata.prototype.getAllAssociations = function() {
881894
return this._mAllAssociations;
@@ -902,13 +915,14 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
902915
* If neither the described class nor its ancestor classes define an event with the
903916
* given name, <code>undefined</code> is returned.
904917
*
918+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
919+
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
920+
* in the constructor documentation of this class.
921+
*
905922
* @param {string} sName name of the event
906923
* @returns {Object} An info object describing the event or <code>undefined</code>
907924
* @public
908925
* @since 1.27.0
909-
* @experimental Type, structure and behavior of the returned info object is not documented
910-
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
911-
* in the constructor documentation of this class.
912926
*/
913927
ManagedObjectMetadata.prototype.getEvent = function(sName) {
914928
var oEvent = this._mAllEvents[sName];
@@ -922,11 +936,12 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
922936
*
923937
* The returned map keys the event info objects by their name.
924938
*
925-
* @return {map} Map of event info objects keyed by event names
926-
* @public
927-
* @experimental Type, structure and behavior of the returned info objects is not documented
939+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
928940
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
929941
* in the constructor documentation of this class.
942+
*
943+
* @return {map} Map of event info objects keyed by event names
944+
* @public
930945
*/
931946
ManagedObjectMetadata.prototype.getEvents = function() {
932947
return this._mEvents;
@@ -938,11 +953,12 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
938953
*
939954
* The returned map keys the event info objects by their name.
940955
*
941-
* @return {map} Map of event info objects keyed by event names
942-
* @public
943-
* @experimental Type, structure and behavior of the returned info objects is not documented
956+
* <b>Warning:</b> Type, structure and behavior of the returned info objects is not documented
944957
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
945958
* in the constructor documentation of this class.
959+
*
960+
* @return {map} Map of event info objects keyed by event names
961+
* @public
946962
*/
947963
ManagedObjectMetadata.prototype.getAllEvents = function() {
948964
return this._mAllEvents;
@@ -960,7 +976,6 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
960976
* @param {string} sName name of the setting
961977
* @param {object} oInfo metadata for the setting
962978
* @private
963-
* @experimental since 1.35.0
964979
*/
965980
ManagedObjectMetadata.prototype.addSpecialSetting = function (sName, oInfo) {
966981
var oSS = new SpecialSetting(this, sName, oInfo);
@@ -979,7 +994,6 @@ sap.ui.define(['jquery.sap.global', './DataType', './Metadata'],
979994
* @param {string} sName name of the settings
980995
* @return {boolean} true, if the special setting exists
981996
* @private
982-
* @experimental Since 1.27.0
983997
*/
984998
ManagedObjectMetadata.prototype.hasSpecialSetting = function (sName) {
985999
return !!this._mAllSpecialSettings[sName];

src/sap.ui.core/src/sap/ui/core/delegate/ScrollEnablement.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ sap.ui.define(['jquery.sap.global', 'sap/ui/Device', 'sap/ui/base/Object', 'sap/
2828
* the current instance of this delegate object
2929
*
3030
* @extends sap.ui.base.Object
31-
* @experimental Since 1.5.2. This class is experimental and provides only limited functionality. Also the API might be changed in future.
3231
*
3332
* @param {sap.ui.core.Control} oControl the Control of which this Scroller is the delegate
3433
* @param {string} sScrollContentDom the Id of the element within the DOM of the Control which should be scrollable

src/sap.ui.core/src/sap/ui/model/odata/ODataModel.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ sap.ui.define(['jquery.sap.global', 'sap/ui/model/BindingMode', 'sap/ui/model/Co
4343
*
4444
* @class
4545
* Model implementation for oData format
46-
* Binding to V4 metadata annotations is experimental!
4746
*
4847
*
4948
* @author SAP SE
@@ -375,7 +374,6 @@ sap.ui.define(['jquery.sap.global', 'sap/ui/model/BindingMode', 'sap/ui/model/Co
375374

376375
/**
377376
* Attach event-handler <code>fnFunction</code> to the 'annotationsLoaded' event of this <code>sap.ui.model.odata.ODataModel</code>.
378-
* @experimental The API is NOT stable yet. Use at your own risk.
379377
*
380378
* @param {object}
381379
* [oData] The object, that should be passed along with the event-object when firing the event.
@@ -395,7 +393,6 @@ sap.ui.define(['jquery.sap.global', 'sap/ui/model/BindingMode', 'sap/ui/model/Co
395393

396394
/**
397395
* Detach event-handler <code>fnFunction</code> from the 'annotationsLoaded' event of this <code>sap.ui.model.odata.ODataModel</code>.
398-
* @experimental The API is NOT stable yet. Use at your own risk.
399396
*
400397
* @param {function}
401398
* fnFunction The function to call, when the event occurs.
@@ -2615,7 +2612,6 @@ sap.ui.define(['jquery.sap.global', 'sap/ui/model/BindingMode', 'sap/ui/model/Co
26152612
*
26162613
* @return {Object} metdata object
26172614
* @public
2618-
* @experimental This feature has not been tested due to the lack of OData testing infrastructure. The API is NOT stable yet. Use at your own risk.
26192615
*/
26202616
ODataModel.prototype.getServiceAnnotations = function() {
26212617
if (this.oAnnotations && this.oAnnotations.getAnnotationsData) {

src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,6 @@ sap.ui.define([
771771

772772
/**
773773
* Attach event-handler <code>fnFunction</code> to the 'annotationsLoaded' event of this <code>sap.ui.model.odata.v2.ODataModel</code>.
774-
* @experimental The API is NOT stable yet. Use at your own risk.
775774
*
776775
* @param {object}
777776
* [oData] The object, that should be passed along with the event-object when firing the event.
@@ -791,7 +790,6 @@ sap.ui.define([
791790

792791
/**
793792
* Detach event-handler <code>fnFunction</code> from the 'annotationsLoaded' event of this <code>sap.ui.model.odata.v2.ODataModel</code>.
794-
* @experimental The API is NOT stable yet. Use at your own risk.
795793
*
796794
* @param {function}
797795
* fnFunction The function to call, when the event occurs.
@@ -4084,7 +4082,6 @@ sap.ui.define([
40844082
*
40854083
* @return {Object} metdata object
40864084
* @public
4087-
* @experimental This feature has not been tested due to the lack of OData testing infrastructure. The API is NOT stable yet. Use at your own risk.
40884085
*/
40894086
ODataModel.prototype.getServiceAnnotations = function() {
40904087
var mAnnotations = this.oAnnotations.getData();

0 commit comments

Comments
 (0)