Skip navigation links


oracle.iam.catalog.vo
Class Result

java.lang.Object
  extended by oracle.iam.catalog.vo.Result

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CatalogSearchResult

public class Result
extends java.lang.Object
implements java.io.Serializable

Object that contains the information realted to the result for any operation performed on catalog

Since:
11.1.2.0.0
See Also:
Serialized Form

Constructor Summary
Result()
           

 

Method Summary
 java.lang.Throwable getException()
           
 long getKey()
           
 java.lang.String getMessage()
           
 boolean isStatusFlag()
          Flag to indicate if operation is success or failure.
 void setException(java.lang.Throwable exception)
           
 void setKey(long key)
           
 void setMessage(java.lang.String message)
           
 void setStatusFlag(boolean statusFlag)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Result

public Result()

Method Detail

getMessage

public java.lang.String getMessage()
Returns:
the message

setMessage

public void setMessage(java.lang.String message)
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

public java.lang.Throwable getException()
Returns:
the exception caused during operation

setException

public void setException(java.lang.Throwable exception)
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

Skip navigation links


Copyright © 2014, Oracle and/or its affiliates. All rights reserved.