|
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.ValueSetDefImpl
public class ValueSetDefImpl
A default implementation of ValueSetDef
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.applcp.migrate.modeler.common.ValueSetDef |
---|
ValueSetDef.ValueSetType |
Field Summary |
---|
Fields inherited from interface oracle.apps.fnd.applcp.migrate.modeler.common.ValueSetDef |
---|
TRANSIENT_VALUE_SET_ID |
Constructor Summary | |
---|---|
ValueSetDefImpl(long id,
java.lang.String code,
ValueSetDef.ValueSetType type,
ValueType vt)
Constructs a value-set definition. |
|
ValueSetDefImpl(long id,
java.lang.String code,
ValueSetDef.ValueSetType type,
ValueType vt,
java.lang.String secCriteriaName)
Constructs a value-set definition. |
|
ValueSetDefImpl(java.lang.String code,
ValueSetDef.ValueSetType type,
ValueType vt)
Constructs a transient value-set definition. |
Method Summary | |
---|---|
protected void |
addSegmentLabelCode(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 |
getCode()
Gets the code of the value set. |
java.lang.String |
getDataSecurityViewCriteriaName()
Gets the name of the view criteria used for data security. |
long |
getID()
Gets the ID of the value set. |
java.lang.Long |
getReferenceValueSetID()
Gets the ID of the value-set referenced by this value-set. |
java.lang.String[] |
getSegmentLabelCodes()
Gets the segment label codes associated with this value-set definition. |
ValueSetDef.ValueSetType |
getType()
Gets the type of the value set. |
java.lang.String |
getUIControlType()
Gets the preferred type of the UI control for this value set. |
ValueType |
getValueType()
Gets the type of the values in this value set. |
boolean |
isDiscriminator()
Whether this value set holds the discriminator values. |
boolean |
isJavaTypeSupported(java.lang.Class type)
Checks whether values of a Java type are supported by this value set. |
boolean |
isTransient()
Whether this value-set definition is transient. |
protected void |
setDataSecurityViewCriteriaName(java.lang.String name)
Sets the name of view criteria used for data security. |
protected void |
setDiscriminator(boolean b)
Sets the flag to indicate that this value set is for a discriminator. |
protected void |
setReferenceValueSetID(long id)
Sets the value-set ID of the reference segment. |
protected void |
setUIControlType(java.lang.String type)
Sets the preferred type of the UI control. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueSetDefImpl(long id, java.lang.String code, ValueSetDef.ValueSetType type, ValueType vt)
id
- the value-set IDcode
- the value-set codetype
- the value-set typevt
- the value type
java.lang.IllegalArgumentException
- if given ID, code, type or value type
is invalidpublic ValueSetDefImpl(long id, java.lang.String code, ValueSetDef.ValueSetType type, ValueType vt, java.lang.String secCriteriaName)
id
- the value-set IDcode
- the value-set codetype
- the value-set typevt
- the value typesecCriteriaName
- the name of the data security view criteria
java.lang.IllegalArgumentException
- if given ID, code, type or value type
is invalidpublic ValueSetDefImpl(java.lang.String code, ValueSetDef.ValueSetType type, ValueType vt)
code
- the value-set codetype
- the value-set typevt
- the value typeMethod Detail |
---|
public final long getID()
TRANSIENT_VALUE_SET_ID
, this value set is a transient
value set. All transient value sets share the same ID.
getID
in interface ValueSetDef
public final java.lang.String getCode()
getCode
in interface ValueSetDef
public final ValueSetDef.ValueSetType getType()
getType
in interface ValueSetDef
public final ValueType getValueType()
getValueType
in interface ValueSetDef
public final boolean isTransient()
isTransient
in interface ValueSetDef
public final boolean isDiscriminator()
isDiscriminator
in interface ValueSetDef
protected void setDiscriminator(boolean b)
b
- true if this value set is for a discriminatorpublic java.lang.String getUIControlType()
getUIControlType
in interface ValueSetDef
protected void setUIControlType(java.lang.String type)
type
- the preferred type of the UI controlpublic java.lang.Long getReferenceValueSetID()
getReferenceValueSetID
in interface ValueSetDef
protected void setReferenceValueSetID(long id)
id
- the value-set ID of the reference segmentpublic boolean isJavaTypeSupported(java.lang.Class type)
isJavaTypeSupported
in interface ValueSetDef
type
- the JAva type
public ValueSetUsage createUsage(boolean isNullAllowed)
createUsage
in interface ValueSetDef
isNullAllowed
- true if null value is allowed
protected void addSegmentLabelCode(java.lang.String labelCode)
labelCode
- the label code
java.lang.IllegalArgumentException
- if the given label code is nullpublic java.lang.String[] getSegmentLabelCodes()
getSegmentLabelCodes
in interface ValueSetDef
public java.lang.String getDataSecurityViewCriteriaName()
getDataSecurityViewCriteriaName
in interface ValueSetDef
protected void setDataSecurityViewCriteriaName(java.lang.String name)
name
- the name of the view criteria
|
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 |