Package oracle.iam.catalog.vo
Class Result
java.lang.Object
oracle.iam.catalog.vo.Result
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CatalogSearchResult
Object that contains the information realted to the result for any operation performed on catalog
- Since:
- 11.1.2.0.0
- Author:
- asbharga
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getKey()
long
boolean
Flag to indicate if operation is success or failure.void
setException
(Throwable exception) void
setKey
(long key) void
setMessage
(String message) void
setNoOfRowsEffected
(long noOfRowsEffected) void
setStatusFlag
(boolean statusFlag)
-
Constructor Details
-
Result
public Result()
-
-
Method Details
-
getMessage
- Returns:
- the message
-
setMessage
- Parameters:
message
- the message to set
-
isStatusFlag
public boolean isStatusFlag()Flag to indicate if operation is success or failure. If failure call getException to get the exception- Returns:
- the statusFlag true means operation is success, and false means some exception,
-
setStatusFlag
public void setStatusFlag(boolean statusFlag) - Parameters:
statusFlag
- the statusFlag to set
-
getException
- Returns:
- the exception caused during operation
-
setException
- Parameters:
exception
- the exception to set
-
getKey
public long getKey()- Returns:
- the primary key if its returned after create operation
-
setKey
public void setKey(long key) - Parameters:
key
- the key to set
-
getNoOfRowsEffected
public long getNoOfRowsEffected()- Returns:
- no of effected rows
-
setNoOfRowsEffected
public void setNoOfRowsEffected(long noOfRowsEffected) - Parameters:
noOfRowsEffected
-
-