Class sap.landvisz.ConnectionEntityModule: sap/landvisz/ConnectionEntity

extends Control

Connection Entity of Dependency view

Constructor Summary
new sap.landvisz.ConnectionEntity(sId?, mSettings?)Constructor for a new ConnectionEntity.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.landvisz.ConnectionEntity.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.landvisz.ConnectionEntity with name sClassName and enriches it with the information contained in oClassInfo.
sap.landvisz.ConnectionEntity.getMetadata()Returns a metadata object for class sap.landvisz.ConnectionEntity.
addConnectionData(oConnectionData)Adds some connectionData oConnectionData to the aggregation named connectionData.
destroyConnectionData()Destroys all the connectionData in the aggregation named connectionData.
getConnectionData()Getter for aggregation connectionData.
getConnectionId()Getter for property connectionId.
getDependencyTooltip()Getter for property dependencyTooltip.
getLinkedHeader()Getter for property linkedHeader.
getLinkId()Getter for property linkId.
getShowOverlay()Getter for property showOverlay.
getSize()Getter for property size.
getType()Getter for property type.
indexOfConnectionData(oConnectionData)Checks for the provided sap.landvisz.internal.LinearRowField in the aggregation named connectionData and returns its index if found or -1 otherwise.
insertConnectionData(oConnectionData, iIndex)Inserts a connectionData into the aggregation named connectionData.
removeAllConnectionData()Removes all the controls in the aggregation named connectionData.
removeConnectionData(vConnectionData)Removes an connectionData from the aggregation named connectionData.
setConnectionId(sConnectionId)Setter for property connectionId.
setDependencyTooltip(sDependencyTooltip)Setter for property dependencyTooltip.
setLinkedHeader(sLinkedHeader)Setter for property linkedHeader.
setLinkId(sLinkId)Setter for property linkId.
setShowOverlay(bShowOverlay)Setter for property showOverlay.
setSize(sSize)Setter for property size.
setType(oType)Setter for property type.
Constructor Detail
new sap.landvisz.ConnectionEntity(sId?, mSettings?)
Constructor for a new ConnectionEntity.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers.

If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).

The supported settings are:

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Method Detail
sap.landvisz.ConnectionEntity.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.landvisz.ConnectionEntity with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of informations as described in Element.extend.

Parameters:
{string}sClassName name of the class to be created
{object}oClassInfo? object literal with informations about the class
{function}FNMetaImpl? constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata.
Returns:
{function} the created class / constructor function
sap.landvisz.ConnectionEntity.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.landvisz.ConnectionEntity.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
addConnectionData(oConnectionData): sap.landvisz.ConnectionEntity
Adds some connectionData oConnectionData to the aggregation named connectionData.
Parameters:
{sap.landvisz.internal.LinearRowField}oConnectionData the connectionData to add; if empty, nothing is inserted
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining
destroyConnectionData(): sap.landvisz.ConnectionEntity
Destroys all the connectionData in the aggregation named connectionData.
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining
getConnectionData(): sap.landvisz.internal.LinearRowField[]
Getter for aggregation connectionData.
Linear row field renderer for connection Entity
Returns:
{sap.landvisz.internal.LinearRowField[]}
getConnectionId(): string
Getter for property connectionId. id of connection Entity

Default value is empty/undefined

Returns:
{string} the value of property connectionId
getDependencyTooltip(): string
Getter for property dependencyTooltip. tooltip for dependency type icon

Default value is empty/undefined

Returns:
{string} the value of property dependencyTooltip
getLinkedHeader(): string
Getter for property linkedHeader. link header data that is shared with in the entities

Default value is empty/undefined

Returns:
{string} the value of property linkedHeader
getLinkId(): string
Getter for property linkId. ID which links the entities

Default value is empty/undefined

Returns:
{string} the value of property linkId
getShowOverlay(): boolean
Getter for property showOverlay. to show the overlay for highlightig

Default value is true

Returns:
{boolean} the value of property showOverlay
getSize(): string
Getter for property size. size of connection Entity

Default value is empty/undefined

Returns:
{string} the value of property size
Getter for property type. type of a connection Entity

Default value is empty/undefined

Returns:
{sap.landvisz.ConnectionType} the value of property type
indexOfConnectionData(oConnectionData): int
Checks for the provided sap.landvisz.internal.LinearRowField in the aggregation named connectionData and returns its index if found or -1 otherwise.
Parameters:
{sap.landvisz.internal.LinearRowField}oConnectionData the connectionData whose index is looked for.
Returns:
{int} the index of the provided control in the aggregation if found, or -1 otherwise
insertConnectionData(oConnectionData, iIndex): sap.landvisz.ConnectionEntity
Inserts a connectionData into the aggregation named connectionData.
Parameters:
{sap.landvisz.internal.LinearRowField}oConnectionData the connectionData to insert; if empty, nothing is inserted
{int}iIndex the 0-based index the connectionData should be inserted at; for a negative value of iIndex, the connectionData is inserted at position 0; for a value greater than the current size of the aggregation, the connectionData is inserted at the last position
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining
removeAllConnectionData(): sap.landvisz.internal.LinearRowField[]
Removes all the controls in the aggregation named connectionData.
Additionally unregisters them from the hosting UIArea.
Returns:
{sap.landvisz.internal.LinearRowField[]} an array of the removed elements (might be empty)
removeConnectionData(vConnectionData): sap.landvisz.internal.LinearRowField
Removes an connectionData from the aggregation named connectionData.
Parameters:
{int|string|sap.landvisz.internal.LinearRowField}vConnectionData the connectionData to remove or its index or id
Returns:
{sap.landvisz.internal.LinearRowField} the removed connectionData or null
setConnectionId(sConnectionId): sap.landvisz.ConnectionEntity
Setter for property connectionId.

Default value is empty/undefined

Parameters:
{string}sConnectionId new value for property connectionId
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining
setDependencyTooltip(sDependencyTooltip): sap.landvisz.ConnectionEntity
Setter for property dependencyTooltip.

Default value is empty/undefined

Parameters:
{string}sDependencyTooltip new value for property dependencyTooltip
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining
setLinkedHeader(sLinkedHeader): sap.landvisz.ConnectionEntity
Setter for property linkedHeader.

Default value is empty/undefined

Parameters:
{string}sLinkedHeader new value for property linkedHeader
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining
setLinkId(sLinkId): sap.landvisz.ConnectionEntity
Setter for property linkId.

Default value is empty/undefined

Parameters:
{string}sLinkId new value for property linkId
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining
setShowOverlay(bShowOverlay): sap.landvisz.ConnectionEntity
Setter for property showOverlay.

Default value is true

Parameters:
{boolean}bShowOverlay new value for property showOverlay
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining
Setter for property size.

Default value is empty/undefined

Parameters:
{string}sSize new value for property size
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining
Setter for property type.

Default value is empty/undefined

Parameters:
{sap.landvisz.ConnectionType}oType new value for property type
Returns:
{sap.landvisz.ConnectionEntity}this to allow method chaining