|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.api.model.content.JsonContentProperty
@ExperimentalApi public class JsonContentProperty
Container for arbitrary JSON data attached to some Content
.
Nested Class Summary | |
---|---|
static class |
JsonContentProperty.ContentPropertyBuilder
|
static class |
JsonContentProperty.Expansions
Provides property names that can be used to expand JsonContentProperty objects. |
Method Summary | |
---|---|
static JsonContentProperty.ContentPropertyBuilder |
builder()
Creates a builder. |
static JsonContentProperty.ContentPropertyBuilder |
builder(JsonContentProperty propertyTemplate)
Creates a builder, initialized from the given template. |
static Reference<JsonContentProperty> |
buildReference(JsonContentPropertyId id)
Creates a collapsed reference to a JsonContentProperty with the given id, or an empty reference, if none was given. |
boolean |
equals(java.lang.Object o)
|
Content |
getContent()
|
Reference<Content> |
getContentRef()
|
JsonContentPropertyId |
getId()
|
java.lang.String |
getKey()
|
JsonString |
getValue()
|
Version |
getVersion()
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static JsonContentProperty.ContentPropertyBuilder builder()
public static JsonContentProperty.ContentPropertyBuilder builder(JsonContentProperty propertyTemplate)
propertyTemplate
- the template to build from
public static Reference<JsonContentProperty> buildReference(@Nullable JsonContentPropertyId id)
id
- the content property id. Can be null.
public JsonContentPropertyId getId()
public java.lang.String getKey()
public JsonString getValue()
public Reference<Content> getContentRef()
public Content getContent()
@Nullable public Version getVersion()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |