@Entity public class CommentAttribute extends AbstractContentAttribute
Modifier and Type | Field and Description |
---|---|
protected Comment |
comment |
ATTRIBUTE_ALIAS_REL_URL, ATTRIBUTE_EDIT_HISTORY_JSON, ATTRIBUTE_HEADERS, ATTRIBUTE_SEO_KEYWORDS, ATTRIBUTE_TEMPLATE, ATTRIBUTE_TITLE
id, name, value
Constructor and Description |
---|
CommentAttribute() |
CommentAttribute(CommentAttribute ca) |
CommentAttribute(String json) |
CommentAttribute(String name,
String value) |
CommentAttribute(String name,
String value,
Comment comment) |
Modifier and Type | Method and Description |
---|---|
CommentAttribute |
clone() |
boolean |
equals(Object obj) |
Comment |
getEntity()
Reference to the entity this Attribute is part of
|
Comment |
getPost() |
int |
hashCode() |
void |
setEntity(Content entity)
Reference to the entity this Attribute is part of
|
void |
setPost(Comment post) |
getId, setId
getName, getValue, setName, setValue, toString, updateValue
protected Comment comment
public CommentAttribute()
public CommentAttribute(String json)
public CommentAttribute(CommentAttribute ca)
public Comment getPost()
public void setPost(Comment post)
public CommentAttribute clone() throws CloneNotSupportedException
clone
in class AbstractContentAttribute
CloneNotSupportedException
public Comment getEntity()
Attribute
Copyright © 2018. All rights reserved.