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 Constructor Description FeedbackMessage()
FeedbackMessage(String description, String severity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getDetails()
String
getSeverity()
void
setDescription(String description)
void
setDetails(String details)
void
setSeverity(String severity)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
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
public void setDescription(String description)
-
getSeverity
@OslcPropertyDefinition("http://www.sodius.com/ns/feedback#severity") public String getSeverity()
-
setSeverity
public void setSeverity(String severity)
-
getDetails
@OslcPropertyDefinition("http://www.sodius.com/ns/feedback#details") @OslcValueType(XMLLiteral) public String getDetails()
-
setDetails
public void setDetails(String details)
-
-