public class ViewLinkImpl extends ComponentObjectImpl implements ViewLink
ViewLink interface, the middle-tier class that manages
 a master-detail relationship between two View Objects.
 A View Link models the master-detail relationship between two View Objects. The actual relationship is implemented between a row set iterator derived from the master View Object, and a row set derived from the detail View Object.
 The presence of a View Link causes the detail View Object to be refreshed when
 master View Object's current row designation changes.  Whenever the master
 row set iterator designates a new current row, the detail row set is
 notified to refresh itself.  The RowSetListener objects
 listening for the detail row set's events will receive the
 rangeRefreshed() event.
 
A View Link also affects initialization of the "foreign key" attribute of a detail row. When a new detail row is created its foreign key attribute is taken from the master row set iterator's current row.
A View Link can be defined in three different ways:
ViewObject, 
RowSet, 
RowSetIterator, 
RowSetListener| Modifier and Type | Field and Description | 
|---|---|
| protected ViewObjectImpl | destination | 
| protected boolean | mReversedUsage | 
| protected ViewLinkDefImpl | qoAssoc | 
| protected ViewObjectImpl | source | 
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIXDEFINITION_STATE_ACTIVE, DEFINITION_STATE_DEPRECATED, PROPERTY_DEFINITION_STATE, PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP| Constructor and Description | 
|---|
| ViewLinkImpl()Constructs a new View Link. | 
| Modifier and Type | Method and Description | 
|---|---|
| DefObject | getDef()Internal: Applications should not use this method. | 
| java.lang.String | getDefFullName()Gets the full name of the View Link definition from which this view
 link ws created. | 
| java.lang.String | getDefName()Gets the name of the View Link definition from which this view
 link was created. | 
| ViewObject | getDestination()Gets the detail (destination side) View Object. | 
| java.lang.String | getImageLoc(boolean bOpen) | 
| ViewObject | getSource()Gets the master (source side) View Object. | 
| AttributeDef | getSourceAccessor() | 
| ViewLinkDefImpl | getViewLinkDef()Internal: Applications should not use this method. | 
| boolean | isReversedUsage() | 
| void | setDestination(ViewObject destination)Sets the detail (destination side) View Object. | 
| void | setSource(ViewObject source)Sets the master (source side) View Object. | 
addListener, applyPersonalization, applyPersonalization, create, createRef, createVariableValueManager, ensureVariableManager, findOperationDefinitions, findPersDefObject, getAdfmConfigStartupProperty, getAllProperties, getApplicationModule, getBooleanAdfmConfigProperty, getCompListeners, getCompListenersList, getDefinitionManager, getDefinitionState, getFullNameForPersDef, getHintValue, getLabel, getLabelPlural, getMessageBundleClass, getProxyClassName, getProxyClassName, getResourceBundleDef, getRootApplicationModule, getStringFromMessageBundle, getTooltip, getVariableManager, hasVariables, isDead, isPersonalized, isRegWithPiggyMan, remove, resolvePropertyRaw, setName, setParent, setProxyClassNameisPropertyExpression, setParent, setPropertiesMapallocatePropertyMap, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getPropertyMap, getRawPropertyValue, getResourcesFromBundle, mergePropertyMap, refreshProperty, removeProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setFullName, setPropertiesMap2, setProperty, setProperty, setPropertyExpression, setPropertyMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFullName, getName, removegetDefinitionState, getHintValue, getLabel, getLabelPlural, getTooltipgetProperties, getProperty, getProperty, refreshPropertygetNameprotected ViewLinkDefImpl qoAssoc
protected ViewObjectImpl source
protected ViewObjectImpl destination
protected boolean mReversedUsage
public java.lang.String getImageLoc(boolean bOpen)
public DefObject getDef()
Gets the definition object from which this View Link was created.
public java.lang.String getDefName()
getDefName in interface ComponentObjectgetDefName in class ComponentObjectImplpublic java.lang.String getDefFullName()
The name returned by this method is full qualified, that is, it starts with the package name.
If this View Link is created dynamically, rather than from a View Link definition, the fully qualified definition name does not contain a package name.
getDefFullName in interface ComponentObjectgetDefFullName in class ComponentObjectImplpublic ViewLinkDefImpl getViewLinkDef()
Gets the View Link definition object from which this View Link was created.
public ViewObject getSource()
public void setSource(ViewObject source)
source - the master View Object.InvalidParamException - if the master and detail
               are the same View Object, or if the View Object Definitions
               for source and the View Link definition's
               master do not match.public ViewObject getDestination()
getDestination in interface ViewLinkpublic void setDestination(ViewObject destination)
destination - the detail View Object.InvalidParamException - if the master and detail
               are the same View Object, or if the View Object Definitions
               for destination and the View Link definition's
               detail do not match.public boolean isReversedUsage()
public AttributeDef getSourceAccessor()