|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl<TagValue> oracle.apps.fnd.appltest.diagfwk.engine.impl.TagValueImpl
public class TagValueImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary |
---|
Constructor Summary | |
---|---|
TagValueImpl()
|
Method Summary | |
---|---|
void |
addTests(java.util.List<java.lang.String> pTestNames)
Associates the given list of test names to this tag name value. |
void |
copy(TagValue pObj)
Copies the contents of the given object into this object |
void |
copyT(java.lang.Object pObj)
Copies the contents of the given object into this object |
void |
create()
This method will save the definition of this TagValue into the Applications Database. |
boolean |
exists()
Checks if this tag value exists in the repository. |
void |
fetch()
Fetches the tag value definition. |
void |
fetchAllTestIds(java.util.List<java.lang.String> pPrereqTestIds,
java.util.List<java.lang.String> pInclTestIds,
boolean pRecurse)
Fetches test IDs for this tag value (note: the tag value ID must be set on this object prior to calling this API). |
java.lang.String |
getActiveFlag()
Returns Active Flag value |
java.lang.String |
getDescription()
Returns the description |
java.lang.String |
getDisplayName()
Returns the tag value display name |
java.lang.String |
getParentTagValueId()
Returns the parent tag value id |
java.lang.String |
getTagName()
Returns the tag name |
java.lang.String |
getTagType()
Returns the tag type e.g. |
java.lang.String |
getTagValue()
Returns the tag value |
java.lang.String |
getTagValueId()
Returns the tag value ID |
TagValuePrereqList |
getTagValuePrereqList()
Returns the list of prerequisite tag values associated with this tag value object |
java.lang.String |
getTestAssocActiveFlag()
Returns TestAssocActiveFlag value (Meaningful only in the context of a TestDef object) |
boolean |
hasTestReferences()
Checks to see if this tag value is referred to from any diagnostic tests. |
boolean |
isCreatedAutomatically()
Returns true if this tag-value is created automatically during loading of tests. |
void |
remove()
Removes this tag value from the repository. |
void |
removeTests(java.util.List<java.lang.String> pTestNames)
De-associates the given list of test names from this tag name value. |
protected void |
save()
|
void |
setActiveFlag(java.lang.String pActiveFlag)
Sets the Active flag to indicate whether tag value is active or not. |
void |
setDescription(java.lang.String pDescription)
Sets the tag value description |
void |
setDisplayName(java.lang.String pDisplayName)
Sets the tag value display name |
void |
setParentTagValueId(java.lang.String pParentTagValueId)
Sets the parent tag value id |
void |
setTagName(java.lang.String pTagName)
Sets the tag name |
void |
setTagType(java.lang.String pTagType)
Sets the tag value type to indicate whether it is taxonomy related or independent tag. |
void |
setTagValue(java.lang.String pTagValue)
Sets the tag value |
void |
setTagValueId(java.lang.String pTagValueId)
Sets the tag value ID |
void |
setTagValuePrereqList(TagValuePrereqList pTagValuePrereqList)
Sets the tag value prerequisite list for this tag value object |
void |
setTestAssocActiveFlag(java.lang.String pTestAssocActiveFlag)
Sets the pIsTestAssocActive flag to indicate whether TagValue-TestDef association is active or not. |
void |
validateForCreateAndSave()
Performs validations required before creating a new tag on the database. |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl |
---|
copyCommon, getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin |
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.appltest.diagfwk.engine.DiagBObj |
---|
getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin |
Constructor Detail |
---|
public TagValueImpl()
Method Detail |
---|
public java.lang.String getTagValueId()
TagValue
getTagValueId
in interface TagValue
public java.lang.String getTagValue()
TagValue
getTagValue
in interface TagValue
public java.lang.String getParentTagValueId()
TagValue
getParentTagValueId
in interface TagValue
public java.lang.String getTagName()
TagValue
getTagName
in interface TagValue
public java.lang.String getDisplayName()
TagValue
getDisplayName
in interface TagValue
public java.lang.String getDescription()
TagValue
getDescription
in interface TagValue
public java.lang.String getTagType()
TagValue
getTagType
in interface TagValue
public java.lang.String getActiveFlag()
TagValue
getActiveFlag
in interface TagValue
public java.lang.String getTestAssocActiveFlag()
TagValue
getTestAssocActiveFlag
in interface TagValue
public TagValuePrereqList getTagValuePrereqList()
TagValue
getTagValuePrereqList
in interface TagValue
public void setTagValueId(java.lang.String pTagValueId)
TagValue
setTagValueId
in interface TagValue
pTagValueId
- the tag value IDpublic void setTagValue(java.lang.String pTagValue)
TagValue
setTagValue
in interface TagValue
pTagValue
- the tag valuepublic void setParentTagValueId(java.lang.String pParentTagValueId)
TagValue
setParentTagValueId
in interface TagValue
pParentTagValueId
- the parent tag value idpublic void setTagName(java.lang.String pTagName)
TagValue
setTagName
in interface TagValue
pTagName
- the tag namepublic void setDisplayName(java.lang.String pDisplayName)
TagValue
setDisplayName
in interface TagValue
pDisplayName
- the tag value display namepublic void setDescription(java.lang.String pDescription)
TagValue
setDescription
in interface TagValue
pDescription
- the tag value descriptionpublic void setTagType(java.lang.String pTagType)
TagValue
setTagType
in interface TagValue
pTagType
- tag value type.public void setActiveFlag(java.lang.String pActiveFlag)
TagValue
setActiveFlag
in interface TagValue
pActiveFlag
- flag for the tag valuepublic void setTestAssocActiveFlag(java.lang.String pTestAssocActiveFlag)
TagValue
setTestAssocActiveFlag
in interface TagValue
pTestAssocActiveFlag
- flag for the tag valuepublic void setTagValuePrereqList(TagValuePrereqList pTagValuePrereqList)
TagValue
setTagValuePrereqList
in interface TagValue
pTagValuePrereqList
- tag value prerequisite list for this tag value objectnpublic void copy(TagValue pObj)
TagValue
copy
in interface TagValue
copy
in class DiagBObjImpl<TagValue>
pObj
- the object to copy into this object.public boolean isCreatedAutomatically()
TagValue
isCreatedAutomatically
in interface TagValue
public void copyT(java.lang.Object pObj)
DiagBObj
copyT
in interface DiagBObj<TagValue>
pObj
- the contents of the given object into this objectpublic void fetchAllTestIds(java.util.List<java.lang.String> pPrereqTestIds, java.util.List<java.lang.String> pInclTestIds, boolean pRecurse)
TagValue
fetchAllTestIds
in interface TagValue
pPrereqTestIds
- - List object where the API will add prerequisite
test IDs.pInclTestIds
- - List object where the API will add included
test IDs.pRecurse
- - if true, all nested tag values are also traversed.
Otherwise, only the immediate prerequisites and children are traversed.public void create()
TagValue
The required attributes are tagName, tagValue and displayName. The description attribute can also be populated optionally. If the tag value is getting created for the first time, this API for the tag automatically generates a tagValueId and sets it on this object.
Note: A tag entity with the given tag name should already exist prior to creating a tag value for that tag name.
create
in interface TagValue
public void validateForCreateAndSave()
TagValue
validateForCreateAndSave
in interface TagValue
protected void save()
public void addTests(java.util.List<java.lang.String> pTestNames) throws DiagfwkException
TagValue
addTests
in interface TagValue
pTestNames
- test names to associate with this tag name value
DiagfwkException
- when any error occurs.public void removeTests(java.util.List<java.lang.String> pTestNames) throws DiagfwkException
TagValue
removeTests
in interface TagValue
pTestNames
- test names to de-associate from this tag name value
DiagfwkException
- when any error occurs.public boolean hasTestReferences()
TagValue
Currently, requires tag name and tag value to be set prior to invoking this method.
hasTestReferences
in interface TagValue
public void remove()
TagValue
Tag name and tag value must be set prior to invoking this API.
remove
in interface TagValue
public void fetch()
TagValue
fetch
in interface TagValue
public boolean exists()
TagValue
The tag name and value must be set on this object prior to calling this method.
exists
in interface TagValue
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |