public interface RESTMediaType extends CentraSiteRegistryObject
Modifier and Type | Method and Description |
---|---|
Category |
getContentType()
Gets the request or response schema contents and its request or response content types that are defined for the media type object.
|
java.util.Collection<RESTEncoding> |
getEncodings()
Gets the encoding value that are defined for the media type object.
|
java.lang.String |
getExample()
Gets the example value that are defined for the media type object.
|
java.util.Collection<RESTExample> |
getExamples()
Gets the example value that are defined for the media type object.
|
RESTSchema |
getSchemaObject()
Retrives the schema properties for the MediaType
|
AbstractXMLService |
getService()
Gets the REST service.
|
void |
setContentType(Category contentTypes)
Sets the request or response schema content (as a plain text) along with its request or response content type information to the media type object.
|
void |
setEncodings(java.util.Collection<RESTEncoding> encodings)
Sets the encoding schema value that are defined for the media type object.
|
void |
setExample(java.lang.String example)
Sets the example value that are defined for the media type object.
|
void |
setExamples(java.util.Collection<RESTExample> examples)
Sets the example value that are defined for the media type object.
|
void |
setSchemaObject(RESTSchema schema)
Sets schema properties of the parameter
|
void |
setService(AbstractXMLService service)
Sets the REST service .
|
getConsumedAssets, getConsumers, getDescription, getDescription, getDisplayVersion, getInitialVirtualAssetName, getLastModifiedTimeStamp, getLCMAssignment, getLocalName, getMandatoryAttributeProfiles, getName, getName, getNameSpace, getNextVersion, getNextVersions, getOrganization, getOwner, getPendingApprovals, getPreviousVersion, getPreviousVersions, getRegistryObject, getRelationShipValueMap, getRequestedUser, getSubscribers, getSystemVersion, getTitle, getType, getUserVersion, getVisiblePrimaryProfiles, getVisibleProfile, isDeployedOn, isLatestVersionObject, isPropagatePermissions, isPropagateProfilePermissions, removeConsumedAssets, removeConsumers, setDescription, setDescription, setDisplayVersion, setLCMState, setLocalName, setName, setName, setNameSpace, setOrganization, setOwner, setPropagatePermissions, setPropagateProfilePermissions, setRelationShipValueMap, setUserVersion
delete, getAttributeLink, getAttributeValue, getAttributeValue, getAttributeValue, getId, isModified, isPredefined, isReadOnly, save, setAttributeValue, setAttributeValue, setAttributeValue
RESTSchema getSchemaObject() throws CLLException
CLLException
void setSchemaObject(RESTSchema schema) throws CLLException
schema
- CLLException
- If an error occurs while setting the RESTSchema values for the MediaType.java.lang.String getExample() throws CLLException
String
CLLException
- If error occurs while fetching the example value of the media type object.void setExample(java.lang.String example) throws CLLException
example
- CLLException
- If error occurs while fetching the example value of the media type object.java.util.Collection<RESTExample> getExamples() throws CLLException
Collection
CLLException
- If error occurs while fetching the example value of the media type object.void setExamples(java.util.Collection<RESTExample> examples) throws CLLException
examples
- CLLException
- If error occurs while fetching the example value of the media type object.java.util.Collection<RESTEncoding> getEncodings() throws CLLException
Collection
CLLException
- If error occurs while fetching the encoding value of the media type object.void setEncodings(java.util.Collection<RESTEncoding> encodings) throws CLLException
examples
- CLLException
- If error occurs while fetching the encoding value of the media type object.void setContentType(Category contentTypes) throws CLLException
contentTypes
- CLLException
- If error occurs while setting the request or response schema contents to media type object.Category getContentType() throws CLLException
Category
CLLException
- If error occurs while fetching the request or response schema contents of the media type object.void setService(AbstractXMLService service)
service
- The AbstractXMLService
.AbstractXMLService getService()
AbstractXMLService
of the resource.