com.atlassian.confluence.api.model.content.id
Class JsonContentPropertyId

java.lang.Object
  extended by com.atlassian.confluence.api.model.content.id.JsonContentPropertyId

@ExperimentalApi
public class JsonContentPropertyId
extends java.lang.Object

Identifies a JsonContentProperty instance.

Since:
5.6

Field Summary
static ContentId UNSET
           
 
Method Summary
 long asLong()
           
static JsonContentPropertyId deserialise(java.lang.String id)
           
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 boolean isSet()
           
static JsonContentPropertyId of(long id)
           
 java.lang.String serialise()
           
 java.lang.String toString()
           
static JsonContentPropertyId valueOf(java.lang.String id)
          Deprecated. Don't use. Use deserialise(String) instead.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSET

public static final ContentId UNSET
Method Detail

deserialise

public static JsonContentPropertyId deserialise(java.lang.String id)
                                         throws BadRequestException
Throws:
BadRequestException

of

public static JsonContentPropertyId of(long id)

serialise

public java.lang.String serialise()

asLong

public long asLong()

isSet

public boolean isSet()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

valueOf

@Deprecated
public static JsonContentPropertyId valueOf(java.lang.String id)
                                     throws BadRequestException
Deprecated. Don't use. Use deserialise(String) instead.

Just for Jersey QueryParam automatic conversion. Client code should use the deserialize factory method.

Throws:
BadRequestException


Copyright © 2003-2014 Atlassian. All Rights Reserved.