|
Oracle Fusion Middleware extensions for Enterprise Scheduler Service 11g Release 1 (11.1.2) E22563-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcp.migrate.modeler.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.applcp.migrate.modeler.common.SegmentDef |
---|
SegmentDef.Column, SegmentDef.ValueAttribute, SegmentDef.ValueAttributeValidator |
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.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. |
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 |
getLabel()
Gets the Label. |
java.lang.String[] |
getLabelCodes()
Gets the list of segment labels associated with this segment. |
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 |
getTitle()
Gets the title. |
UIHints |
getUIHints()
Gets the hints for rendering the user interface. |
Validator |
getValidator()
Gets the validator associated with this segment. |
ValueType |
getValueType()
Gets the Value Type |
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 |
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 |
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 |
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 |
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 |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a property of this segment. |
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 |
setValidator(Validator v)
Sets the validator for this segment. |
void |
setValueType(ValueType valueType)
Sets the Value Type. |
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 nullMethod Detail |
---|
public java.lang.String getName()
getName
in interface SegmentDef
public boolean isGlobal()
isGlobal
in interface SegmentDef
protected void setGlobal(boolean b)
b
- true if this segment is a global segmentpublic boolean isDiscriminator()
isDiscriminator
in interface SegmentDef
protected void setDiscriminator(boolean b)
b
- true if this segment is a discriminatorpublic boolean isMandatory()
isMandatory
in interface SegmentDef
protected void setMandatory(boolean b)
b
- true if this segment is mandatorypublic boolean isReadOnly()
isReadOnly
in interface UIHints
protected void setReadOnly(boolean b)
b
- true if this segment is read-onlypublic java.lang.String getDerivationValue()
getDerivationValue
in interface SegmentDef
protected void setDerivationValue(java.lang.String value)
value
- the derivation valuepublic java.lang.String getDefaultValue()
getDefaultValue
in interface SegmentDef
public java.lang.String getFormattedDefaultValue(java.lang.Class targetJavaType)
getFormattedDefaultValue
in interface SegmentDef
targetJavaType
- 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 SegmentDef
protected void setDefaultValueType(java.lang.String t)
t
- the type of the default valuepublic UIHints getUIHints()
getUIHints
in interface SegmentDef
public java.lang.String getTitle()
getTitle
in interface UIHints
protected void setTitle(java.lang.String s)
s
- the title of this segmentpublic java.lang.String getDescription()
getDescription
in interface UIHints
protected void setDescription(java.lang.String s)
s
- the description of this segmentpublic java.lang.String getLabel()
getLabel
in interface UIHints
protected void setLabel(java.lang.String s)
s
- the label for this segmentpublic java.lang.String getControlType()
getControlType
in interface UIHints
protected void setControlType(java.lang.String type)
type
- the preferred UI control typepublic boolean isHidden()
isHidden
in interface UIHints
protected void setReferenced(boolean b)
b
- whether this segment is referenced by other componentspublic boolean isReferenced()
isReferenced
in interface UIHints
protected void setHidden(boolean b)
b
- true if this segment should be hiddenpublic int getDisplayWidth()
getDisplayWidth
in interface UIHints
protected 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 SegmentDef
pname
- 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 SegmentDef
protected void setValidator(Validator v)
v
- the validatorpublic SegmentDef.Column getColumn()
getColumn
in interface SegmentDef
protected void setColumn(SegmentDef.Column col)
col
- the database table columnpublic java.lang.String[] getLabelCodes()
getLabelCodes
in interface SegmentDef
protected void setLabelCodes(java.lang.String[] codes)
codes
- the list of segment label codespublic ValueType getValueType()
getValueType
in interface SegmentDef
public void setValueType(ValueType valueType)
setValueType
in interface SegmentDef
valueType
- the value type
|
Oracle Fusion Middleware extensions for Enterprise Scheduler Service 11g Release 1 (11.1.2) E22563-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |