|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.apps.fnd.applcore.flex.runtime.util.common.SegmentDefImpl
public class SegmentDefImpl
Standard implementation of SegmentDef.
| Nested Class Summary | |
|---|---|
protected static class |
SegmentDefImpl.ColumnImpl
An implementation of Column. |
| Nested classes/interfaces inherited from interface oracle.apps.fnd.applcore.flex.runtime.util.common.SegmentDef |
|---|
SegmentDef.Column, SegmentDef.Operator |
| Nested classes/interfaces inherited from interface oracle.apps.fnd.applcore.flex.runtime.util.common.UIHints |
|---|
UIHints.DisplayType, UIHints.DisplayTypeProperty |
| Field Summary |
|---|
| Fields inherited from interface oracle.apps.fnd.applcore.flex.runtime.util.common.UIHints |
|---|
CTL_DATE_TIME, CTL_TYPE_PREFIX |
| Constructor Summary | |
|---|---|
protected |
SegmentDefImpl(java.lang.String name)
Constructs a segment. |
| Method Summary | |
|---|---|
SegmentDef.Column |
getColumn()
Gets the database table column associated with this segment. |
java.lang.String |
getControlType()
Gets the preferred UI control type |
java.util.List<SegmentDef.Operator> |
getCustomOperators()
Gets the list of custom operators. |
java.lang.String |
getDefaultValue()
Gets the default value of the segment. |
java.lang.String |
getDefaultValueType()
Gets the type of the default value. |
java.lang.String |
getDerivationValue()
Gets the flexfield parameter code this segment value is derived from. |
java.lang.String |
getDescription()
Gets the description. |
UIHints.DisplayType |
getDisplayType()
Gets the preferred display type. |
java.lang.Object |
getDisplayTypeProperty(UIHints.DisplayTypeProperty name)
Gets a property of a display type. |
int |
getDisplayWidth()
Gets the display width. |
java.lang.String |
getFormattedDefaultValue(java.lang.Class targetJavaType)
Gets the formatted default value for runtime use. |
java.lang.String |
getIndexedFlag()
Gets the Indexed Flag |
java.lang.String |
getLabel()
Gets the label in the locale when this information is fetched. |
java.lang.String[] |
getLabelCodes()
Gets the list of segment labels associated with this segment. |
java.lang.String |
getMultiRowUniqueKeyFlag()
Gets the MultiRow Unique Key Flag |
java.lang.String |
getName()
Gets the name of this segment. |
java.lang.Object |
getProperty(java.lang.String pname)
Gets the property value. |
java.lang.String[] |
getPropertyNames()
Gets the names of all properties. |
java.lang.String |
getQueryRequiredType()
Gets the query required type. |
java.lang.String |
getTitle()
Gets the title. |
java.util.Map<java.lang.String,java.lang.String> |
getTranslatedLabels()
Gets translated labels for multiple languages. |
java.lang.String |
getTreeCode()
Gets the tree code associated with this segment. |
UIHints |
getUIHints()
Gets the hints for rendering the user interface. |
java.lang.String |
getUOMClass()
Gets the UOM Class |
Validator |
getValidator()
Gets the validator associated with this segment. |
boolean |
isBIEnabled()
Returns true if this segment is BI-enabled. |
boolean |
isDiscriminator()
Returns true if this segment is a discriminator. |
boolean |
isGlobal()
Returns true if this segment is a global segment. |
boolean |
isHidden()
Returns true if the associated component should be hidden. |
boolean |
isMandatory()
Returns true if this segment is mandatory. |
boolean |
isReadOnly()
Returns true if the segment is read-only. |
boolean |
isReferenced()
Returns true if the associated component is referenced by other components. |
protected void |
setBIEnabled(boolean b)
Sets whether this segment is BI-enabled. |
protected void |
setColumn(SegmentDef.Column col)
Sets the database table column for this segment. |
protected void |
setControlType(java.lang.String type)
Sets the preferred UI control type for this segment. |
protected void |
setCustomOperators(java.util.List<SegmentDef.Operator> opers)
Sets the list of custom operators. |
protected void |
setDefaultValue(java.lang.String s)
Sets the default vlaue of the segment. |
protected void |
setDefaultValueType(java.lang.String t)
Sets the type of the default value. |
protected void |
setDerivationValue(java.lang.String value)
Sets the derivation value. |
protected void |
setDescription(java.lang.String s)
Sets the description of this segment. |
protected void |
setDiscriminator(boolean b)
Sets whether this segment is a discriminator. |
protected void |
setDisplayType(UIHints.DisplayType type)
Sets the preferred display type for this segment. |
protected void |
setDisplayTypeProperty(UIHints.DisplayTypeProperty name,
java.lang.Object value)
Sets a property of a display type. |
protected void |
setDisplayWidth(int w)
Sets the display width. |
protected void |
setGlobal(boolean b)
Sets whether this segment is a global segment. |
protected void |
setHidden(boolean b)
Sets whether this segment should be hidden. |
protected void |
setIndexedFlag(java.lang.String indexedFlag)
Sets the Indexed Flag. |
protected void |
setLabel(java.lang.String s)
Sets the label for this segment. |
protected void |
setLabelCodes(java.lang.String[] codes)
Sets the list of segment labels associated with this segment. |
protected void |
setMandatory(boolean b)
Sets whether this segment is mandatory. |
protected void |
setMultiRowUniqueKeyFlag(java.lang.String multiRowUniqueKeyFlag)
Sets the MultiRow Unique Key Flag. |
protected void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a property of this segment. |
protected void |
setQueryRequiredType(java.lang.String type)
Sets the query required type. |
protected void |
setReadOnly(boolean b)
Sets whether this segment is read-only. |
protected void |
setReferenced(boolean b)
Sets whether this segment is referenced by other components. |
protected void |
setTitle(java.lang.String s)
Sets the title of this segment. |
protected void |
setTranslatedLabels(java.util.Map<java.lang.String,java.lang.String> map)
Sets the translated labels. |
protected void |
setTreeCode(java.lang.String code)
Sets the tree code associated with this segment. |
protected void |
setUOMClass(java.lang.String uomClass)
Sets the UOM Class. |
protected void |
setValidator(Validator v)
Sets the validator for this segment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SegmentDefImpl(java.lang.String name)
name - the name of the segment
java.lang.IllegalArgumentException - if the given name is null| Method Detail |
|---|
public java.lang.String getName()
getName in interface SegmentDefpublic boolean isGlobal()
isGlobal in interface SegmentDefprotected void setGlobal(boolean b)
b - true if this segment is a global segmentpublic boolean isDiscriminator()
isDiscriminator in interface SegmentDefprotected void setDiscriminator(boolean b)
b - true if this segment is a discriminatorpublic boolean isMandatory()
isMandatory in interface SegmentDefprotected void setMandatory(boolean b)
b - true if this segment is mandatorypublic boolean isReadOnly()
isReadOnly in interface UIHintsprotected void setReadOnly(boolean b)
b - true if this segment is read-onlypublic java.lang.String getDerivationValue()
getDerivationValue in interface SegmentDefprotected void setDerivationValue(java.lang.String value)
value - the derivation valuepublic java.lang.String getDefaultValue()
getDefaultValue in interface SegmentDefpublic java.lang.String getFormattedDefaultValue(java.lang.Class targetJavaType)
getFormattedDefaultValue in interface SegmentDeftargetJavaType - the Java type of the attribute where the default
value will be applied
protected void setDefaultValue(java.lang.String s)
s - the default valuepublic java.lang.String getDefaultValueType()
getDefaultValueType in interface SegmentDefprotected void setDefaultValueType(java.lang.String t)
t - the type of the default valuepublic UIHints getUIHints()
getUIHints in interface SegmentDefpublic java.lang.String getTitle()
getTitle in interface UIHintsprotected void setTitle(java.lang.String s)
s - the title of this segmentpublic java.lang.String getDescription()
getDescription in interface UIHintsprotected void setDescription(java.lang.String s)
s - the description of this segmentpublic java.lang.String getLabel()
getLabel in interface UIHintsprotected void setLabel(java.lang.String s)
s - the label for this segmentpublic java.util.Map<java.lang.String,java.lang.String> getTranslatedLabels()
UIHints
getTranslatedLabels in interface UIHintsprotected void setTranslatedLabels(java.util.Map<java.lang.String,java.lang.String> map)
map - the map of labels where the keys are the language codes and the
values are the labels in those languagespublic java.lang.String getControlType()
getControlType in interface UIHintsprotected void setControlType(java.lang.String type)
type - the preferred UI control typepublic UIHints.DisplayType getDisplayType()
getDisplayType in interface UIHintsprotected void setDisplayType(UIHints.DisplayType type)
type - the preferred display typepublic java.lang.Object getDisplayTypeProperty(UIHints.DisplayTypeProperty name)
getDisplayTypeProperty in interface UIHintsname - the property
protected void setDisplayTypeProperty(UIHints.DisplayTypeProperty name,
java.lang.Object value)
name - the name of the propertyvalue - the valuepublic boolean isHidden()
isHidden in interface UIHintsprotected void setReferenced(boolean b)
b - whether this segment is referenced by other componentspublic boolean isReferenced()
isReferenced in interface UIHintsprotected void setHidden(boolean b)
b - true if this segment should be hiddenpublic int getDisplayWidth()
getDisplayWidth in interface UIHintsprotected void setDisplayWidth(int w)
w - the display width
java.lang.IllegalArgumentException - if the given width is less than zeropublic java.lang.Object getProperty(java.lang.String pname)
getProperty in interface SegmentDefpname - the property name
public java.lang.String[] getPropertyNames()
getPropertyNames in interface SegmentDef
protected void setProperty(java.lang.String name,
java.lang.Object value)
name - the name of the propertyvalue - the value of the propertypublic Validator getValidator()
getValidator in interface SegmentDefprotected void setValidator(Validator v)
v - the validatorpublic SegmentDef.Column getColumn()
getColumn in interface SegmentDefprotected void setColumn(SegmentDef.Column col)
col - the database table columnpublic java.lang.String[] getLabelCodes()
getLabelCodes in interface SegmentDefprotected void setLabelCodes(java.lang.String[] codes)
codes - the list of segment label codespublic java.util.List<SegmentDef.Operator> getCustomOperators()
getCustomOperators in interface SegmentDefprotected void setCustomOperators(java.util.List<SegmentDef.Operator> opers)
opers - the list of custom operatorspublic java.lang.String getUOMClass()
getUOMClass in interface SegmentDefprotected void setUOMClass(java.lang.String uomClass)
uomClass - the UOM Classpublic java.lang.String getIndexedFlag()
getIndexedFlag in interface SegmentDefprotected void setIndexedFlag(java.lang.String indexedFlag)
indexedFlag - the Indexed Flagprotected void setBIEnabled(boolean b)
b - true if this segment is BI-enabledpublic boolean isBIEnabled()
isBIEnabled in interface SegmentDefpublic java.lang.String getMultiRowUniqueKeyFlag()
getMultiRowUniqueKeyFlag in interface SegmentDefprotected void setMultiRowUniqueKeyFlag(java.lang.String multiRowUniqueKeyFlag)
multiRowUniqueKeyFlag - the MultiRow Unique Key Flagpublic java.lang.String getTreeCode()
SegmentDef
getTreeCode in interface SegmentDefprotected void setTreeCode(java.lang.String code)
code - the tree codepublic java.lang.String getQueryRequiredType()
SegmentDeforacle.apps.fnd.applcore.flex.common.util.QueryRequiredType
getQueryRequiredType in interface SegmentDefQueryRequiredTypeprotected void setQueryRequiredType(java.lang.String type)
type - the query required type
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||