oracle.jbo.uicli.binding
Class  JUControlDef
java.lang.Object
  |
  +--oracle.jbo.common.NamedObjectImpl
        |
        +--oracle.jbo.mom.DefinitionObject
              |
              +--oracle.jbo.uicli.binding.JUDefBase
                    |
                    +--oracle.jbo.uicli.binding.JUControlDef
- All Implemented Interfaces: 
 - oracle.jbo.mom.xml.DefPersistable
 
- Direct Known Subclasses: 
 - JUCtrlActionDef, JUCtrlScrollDef, JUCtrlValueDef
 
- public abstract class JUControlDef
- extends JUDefBase
  
 
| Fields inherited from class oracle.jbo.mom.DefinitionObject | 
mBaseDefObject, mExtendedDefObjects, mObjectResolved | 
 
 
| Fields inherited from interface oracle.jbo.mom.xml.DefPersistable | 
XML_STATEMENT | 
 
JUControlDef()
 
            | 
JUControlDef(java.lang.String name,
             java.lang.String controlClassName,
             java.lang.String controlBindingClassName,
             java.lang.String iterBindingName)
 
            | 
 
 
| Methods inherited from class oracle.jbo.uicli.binding.JUDefBase | 
convertToBoolean, convertToInt, convertToIntArray,
createAndLoadFromXML, getDefClassName, getSubType,
isDirty, isNew, loadFromXML,
readXMLBoolean, readXMLInt, readXMLString, readXMLStringArray, setDefClassName, setDirty, setName,
setNew, setParent, setSubType,
writeObject, writeXMLIntArray,
writeXMLStringArray | 
 
| Methods inherited from class oracle.jbo.mom.DefinitionObject | 
addExtendedDefObject, finishedLoading, getBaseDefObject, getContainerDef, getContainerName, getExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadProperties, resolveReferences, setBaseDefObject, setObjectResolved | 
 
| Methods inherited from class oracle.jbo.common.NamedObjectImpl | 
getFullName, getName, getParent,
getProperties, getPropertiesAsStrings, getPropertiesMap,
getProperty, refreshProperty, setFullName,
setPropertiesMap, setProperty | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface oracle.jbo.mom.xml.DefPersistable | 
getFullName | 
 
PNAME_TYPE
public static final java.lang.String PNAME_TYPE
JUControlDef
public JUControlDef()
JUControlDef
public JUControlDef(java.lang.String name,
                    java.lang.String controlClassName,
                    java.lang.String controlBindingClassName,
                    java.lang.String iterBindingName)
init
public void init(java.util.HashMap initValues)
- Overrides:
 init in class JUDefBase
 
getControlClassName
public java.lang.String getControlClassName()
- // inherited
public String getName()
{
return mName;
}
 
setControlClassName
public void setControlClassName(java.lang.String controlClassName)
getControlBindingClassName
public java.lang.String getControlBindingClassName()
setControlBindingClassName
public void setControlBindingClassName(java.lang.String controlBindingClassName)
getIterBindingName
public java.lang.String getIterBindingName()
getIterBinding
public JUIteratorBinding getIterBinding(JUFormBinding formBnd)
getLayoutCons
public oracle.jbo.uicli.layout.JULayoutConsDef getLayoutCons()
getInitialValue
public java.lang.Object getInitialValue()
setInitialValue
public void setInitialValue(java.lang.Object initialValue)
createControl
public java.lang.Object createControl()
createControlBinding
protected abstract JUControlBinding createControlBinding(java.lang.Object control,
                                                         JUFormBinding formBnd)
createControlBinding
public JUControlBinding createControlBinding(JUFormBinding formBnd)
getXMLElementTag
public java.lang.String getXMLElementTag()
- Description copied from interface: 
oracle.jbo.mom.xml.DefPersistable 
- Returns a piece of static info for the type of object this is invoked
 upon.  Examples are PreparedStatements for insert, update, delete,
 and String containing a base the select statement for retrieving
 instances of this type through the SQLInputStream
- Overrides:
 getXMLElementTag in class JUDefBase
 
- Following copied from interface: 
oracle.jbo.mom.xml.DefPersistable 
- Parameters:
 type - Type of the Persistence Statement requested. The type
             can be any of the Statement types defined in this interface.- Returns:
 - returns the Statement required to store in Persitent Storage.
         Incase of XML, it just returns the String. In the case of SQL
         a JDBC PreparedStatement is returned.
 
 
 
retrieveFromXML
protected void retrieveFromXML(oracle.jbo.mom.xml.DefElementImpl xmlElement,
                               java.util.HashMap valueTab)
- Overrides:
 retrieveFromXML in class JUDefBase
 
loadChildrenFromXML
protected void loadChildrenFromXML(oracle.jbo.mom.xml.DefElementImpl xmlElement)
- Overrides:
 loadChildrenFromXML in class JUDefBase
 
writeContents
public void writeContents(oracle.jbo.mom.xml.DefWriter jos)
                   throws oracle.jbo.mom.xml.DefPersistenceException
- Description copied from interface: 
oracle.jbo.mom.xml.DefPersistable 
- Objects should write their persistence output in this method
- Overrides:
 writeContents in class JUDefBase
 
- Following copied from interface: 
oracle.jbo.mom.xml.DefPersistable 
- Parameters:
 jos - the Output storage for persistence- Returns:
 - Number of Contents returned
 
 
 
writeChildren
public void writeChildren(oracle.jbo.mom.xml.DefWriter jos)
                   throws oracle.jbo.mom.xml.DefPersistenceException
- Description copied from interface: 
oracle.jbo.mom.xml.DefPersistable 
- Writes the Object's children to the Persistent storage
- Overrides:
 writeChildren in class JUDefBase
 
- Following copied from interface: 
oracle.jbo.mom.xml.DefPersistable 
- Parameters:
 jos - the Output storage for persistence