Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.dt.patterns.metadata.creator.common
Class Attribute

java.lang.Object
  extended by oracle.adfdt.view.ui.collection.ItemHolder
      extended by oracle.adfdt.view.ui.collection.Item
          extended by oracle.apps.fnd.applcore.dt.patterns.metadata.creator.common.Attribute

public class Attribute
extends oracle.adfdt.view.ui.collection.Item

This class represents an item in the collections table. This class is used only in the non data bound mode as the databinding is taken care by the ADF.


Field Summary
static java.lang.String CUSTOM_COMPONENT
          The custom JSF/ADF component.
 
Fields inherited from class oracle.adfdt.view.ui.collection.Item
PROPERTY_COMPONENT, PROPERTY_ITEM_LABEL_VALUE, PROPERTY_VALUE
 
Fields inherited from class oracle.adfdt.view.ui.collection.ItemHolder
MOVE_BOTTOM, MOVE_DOWN, MOVE_TOP, MOVE_UP, PROPERTY_ITEMS
 
Constructor Summary
Attribute(oracle.bali.xml.gui.jdev.JDevXmlContext context, org.w3c.dom.Node node)
          The constructor for this item.
Attribute(oracle.bali.xml.gui.jdev.JDevXmlContext context, org.w3c.dom.Node node, boolean useLabelIfPossible)
          The constructor for this item.
 
Method Summary
 oracle.adfdt.view.ui.collection.Item cloneItem()
          This method does nothing.
 void commit()
          This method i called to generate the metadata for this attribute.
 oracle.bali.xml.gui.jdev.JDevXmlContext getContext()
          This method returns the jdev xml context.
 java.lang.String getDisplayValue()
          This method returns the display label for this item.
 javax.swing.Icon getIcon()
          This method returns the icon that is set for this item.
 oracle.bali.xml.metadata.XmlKey getKey()
          This method returns the xml key of the component being used by this component.
 org.w3c.dom.Node getNode()
          This method returns the node attached with this attribute.
 org.w3c.dom.Element getRootElement()
          This method returns the root element of this item.
 oracle.binding.meta.VariableDefinition getVariableDefinition()
          Get the jsr227 variable definition (attribute in anyone else's parlance) from this class.
 oracle.adfdt.view.ui.collection.Item group(oracle.adfdt.view.ui.collection.Item[] items)
          This method does nothing.
 void setComponent(java.lang.String component)
          This method sets the component type for this item.
 void setIcon(javax.swing.Icon icon)
          This method is used to set the icon for the component.
 void setKey(oracle.bali.xml.metadata.XmlKey key)
          This method sets the xml key of the component being used by this item.
 void setRootElement(org.w3c.dom.Element rootElement)
          This method sets the root element for this item.
 void setVariableDefinition(oracle.binding.meta.VariableDefinition att)
          Set the jsr227 variable definition (attribute in anyone else's parlance) on this class.
 void sync(oracle.adfdt.view.ui.collection.Item source)
          This method does nothing,
 void ungroup(oracle.adfdt.view.ui.collection.Item item)
          This method does nothing.
 
Methods inherited from class oracle.adfdt.view.ui.collection.Item
getComponent, getItemLabelValue, getValue, setItemLabelValue, setValue
 
Methods inherited from class oracle.adfdt.view.ui.collection.ItemHolder
addPropertyChangeListener, delete, firePropertyChange, getItems, getParent, move, removePropertyChangeListener, setItems
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUSTOM_COMPONENT

public static final java.lang.String CUSTOM_COMPONENT
The custom JSF/ADF component.

See Also:
Constant Field Values
Constructor Detail

Attribute

public Attribute(oracle.bali.xml.gui.jdev.JDevXmlContext context,
                 org.w3c.dom.Node node)
The constructor for this item.

Parameters:
context - The jdev xml context.
node - The root node for this item.

Attribute

public Attribute(oracle.bali.xml.gui.jdev.JDevXmlContext context,
                 org.w3c.dom.Node node,
                 boolean useLabelIfPossible)
The constructor for this item.

Parameters:
context - The jdev xml context.
node - The root node for this item.
useLabelIfPossible - Set a label on this Component if it supports one.
Method Detail

getNode

public org.w3c.dom.Node getNode()
This method returns the node attached with this attribute.

Returns:
The node object.

getContext

public oracle.bali.xml.gui.jdev.JDevXmlContext getContext()
This method returns the jdev xml context.

Returns:
The jdev xml context.

commit

public void commit()
            throws oracle.bali.xml.model.XmlCommitException
This method i called to generate the metadata for this attribute.

Specified by:
commit in class oracle.adfdt.view.ui.collection.ItemHolder
Throws:
oracle.bali.xml.model.XmlCommitException - The xml commit exception.

group

public oracle.adfdt.view.ui.collection.Item group(oracle.adfdt.view.ui.collection.Item[] items)
This method does nothing.

Specified by:
group in class oracle.adfdt.view.ui.collection.ItemHolder
Parameters:
items - Items to be grouped.
Returns:
The grouped item.

ungroup

public void ungroup(oracle.adfdt.view.ui.collection.Item item)
This method does nothing.

Specified by:
ungroup in class oracle.adfdt.view.ui.collection.ItemHolder
Parameters:
item - Item to be ungrouped.

cloneItem

public oracle.adfdt.view.ui.collection.Item cloneItem()
This method does nothing.

Specified by:
cloneItem in class oracle.adfdt.view.ui.collection.Item
Returns:
The cloned item.

sync

public void sync(oracle.adfdt.view.ui.collection.Item source)
This method does nothing,

Specified by:
sync in class oracle.adfdt.view.ui.collection.Item
Parameters:
source - The source item.

getRootElement

public org.w3c.dom.Element getRootElement()
This method returns the root element of this item.

Returns:
The root element.

setRootElement

public void setRootElement(org.w3c.dom.Element rootElement)
This method sets the root element for this item.

Parameters:
rootElement - The root element.

setComponent

public void setComponent(java.lang.String component)
This method sets the component type for this item.

Overrides:
setComponent in class oracle.adfdt.view.ui.collection.Item
Parameters:
component - The ADF component type.

setKey

public void setKey(oracle.bali.xml.metadata.XmlKey key)
This method sets the xml key of the component being used by this item.

Parameters:
key - The xml key.

getKey

public oracle.bali.xml.metadata.XmlKey getKey()
This method returns the xml key of the component being used by this component.

Returns:
The xml key.

setIcon

public void setIcon(javax.swing.Icon icon)
This method is used to set the icon for the component.

Parameters:
icon - The icon for this item.

getIcon

public javax.swing.Icon getIcon()
This method returns the icon that is set for this item.

Returns:
The icon set for this item.

getDisplayValue

public java.lang.String getDisplayValue()
This method returns the display label for this item.

Returns:
The display label.

setVariableDefinition

public void setVariableDefinition(oracle.binding.meta.VariableDefinition att)
Set the jsr227 variable definition (attribute in anyone else's parlance) on this class. This may be used by a surrounding collection to obtain type information for component selection.

Parameters:
att - jsr227 variable definition

getVariableDefinition

public oracle.binding.meta.VariableDefinition getVariableDefinition()
Get the jsr227 variable definition (attribute in anyone else's parlance) from this class.

Returns:
jsr227 variable definition

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.