Package com.fluig.sdk.web
Class FluigRestResult
- java.lang.Object
-
- com.fluig.sdk.web.FluigRestResult
-
- All Implemented Interfaces:
Serializable
public class FluigRestResult extends Object implements Serializable
Classe para ser usada como padrĂ£o para o retorno dos REST.- Version:
- 1.00.000
- Author:
- vanei
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FluigRestResult()
FluigRestResult(FluigMessage message)
Nova instancia do FluigRestResult de acordo com o messageFluigRestResult(Object content)
Nova instancia do FluigRestResult de acordo com o contentFluigRestResult(Object content, FluigMessage message)
Nova instancia do FluigRestResult de acordo com o content e message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getContent()
Recupera valor do contentFluigMessage
getMessage()
Recupera valor do messagevoid
setContent(Object content)
Atribui valor para contentvoid
setMessage(FluigMessage message)
Atribui valor para messageString
toString()
-
-
-
Constructor Detail
-
FluigRestResult
public FluigRestResult()
-
FluigRestResult
public FluigRestResult(Object content)
Nova instancia do FluigRestResult de acordo com o content- Parameters:
content
-
-
FluigRestResult
public FluigRestResult(Object content, FluigMessage message)
Nova instancia do FluigRestResult de acordo com o content e message- Parameters:
content
-message
-
-
FluigRestResult
public FluigRestResult(FluigMessage message)
Nova instancia do FluigRestResult de acordo com o message- Parameters:
message
-
-
-
Method Detail
-
getContent
public Object getContent()
Recupera valor do content- Returns:
- the content
-
setContent
public void setContent(Object content)
Atribui valor para content- Parameters:
content
- the content to set
-
getMessage
public FluigMessage getMessage()
Recupera valor do message- Returns:
- the message
-
setMessage
public void setMessage(FluigMessage message)
Atribui valor para message- Parameters:
message
- the message to set
-
-