org.exoplatform.social.service.rest.api.models
Class CommentRestIn

java.lang.Object
  extended by org.exoplatform.social.service.rest.api.models.CommentRestIn

public class CommentRestIn
extends Object

The Comment input model for Social Rest APIs.

Since:
1.2.3
Author:
phuonglm

Constructor Summary
CommentRestIn()
           
 
Method Summary
 String getText()
          Gets the comment text.
 boolean isValid()
          Checks if this is a valid input, including all required fields.
 void setText(String text)
          Sets the comment text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentRestIn

public CommentRestIn()
Method Detail

getText

public String getText()
Gets the comment text.

Returns:
the comment text

setText

public void setText(String text)
Sets the comment text.

Parameters:
text - the comment text

isValid

public boolean isValid()
Checks if this is a valid input, including all required fields.

Returns:
a boolean value


Copyright © 2013 eXo Platform SAS. All Rights Reserved.