Package com.sodius.oslc.server.model
Class FeedbackMessage
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.server.model.FeedbackMessage
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://www.sodius.com/ns/feedback#")
@OslcResourceShape(title="Feedback Message Resource Shape",
describes="http://www.sodius.com/ns/feedback#FeedbackMessage")
public class FeedbackMessage
extends AbstractResource
Defines a feedback message, which is a description and an associated severity.
- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDescription(String description) voidsetDetails(String details) voidsetSeverity(String severity) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
FeedbackMessage
public FeedbackMessage() -
FeedbackMessage
-
-
Method Details
-
getDescription
@OslcDescription("Descriptive text (reference: Dublin Core) about resource represented as rich text in XHTML content.") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcTitle("Description") @OslcValueType(XMLLiteral) public String getDescription() -
setDescription
-
getSeverity
-
setSeverity
-
getDetails
@OslcPropertyDefinition("http://www.sodius.com/ns/feedback#details") @OslcValueType(XMLLiteral) public String getDetails() -
setDetails
-