Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo.server
Class ViewLinkImpl

java.lang.Object
  extended by oracle.jbo.server.NamedObjectImpl
      extended by oracle.jbo.server.ComponentObjectImpl
          extended by oracle.jbo.server.ViewLinkImpl
All Implemented Interfaces:
Formattable, ComponentObject, Properties, VariableManagerOwner, VariableManagerOwnerBase, ViewLink

public class ViewLinkImpl
extends ComponentObjectImpl
implements ViewLink


Field Summary
static java.lang.Class CLASS_INSTANCE
           
protected  ViewObjectImpl destination
           
protected  boolean mReversedUsage
           
protected  ViewLinkDefImpl qoAssoc
           
protected  ViewObjectImpl source
           
 
Fields inherited from class oracle.jbo.server.NamedObjectImpl
mObjName, mParent, mProperties, mUserData, RES_ID_SUFFIX
 
Constructor Summary
ViewLinkImpl()
           
 
Method Summary
 ViewObject getDestination()
          Gets the detail (destination side) View Object.
 ViewObject getSource()
          Gets the link's master 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.
 
Methods inherited from class oracle.jbo.server.ComponentObjectImpl
addListener, applyPersonalization, create, createRef, ensureVariableManager, getAllProperties, getApplicationModule, getCompListeners, getCompListenersList, getDefFullName, getDefName, getMessageBundleClass, getResourceBundleDef, getRootApplicationModule, getVariableManager, hasVariables, isDead, remove, resolvePropertyRaw
 
Methods inherited from class oracle.jbo.server.NamedObjectImpl
formatChildCollectionForOutput, formatChildCollectionForOutput, formatChildCollectionForOutput, formatForOutput, formatForOutput, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, getUserData, parseAttrArrayElements, refreshProperty, requiresNamePrefixedResId, setFullName, setName, setParent, setPropertiesMap, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.ComponentObject
getDefFullName, getDefName, getFullName, getName, remove
 
Methods inherited from interface oracle.jbo.Properties
getProperties, getProperty, getProperty, refreshProperty
 
Methods inherited from interface oracle.jbo.VariableManagerOwner
getName
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE

qoAssoc

protected ViewLinkDefImpl qoAssoc

source

protected ViewObjectImpl source

destination

protected ViewObjectImpl destination

mReversedUsage

protected boolean mReversedUsage
Constructor Detail

ViewLinkImpl

public ViewLinkImpl()
Method Detail

getSource

public ViewObject getSource()
Description copied from interface: ViewLink
Gets the link's master View Object.

Specified by:
getSource in interface ViewLink
Returns:
the master ViewObject.

getDestination

public ViewObject getDestination()
Gets the detail (destination side) View Object.

Specified by:
getDestination in interface ViewLink
Returns:
the detail View Object.

getViewLinkDef

public ViewLinkDefImpl getViewLinkDef()
Internal: Applications should not use this method.

Gets the View Link definition object from which this View Link was created.

Returns:
the View Link definition.

isReversedUsage

public boolean isReversedUsage()

setDestination

public void setDestination(ViewObject destination)
Sets the detail (destination side) View Object.

Parameters:
destination - the detail View Object.
Throws:
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.

getSourceAccessor

public AttributeDef getSourceAccessor()

setSource

public void setSource(ViewObject source)
Sets the master (source side) View Object.

Parameters:
source - the master View Object.
Throws:
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.

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.