Class ViewDescriptor
java.lang.Object
net.spreadsheetspace.sdk.model.ViewDescriptor
Response object for create/update/publish View
Composed by
Composed by
- viewId: This string represents the identifier of the View.
- viewServer: This string represents the server address where the View is stored.
- statusCode: This integer represents the response code for the action that was performed on the current View.
- message: This string represents a message associated to the StatusCode.
- nextAvailableSequenceNumber: This long represents a sequence number that must be send to the next update of the current View.
- excelType: This enum represents the type of current Object.
-
Constructor Summary
ConstructorsConstructorDescriptionViewDescriptor(String viewId, String viewServer) ViewDescriptor(String viewId, String viewServer, Long nextAvailableSequenceNumber) ViewDescriptor(String viewId, String viewServer, Long nextAvailableSequenceNumber, ExcelType excelType) ViewDescriptor(String viewId, String viewServer, String marketId) ViewDescriptor(String viewId, String viewServer, ExcelType excelType) ViewDescriptor(String viewId, String viewServer, StatusCode statusCode, String message, Long nextAvailableSequenceNumber) ViewDescriptor(String viewId, String viewServer, StatusCode statusCode, String message, Long nextAvailableSequenceNumber, ExcelType excelType) ViewDescriptor(String viewId, String viewServer, StatusCode statusCode, String message, Long nextAvailableSequenceNumber, ExcelType excelType, String marketId) ViewDescriptor(LinkedList<String> messages, StatusCode statusCode) -
Method Summary
Modifier and TypeMethodDescriptionGet the Excel type on the current Object.Get the identifier of the View.Get a message associated to the StatusCode.Get a sequence number that must be send to the next update of the current View.Get the response code for the action that was performed on the current View.Get the identifier of the View.Get the server address where the View is stored.voidsetExcelType(ExcelType excelType) voidsetMarketId(String marketId) voidsetMessage(String message) voidsetMessages(LinkedList<String> messages) voidsetNextAvailableSequenceNumber(Long sequenceNumber) voidsetStatusCode(StatusCode statusCode) voidvoidsetViewServer(String viewServer) toString()
-
Constructor Details
-
ViewDescriptor
-
ViewDescriptor
-
ViewDescriptor
-
ViewDescriptor
public ViewDescriptor(String viewId, String viewServer, StatusCode statusCode, String message, Long nextAvailableSequenceNumber) -
ViewDescriptor
-
ViewDescriptor
-
ViewDescriptor
-
ViewDescriptor
-
ViewDescriptor
-
-
Method Details
-
getViewId
Get the identifier of the View. -
setViewId
-
getViewServer
Get the server address where the View is stored. -
setViewServer
-
getMessage
Get a message associated to the StatusCode. -
setMessage
-
getNextAvailableSequenceNumber
Get a sequence number that must be send to the next update of the current View. -
setNextAvailableSequenceNumber
-
getMessages
-
setMessages
-
getStatusCode
Get the response code for the action that was performed on the current View. -
setStatusCode
-
getExcelType
Get the Excel type on the current Object. -
setExcelType
-
getMarketId
Get the identifier of the View. -
setMarketId
-
toString
-