Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.dt.osn.panel
Class EnableableViewAttribute

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.osn.panel.EnableableViewAttribute

public final class EnableableViewAttribute
extends java.lang.Object

A simple class to act as a row in a TableModel for selecting the enabled schema attribute on a VO attribute (column).


Field Summary
static java.lang.String ATTR_NAME
           
static java.lang.String ATTR_NS
           
 
Constructor Summary
EnableableViewAttribute(oracle.jbo.dt.objects.JboViewAttr attr)
          Construct this class from the BC View Attribute (column).
 
Method Summary
 java.lang.String getAttrName()
          Get the attribute name.
 boolean isEnabled()
          Is the attribute enabled.
 boolean isPropertyChanged()
          Has the schema property changed from the original value?
 void setAttrName(java.lang.String attrName)
          Set the attribute name - here only for the TableModel.
 void setEnabled(boolean enabled)
          Set the enabled flag.
 boolean updateAttrIfNeeded()
          Update the schema property in the VO attribute by either setting the property if it was not previously set, or removing it if it was.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_NS

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

ATTR_NAME

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

EnableableViewAttribute

public EnableableViewAttribute(oracle.jbo.dt.objects.JboViewAttr attr)
Construct this class from the BC View Attribute (column).

Parameters:
attr - BC column.
Method Detail

setAttrName

public void setAttrName(java.lang.String attrName)
Set the attribute name - here only for the TableModel.

Parameters:
attrName - attribute name.

getAttrName

public java.lang.String getAttrName()
Get the attribute name.

Returns:
attribute name.

setEnabled

public void setEnabled(boolean enabled)
Set the enabled flag.

Parameters:
enabled - new value;

isEnabled

public boolean isEnabled()
Is the attribute enabled.

Returns:
true if enabled by schema based property, false otherwise.

isPropertyChanged

public boolean isPropertyChanged()
Has the schema property changed from the original value?

Returns:
true if changed, false otherwise.

updateAttrIfNeeded

public boolean updateAttrIfNeeded()
Update the schema property in the VO attribute by either setting the property if it was not previously set, or removing it if it was. If no change is needed, none is made.

Returns:
true if a change was made, alse otherwise.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.