Class MethodResult
- java.lang.Object
-
- com.supermap.services.rest.MethodResult
-
- All Implemented Interfaces:
- java.io.Serializable
public class MethodResult extends java.lang.Object implements java.io.Serializable${services_rest_MethodResult_Title}
${services_rest_MethodResult_Description}
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description MethodResult()
-
Method Summary
Methods Modifier and Type Method and Description java.lang.ObjectgetCustomResult()HttpErrorgetError()${services_rest_MethodResult_method_getError_Title}java.lang.StringgetNewResourceID()Gets the ID of the newly created resource.java.lang.StringgetNewResourceLocation()${services_rest_MethodResult_method_getNewResourceLocation_Title}PostResultTypegetPostResultType()${services_rest_MethodResult_method_getPostActionType_Title}booleanisSucceed()${services_rest_MethodResult_method_isSucceed_Title}voidsetCustomResult(java.lang.Object customResult)voidsetError(HttpError error)${services_rest_MethodResult_method_setError_Title}voidsetNewResourceID(java.lang.String newResourceID)Sets the ID of the newly created resource.voidsetNewResourceLocation(java.lang.String newResourceLocation)${services_rest_MethodResult_method_setNewResourceLocation_Title}voidsetPostResultType(PostResultType postActionType)${services_rest_MethodResult_method_setPostActionType_Title}voidsetSucceed(boolean isOperationSucced)${services_rest_MethodResult_method_setSucceed_Title}
-
-
-
Method Detail
-
getCustomResult
public java.lang.Object getCustomResult()
-
setCustomResult
public void setCustomResult(java.lang.Object customResult)
-
getPostResultType
public PostResultType getPostResultType()
${services_rest_MethodResult_method_getPostActionType_Title}
${services_rest_MethodResult_method_getPostActionType_Description}
- Returns:
- ${services_rest_MethodResult_method_getPostActionType_return}
-
setPostResultType
public void setPostResultType(PostResultType postActionType)
${services_rest_MethodResult_method_setPostActionType_Title}
${services_rest_MethodResult_method_setPostActionType_Description}
- Parameters:
postActionType- ${services_rest_MethodResult_method_setPostActionType_param_postActionType}
-
isSucceed
public boolean isSucceed()
${services_rest_MethodResult_method_isSucceed_Title}
${services_rest_MethodResult_method_isSucceed_Description}
- Returns:
- ${services_rest_MethodResult_method_isSucceed_return}
-
setSucceed
public void setSucceed(boolean isOperationSucced)
${services_rest_MethodResult_method_setSucceed_Title}
${services_rest_MethodResult_method_setSucceed_Description}
- Parameters:
isOperationSucced- ${services_rest_MethodResult_method_setSucceed_param_isOperationSucced}
-
getNewResourceLocation
public java.lang.String getNewResourceLocation()
${services_rest_MethodResult_method_getNewResourceLocation_Title}
${services_rest_MethodResult_method_getNewResourceLocation_Description}
- Returns:
- ${services_rest_MethodResult_method_getNewResourceLocation_return}
-
setNewResourceLocation
public void setNewResourceLocation(java.lang.String newResourceLocation)
${services_rest_MethodResult_method_setNewResourceLocation_Title}
${services_rest_MethodResult_method_setNewResourceLocation_Description}
- Parameters:
newResourceLocation- ${services_rest_MethodResult_method_setNewResourceLocation_param_newResourceLocation}
-
getError
public HttpError getError()
${services_rest_MethodResult_method_getError_Title}
${services_rest_MethodResult_method_getError_Description}
- Returns:
- ${services_rest_MethodResult_method_getError_return}
-
setError
public void setError(HttpError error)
${services_rest_MethodResult_method_setError_Title}
${services_rest_MethodResult_method_setError_Description}
- Parameters:
error- ${services_rest_MethodResult_method_setError_param_error}
-
getNewResourceID
public java.lang.String getNewResourceID()
Gets the ID of the newly created resource.
- Returns:
- resource ID.
-
setNewResourceID
public void setNewResourceID(java.lang.String newResourceID)
Sets the ID of the newly created resource.
- Parameters:
newResourceID- resource ID.
-
-