|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.util.common.ValueSetDefImpl oracle.apps.fnd.applcore.flex.runtime.util.common.CustomValueSetDefImpl
public class CustomValueSetDefImpl
Represents a custom value set from a database table.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.applcore.flex.runtime.util.common.CustomValueSetDef |
---|
CustomValueSetDef.BindVariable, CustomValueSetDef.BoundValueType, CustomValueSetDef.Column, CustomValueSetDef.ColumnContentType |
Nested classes/interfaces inherited from interface oracle.apps.fnd.applcore.flex.runtime.util.common.ValueSetDef |
---|
ValueSetDef.ValueSetType |
Field Summary |
---|
Fields inherited from interface oracle.apps.fnd.applcore.flex.runtime.util.common.ValueSetDef |
---|
TRANSIENT_VALUE_SET_ID |
Method Summary | |
---|---|
protected void |
addApplicableSegmentLabelCode(java.lang.String labelCode)
Adds a segment label code to the label code list. |
ValueSetUsage |
createUsage(boolean isNullAllowed)
Creates a value-set usage of this value-set definition. |
java.lang.String[] |
getApplicableSegmentLabelCodes()
Gets the segment label codes from all segments that use this value set. |
java.util.List<CustomValueSetDef.BindVariable> |
getBindVariables()
Gets the list of bind variables if any. |
CustomValueSetDef.Column |
getColumn(CustomValueSetDef.ColumnContentType ctype)
Gets the column of a specific content type. |
java.lang.String |
getFromClause()
Gets the FROM clause of the SQL statement that fetches the values. |
java.lang.String |
getOrderByClause()
Gets the ORDERBY clause of the SQL statement that fetches the values. |
java.lang.String |
getTableAliasForValueAttributes()
Gets the table alias used to prefix the value attribute column names. |
java.lang.String |
getWhereClause()
Gets the WHERE clause of the SQL statement that fetches the values. |
boolean |
isJavaTypeSupported(java.lang.Class type)
Checks whether values of a Java type are supported by this value set. |
protected void |
setBindVariables(java.util.List<CustomValueSetDef.BindVariable> list)
Sets the list of bind variables. |
protected CustomValueSetDef.Column |
setColumn(CustomValueSetDef.ColumnContentType ctype,
java.lang.String name,
java.lang.String dtype)
Sets the column of a specific content type. |
protected void |
setOrderByClause(java.lang.String orderByClause)
Sets the ORDERBY clause of the SQL statement that fetches the values. |
protected void |
setTableAliasForValueAttributes(java.lang.String alias)
Sets the table alias used to prefix the value-attribute columns. |
protected void |
setWhereClause(java.lang.String whereClause)
Sets the WHERE clause of the SQL statement that fetches the values. |
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.ValueSetDefImpl |
---|
getCode, getDataSecurityViewCriteriaName, getID, getReferenceValueSetID, getType, getValueType, isDiscriminator, isSubset, isTransient, setDataSecurityViewCriteriaName, setDiscriminator, setReferenceValueSetID, setSubset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.apps.fnd.applcore.flex.runtime.util.common.ValueSetDef |
---|
getCode, getDataSecurityViewCriteriaName, getID, getReferenceValueSetID, getType, getValueType, isDiscriminator, isSubset, isTransient |
Method Detail |
---|
public ValueSetUsage createUsage(boolean isNullAllowed)
createUsage
in interface ValueSetDef
createUsage
in class ValueSetDefImpl
isNullAllowed
- true if null value is allowed
public java.lang.String getFromClause()
getFromClause
in interface CustomValueSetDef
protected void setWhereClause(java.lang.String whereClause)
whereClause
- the WHERE clausepublic java.lang.String getWhereClause()
getWhereClause
in interface CustomValueSetDef
protected void setOrderByClause(java.lang.String orderByClause)
orderByClause
- the ORDERBY clause; null if ORDERBY clause is not neededpublic java.lang.String getOrderByClause()
getOrderByClause
in interface CustomValueSetDef
public boolean isJavaTypeSupported(java.lang.Class type)
ValueSetDefImpl
isJavaTypeSupported
in interface ValueSetDef
isJavaTypeSupported
in class ValueSetDefImpl
type
- the Java type
protected CustomValueSetDef.Column setColumn(CustomValueSetDef.ColumnContentType ctype, java.lang.String name, java.lang.String dtype)
ctype
- the content typename
- the name of the columndtype
- the database type of the column
java.lang.IllegalArgumentException
- if the given column name or type is invalidpublic CustomValueSetDef.Column getColumn(CustomValueSetDef.ColumnContentType ctype)
getColumn
in interface CustomValueSetDef
ctype
- the content type
protected void setBindVariables(java.util.List<CustomValueSetDef.BindVariable> list)
getBindVariables
will reflect that change. To prevent this from happening, the caller
should make an immutable copy first before calling this method.
list
- the list of bind variablespublic java.util.List<CustomValueSetDef.BindVariable> getBindVariables()
getBindVariables
in interface CustomValueSetDef
protected void setTableAliasForValueAttributes(java.lang.String alias)
alias
- the table aliaspublic java.lang.String getTableAliasForValueAttributes()
getTableAliasForValueAttributes
in interface CustomValueSetDef
protected void addApplicableSegmentLabelCode(java.lang.String labelCode)
labelCode
- the label code
java.lang.IllegalArgumentException
- if the given label code is nullpublic java.lang.String[] getApplicableSegmentLabelCodes()
getApplicableSegmentLabelCodes
in interface CustomValueSetDef
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |