Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

oracle.apps.fnd.applcp.migrate.modeler.common
Interface SegmentDef

All Known Implementing Classes:
SegmentDefImpl

public interface SegmentDef

Definition of a flexfield segment.


Nested Class Summary
static interface SegmentDef.Column
          A database table column.
static interface SegmentDef.ValueAttribute
          An attribute of a segment value.
static interface SegmentDef.ValueAttributeValidator
          A validator of a value attribute.
 
Method Summary
 SegmentDef.Column getColumn()
          Gets the database table column associated with this segment.
 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 getFormattedDefaultValue(java.lang.Class targetJavaType)
          Gets the formatted default value for runtime use.
 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 a property of this segment.
 java.lang.String[] getPropertyNames()
          Gets a list of the names of the properties currently set on this segment.
 UIHints getUIHints()
          Gets the hints for rendering the user interface.
 Validator getValidator()
          Gets the validator associated with this segment.
 ValueType getValueType()
           
 boolean isDiscriminator()
          Returns true if this segment is a discriminator.
 boolean isGlobal()
          Returns true if this segment is a global segment.
 boolean isMandatory()
          Returns true if this segment is mandatory.
 void setValueType(ValueType valueType)
           
 

Method Detail

getName

java.lang.String getName()
Gets the name of this segment.

Returns:
the name of this segment

isGlobal

boolean isGlobal()
Returns true if this segment is a global segment.

Returns:
true if this segment is a global segment

isDiscriminator

boolean isDiscriminator()
Returns true if this segment is a discriminator.

Returns:
true if this segment is a discriminator

getUIHints

UIHints getUIHints()
Gets the hints for rendering the user interface.

Returns:
the hints for the UI

getProperty

java.lang.Object getProperty(java.lang.String pname)
Gets a property of this segment.

Parameters:
pname - the name of the property
Returns:
the value of the property; null if the property does not exist

getPropertyNames

java.lang.String[] getPropertyNames()
Gets a list of the names of the properties currently set on this segment.

Returns:
the list of property names; null if no properties are set

getValidator

Validator getValidator()
Gets the validator associated with this segment.

Returns:
the validator associated with this segment; null if no validator is associated with this segment

isMandatory

boolean isMandatory()
Returns true if this segment is mandatory.

Returns:
true if this segment is mandatory.

getColumn

SegmentDef.Column getColumn()
Gets the database table column associated with this segment.

Returns:
the database table column associated with this segment

getDerivationValue

java.lang.String getDerivationValue()
Gets the flexfield parameter code this segment value is derived from.

Returns:
the flexfield parameter code

getDefaultValue

java.lang.String getDefaultValue()
Gets the default value of the segment.

Returns:
the default value

getFormattedDefaultValue

java.lang.String getFormattedDefaultValue(java.lang.Class targetJavaType)
Gets the formatted default value for runtime use.

Parameters:
targetJavaType - the Java type of the attribute where the default value will be applied
Returns:
the formatted default value

getDefaultValueType

java.lang.String getDefaultValueType()
Gets the type of the default value.

Returns:
the type of the default value

setValueType

void setValueType(ValueType valueType)

getValueType

ValueType getValueType()

getLabelCodes

java.lang.String[] getLabelCodes()
Gets the list of segment labels associated with this segment.

Returns:
the list of segment labels

Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

Copyright © 2011 Oracle. All Rights Reserved.