public class Comment extends Object implements AddressableEntity
Constructor and Description |
---|
Comment(URI self,
String body,
BasicUser author,
BasicUser updateAuthor,
org.joda.time.DateTime creationDate,
org.joda.time.DateTime updateDate,
Visibility visibility,
Long id) |
Modifier and Type | Method and Description |
---|---|
static Comment |
createWithGroupLevel(String body,
String groupLevel) |
static Comment |
createWithRoleLevel(String body,
String roleLevel) |
boolean |
equals(Object obj) |
BasicUser |
getAuthor() |
String |
getBody() |
org.joda.time.DateTime |
getCreationDate() |
Long |
getId() |
URI |
getSelf() |
BasicUser |
getUpdateAuthor() |
org.joda.time.DateTime |
getUpdateDate() |
Visibility |
getVisibility() |
int |
hashCode() |
String |
toString() |
static Comment |
valueOf(String body) |
boolean |
wasUpdated() |
public boolean wasUpdated()
public String getBody()
public URI getSelf()
getSelf
in interface AddressableEntity
public org.joda.time.DateTime getCreationDate()
public org.joda.time.DateTime getUpdateDate()
@Nullable public Visibility getVisibility()
Copyright © 2013 Atlassian. All Rights Reserved.