ADF Designtime

oracle.adf.dt.objects
Class JUDTCtrlValue

java.lang.Object
  extended byoracle.adf.dt.objects.JUDTBaseObject
      extended byoracle.adf.dt.objects.JUDTControlBinding
          extended byoracle.adf.dt.objects.JUDTCtrlValue
All Implemented Interfaces:
oracle.ide.model.Displayable, java.util.EventListener, oracle.ide.inspector.Inspectable, oracle.ide.inspector.Inspectable2, java.util.Map, ObjectUpdateListener, oracle.jbo.mom.xml.PersistentDefinition, java.beans.PropertyChangeListener, oracle.ide.model.SupportsInspection
Direct Known Subclasses:
JUDTCtrlAttrs, JUDTCtrlHier, JUDTCtrlHierTypeBinding, JUDTCtrlRange, JUDTMasterDetailGraph, JUDTSingleTableGraph

public abstract class JUDTCtrlValue
extends JUDTControlBinding


Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 
Fields inherited from class oracle.adf.dt.objects.JUDTBaseObject
_Context, _DefClassName, _RTDef, PNAME_id
 
Constructor Summary
JUDTCtrlValue()
           
 
Method Summary
 void addAttrName(java.lang.String name)
           
 void clearAttributeNames()
           
 boolean containsAttribute(java.lang.String sName)
           
 AttributeInfo[] getAttributeInfos()
          Returns the array of attribute infos for the set of attributes used by this value binding.
 java.lang.String[] getAttrNames()
           
 java.lang.String getFirstAttribute()
          This is used to simplify the template generation in the most common case where there is only one attribute.
 boolean getIsDynamic()
           
protected  void initFromRTDef()
          Subclasses implement this method to perform custom runtime object initialization.
protected  void initializeDefClassName()
          Initializes the definition class name.
 boolean isApplyValidation()
           
 boolean isSameDefinition(JUDTBaseObject object)
          Check to see if the passed in object has the same definition.
 void setApplyValidation(boolean b)
           
 void setAttrNames(java.lang.String[] names)
           
 void setIsDynamic(boolean isDynamic)
           
 void writeContents(oracle.jbo.mom.xml.DefWriter jos)
           
 void writeNonContentsChildren(oracle.jbo.mom.xml.DefWriter jos)
           
protected  java.util.ArrayList xferToArrayList(java.lang.String[] arr)
           
 
Methods inherited from class oracle.adf.dt.objects.JUDTControlBinding
buildContextActionList, clear, containsKey, containsValue, entrySet, get, getActualBindingClassName, getBindingClassName, getBindingContainer, getClientDataControl, getControlClassName, getControlPrefix, getDataControl, getDefaultBindingClassName, getDesignTimeClass, getIcon, getInitialValue, getInstanceName, getIteratorBinding, getIterBindingName, getLayoutCons, getLongLabel, getXMLElementTag, initializeFromRuntimeObject, isEmpty, keySet, performDeleteAction, put, putAll, remove, requiresIterator, setBindingClassName, setBindingContainer, setControlClassName, setControlPrefix, setDefaultControlClass, setDesignTimeClass, setInitialValue, setIterBindingName, setLayoutCons, size, values
 
Methods inherited from class oracle.adf.dt.objects.JUDTBaseObject
addObjectUpdateListener, addPropertyChangeListener, addVetoableChangeListener, buildActionList, buildContextMenuEntries, buildsContextMenuDirectly, dataChanged, fireObjectUpdated, firePropertyChange, getAdditionalTabPages, getContextMenuActions, getCustomDialogIcon, getCustomDialogToolTipText, getCustomizer, getDefaultDefClassName, getDefClassName, getFullName, getHelpTopicId, getId, getLinkActions, getPropertyChangeListeners, getPropertyModel, getRTDef, getShortLabel, getSubType, getTarget, getToolTipText, hasCustomDialog, isNewInstance, propertyChange, readContents, removeObjectUpdateListener, removePropertyChangeListener, removeVetoableChangeListener, reportExceptionToUser, setContext, setDefClassName, setId, setNewInstance, setRunningKavaTests, setSaveSubType, setSubType, showCustomDialog, showEditorDialog, toString, writeChildren, writeChildren, writeObject, writeXMLIntArray, writeXMLStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

JUDTCtrlValue

public JUDTCtrlValue()
Method Detail

clearAttributeNames

public void clearAttributeNames()

getAttributeInfos

public AttributeInfo[] getAttributeInfos()
Returns the array of attribute infos for the set of attributes used by this value binding.

Returns:

xferToArrayList

protected java.util.ArrayList xferToArrayList(java.lang.String[] arr)

initFromRTDef

protected void initFromRTDef()
Description copied from class: JUDTControlBinding
Subclasses implement this method to perform custom runtime object initialization.

Overrides:
initFromRTDef in class JUDTControlBinding

containsAttribute

public boolean containsAttribute(java.lang.String sName)

getAttrNames

public java.lang.String[] getAttrNames()

getFirstAttribute

public java.lang.String getFirstAttribute()
This is used to simplify the template generation in the most common case where there is only one attribute.


addAttrName

public void addAttrName(java.lang.String name)

setAttrNames

public void setAttrNames(java.lang.String[] names)

isApplyValidation

public boolean isApplyValidation()

setApplyValidation

public void setApplyValidation(boolean b)

writeNonContentsChildren

public void writeNonContentsChildren(oracle.jbo.mom.xml.DefWriter jos)
Overrides:
writeNonContentsChildren in class JUDTControlBinding

writeContents

public void writeContents(oracle.jbo.mom.xml.DefWriter jos)
                   throws oracle.jbo.mom.xml.DefPersistenceException
Specified by:
writeContents in interface oracle.jbo.mom.xml.PersistentDefinition
Overrides:
writeContents in class JUDTControlBinding
Throws:
oracle.jbo.mom.xml.DefPersistenceException

initializeDefClassName

protected void initializeDefClassName()
Description copied from class: JUDTControlBinding
Initializes the definition class name. The definition class name defines the class name for the meta object that reads\loads the xml metadata for this binding.

Specified by:
initializeDefClassName in class JUDTControlBinding

isSameDefinition

public boolean isSameDefinition(JUDTBaseObject object)
Description copied from class: JUDTBaseObject
Check to see if the passed in object has the same definition. We dont use ID or Full Name since this method is used to figure out if we should add an object to a container.

Overrides:
isSameDefinition in class JUDTControlBinding

getIsDynamic

public boolean getIsDynamic()

setIsDynamic

public void setIsDynamic(boolean isDynamic)

ADF Designtime

 

Copyright © 1997, 2004, Oracle. All rights reserved.