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