Package com.sodius.oslc.core.model
Class Discussion
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.core.model.Discussion
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/core#") @OslcName("Discussion") @OslcResourceShape(title="OSLC Discussion Resource Shape", describes="http://open-services.net/ns/core#Discussion") public class Discussion extends AbstractResource
Represents Discussion.See the OSLC Core Vocabulary specification for details:
http://open-services.net/bin/view/Main/OSLCCoreSpecAppendixA#oslc_Discussion_Resource- Since:
- 1.3.0
-
-
Constructor Summary
Constructors Constructor Description Discussion()
Discussion(URI about)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComment(Comment comment)
Comment[]
getComments()
URI
getDiscussionAbout()
void
setComments(Comment[] comments)
void
setDiscussionAbout(URI discussionAbout)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
Discussion
public Discussion()
-
Discussion
public Discussion(URI about)
-
-
Method Detail
-
getDiscussionAbout
@OslcPropertyDefinition("http://open-services.net/ns/core#discussionAbout") @OslcRange("http://open-services.net/ns/core#Discussion") @OslcTitle("Discussion") public URI getDiscussionAbout()
-
setDiscussionAbout
public void setDiscussionAbout(URI discussionAbout)
-
getComments
@OslcName("comment") @OslcPropertyDefinition("http://open-services.net/ns/core#comment") @OslcTitle("Comment") public Comment[] getComments()
-
addComment
public void addComment(Comment comment)
-
setComments
public void setComments(Comment[] comments)
-
-