/// <summary> /// Adds some attribute to the aggregation {@link #getAttributes attributes}. /// </summary> /// <param name="oAttribute">The attribute to add; if empty, nothing is inserted</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.m.ObjectListItem addAttribute(sap.m.ObjectAttribute oAttribute);
/// <summary> /// Checks for the provided <code>sap.m.ObjectAttribute</code> in the aggregation {@link #getAttributes attributes}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oAttribute">The attribute whose index is looked for</param> /// <returns>The index of the provided control in the aggregation if found, or -1 otherwise</returns> public extern virtual int indexOfAttribute(sap.m.ObjectAttribute oAttribute);
/// <summary> /// Inserts a attribute into the aggregation {@link #getAttributes attributes}. /// </summary> /// <param name="oAttribute">The attribute to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the attribute should be inserted at; for a negative value of <code>iIndex</code>, the attribute is inserted at position 0; for a value greater than the current size of the aggregation, the attribute is inserted at the last position</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.m.ObjectListItem insertAttribute(sap.m.ObjectAttribute oAttribute, int iIndex);