public class CatalogResponse extends BaseResponse
Constructor and Description |
---|
CatalogResponse()
Default constructor for CatalogResponse.
|
CatalogResponse(CatalogDTO catalog)
Constructor for CatalogResponse.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the response data.
|
public CatalogResponse(CatalogDTO catalog)
catalog
- The catalog data transfer object.public CatalogResponse()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
validate
in class BaseResponse
java.lang.IllegalArgumentException
- if the catalog name, type or audit is not set.