ADF Designtime

oracle.adf.dt.objects
Class JUDTBean

java.lang.Object
  extended byoracle.adf.dt.objects.JUDTBaseObject
      extended byoracle.adf.dt.objects.JUDTNodeObject
          extended byoracle.adf.dt.objects.JUDTBean
All Implemented Interfaces:
oracle.ide.model.Displayable, java.util.EventListener, oracle.ide.inspector.Inspectable, oracle.ide.inspector.Inspectable2, ObjectUpdateListener, oracle.jbo.mom.xml.PersistentDefinition, java.beans.PropertyChangeListener, oracle.ide.model.SupportsInspection

public class JUDTBean
extends JUDTNodeObject


Field Summary
static java.lang.String ALLCHANGED
           
static java.lang.String ROOT_NODE_NAME
           
 
Fields inherited from class oracle.adf.dt.objects.JUDTBaseObject
_Context, _DefClassName, _RTDef, PNAME_id
 
Constructor Summary
JUDTBean()
           
 
Method Summary
 void addAccessor(JUDTBeanAccessorAttribute st)
           
 void addAttribute(JUDTGenericAttr attr)
           
 void addMethodAccessor(JUDTMethod method)
           
protected  void buildContextActionList(java.util.ArrayList actionList)
           
 JUDTGenericAttr createAttribute()
           
 void dataChanged(ObjectUpdateEvent e)
           
 JUDTBeanAccessorAttribute findAccessor(java.lang.String sName)
           
 JUDTGenericAttr findAttribute(java.lang.String sName)
           
 JUDTMethod findMethodAccessor(java.lang.String sName)
           
 java.util.ArrayList getAccesors()
           
 java.util.ArrayList getAttributeNames()
           
 java.util.ArrayList getAttributes()
           
 java.lang.String getBeanClass()
           
protected  java.beans.BeanInfo getBeanInfo()
           
protected  java.beans.BeanInfo getBeanInfo(oracle.jdeveloper.model.JProject project)
           
protected  java.lang.Class getBeanJavaClass()
           
 java.lang.String getFullName()
           
protected  oracle.jdeveloper.jot.JotClass getJotBeanClass()
           
 java.util.ArrayList getMethodAccessors()
           
 java.util.ArrayList getMethods()
           
protected  java.lang.String getNameSpaceUrl()
           
protected  java.lang.Class getNodeClass()
          return the name of the node class to use when creating this object in the Jdeveloper project
 java.lang.String getSuperClassName()
           
 java.lang.String getXMLElementTag()
           
 boolean isCollectionType()
           
 boolean isDefaultBeanInfo()
           
protected  void readContents(oracle.jbo.mom.xml.DefElementImpl xmlDoc)
           
 void resetState()
          Resets the object state prior to loading from xml
 void setBeanClass(java.lang.String newBeanClass)
           
 void updateWithClassChanges(oracle.jdeveloper.model.JProject project)
          This merges the xml file with the latest changes in the class
 void writeChildren(JUDTContents contents)
           
 void writeContents(oracle.jbo.mom.xml.DefWriter jos)
           
 
Methods inherited from class oracle.adf.dt.objects.JUDTNodeObject
getFileExtension, getNode, getProject, getVersion, isLoading, loadFromXML, propertyChange, saveAndAddToProject, saveToXML, setNode, setProject, validateUsingSchema
 
Methods inherited from class oracle.adf.dt.objects.JUDTBaseObject
addObjectUpdateListener, addPropertyChangeListener, addVetoableChangeListener, buildActionList, buildContextMenuEntries, buildsContextMenuDirectly, fireObjectUpdated, firePropertyChange, getAdditionalTabPages, getContextMenuActions, getCustomDialogIcon, getCustomDialogToolTipText, getCustomizer, getDefaultDefClassName, getDefClassName, getHelpTopicId, getIcon, getId, getLinkActions, getLongLabel, getPropertyChangeListeners, getPropertyModel, getRTDef, getShortLabel, getSubType, getTarget, getToolTipText, hasCustomDialog, initFromRTDef, isNewInstance, isSameDefinition, performDeleteAction, removeObjectUpdateListener, removePropertyChangeListener, removeVetoableChangeListener, reportExceptionToUser, setContext, setDefClassName, setId, setNewInstance, setRunningKavaTests, setSaveSubType, setSubType, showCustomDialog, showEditorDialog, toString, writeChildren, writeNonContentsChildren, writeObject, writeXMLIntArray, writeXMLStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT_NODE_NAME

public static final java.lang.String ROOT_NODE_NAME
See Also:
Constant Field Values

ALLCHANGED

public static final java.lang.String ALLCHANGED
See Also:
Constant Field Values
Constructor Detail

JUDTBean

public JUDTBean()
Method Detail

getNameSpaceUrl

protected java.lang.String getNameSpaceUrl()
Overrides:
getNameSpaceUrl in class JUDTNodeObject

isDefaultBeanInfo

public final boolean isDefaultBeanInfo()

getBeanJavaClass

protected java.lang.Class getBeanJavaClass()

getBeanInfo

protected final java.beans.BeanInfo getBeanInfo()

getBeanInfo

protected final java.beans.BeanInfo getBeanInfo(oracle.jdeveloper.model.JProject project)

resetState

public void resetState()
Description copied from class: JUDTNodeObject
Resets the object state prior to loading from xml

Specified by:
resetState in class JUDTNodeObject

getJotBeanClass

protected oracle.jdeveloper.jot.JotClass getJotBeanClass()

getNodeClass

protected java.lang.Class getNodeClass()
Description copied from class: JUDTNodeObject
return the name of the node class to use when creating this object in the Jdeveloper project

Overrides:
getNodeClass in class JUDTNodeObject

getMethods

public java.util.ArrayList getMethods()

getFullName

public java.lang.String getFullName()
Overrides:
getFullName in class JUDTBaseObject

createAttribute

public JUDTGenericAttr createAttribute()

addAttribute

public void addAttribute(JUDTGenericAttr attr)

findAttribute

public JUDTGenericAttr findAttribute(java.lang.String sName)

getXMLElementTag

public java.lang.String getXMLElementTag()
Specified by:
getXMLElementTag in interface oracle.jbo.mom.xml.PersistentDefinition
Specified by:
getXMLElementTag in class JUDTBaseObject

getSuperClassName

public java.lang.String getSuperClassName()

getAccesors

public java.util.ArrayList getAccesors()

getAttributes

public java.util.ArrayList getAttributes()

getAttributeNames

public java.util.ArrayList getAttributeNames()

getMethodAccessors

public java.util.ArrayList getMethodAccessors()

writeChildren

public void writeChildren(JUDTContents contents)
                   throws oracle.jbo.mom.xml.DefPersistenceException
Overrides:
writeChildren in class JUDTBaseObject
Throws:
oracle.jbo.mom.xml.DefPersistenceException

addAccessor

public void addAccessor(JUDTBeanAccessorAttribute st)

findAccessor

public JUDTBeanAccessorAttribute findAccessor(java.lang.String sName)

findMethodAccessor

public JUDTMethod findMethodAccessor(java.lang.String sName)

addMethodAccessor

public void addMethodAccessor(JUDTMethod method)

readContents

protected void readContents(oracle.jbo.mom.xml.DefElementImpl xmlDoc)
Overrides:
readContents in class JUDTNodeObject

getBeanClass

public java.lang.String getBeanClass()

isCollectionType

public boolean isCollectionType()

updateWithClassChanges

public void updateWithClassChanges(oracle.jdeveloper.model.JProject project)
This merges the xml file with the latest changes in the class

Parameters:
project -

setBeanClass

public void setBeanClass(java.lang.String newBeanClass)

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 JUDTNodeObject
Throws:
oracle.jbo.mom.xml.DefPersistenceException

dataChanged

public void dataChanged(ObjectUpdateEvent e)
Specified by:
dataChanged in interface ObjectUpdateListener
Overrides:
dataChanged in class JUDTBaseObject

buildContextActionList

protected void buildContextActionList(java.util.ArrayList actionList)
Overrides:
buildContextActionList in class JUDTBaseObject

ADF Designtime

 

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