Resource 类
定义
Represents the base resource in the Azure Cosmos DB database service.
public class Resource extends JsonSerializable
- 继承
继承成员
JsonSerializable.get(String propertyName)
JsonSerializable.getBoolean(String propertyName)
JsonSerializable.getCollection(String propertyName)
JsonSerializable.getDouble(String propertyName)
JsonSerializable.getHashMap()
JsonSerializable.getInt(String propertyName)
JsonSerializable.getLogger()
JsonSerializable.getLong(String propertyName)
JsonSerializable.getMapper()
JsonSerializable.getObject(String propertyName)
JsonSerializable.getObjectByPath(Collection<String> propertyNames)
JsonSerializable.getString(String propertyName)
JsonSerializable.has(String propertyName)
JsonSerializable.JsonSerializable()
JsonSerializable.JsonSerializable(String jsonString, ObjectMapper objectMapper)
JsonSerializable.JsonSerializable(String jsonString)
JsonSerializable.JsonSerializable(JSONObject jsonObject)
JsonSerializable.remove(String propertyName)
JsonSerializable.toJson()
JsonSerializable.toJson(SerializationFormattingPolicy formattingPolicy)
JsonSerializable.toString()
JsonSerializable.toString(int indentFactor)
构造函数
Resource() |
Constructor. |
Resource(JSONObject jsonObject) |
Constructor.
|
Resource(String jsonString) |
Constructor.
|
Resource(String jsonString, ObjectMapper objectMapper) |
Constructor.
|
方法
getETag() |
Get the entity tag associated with the resource.
|
getId() |
Gets the name of the resource.
|
getResourceId() |
Gets the ID associated with the resource.
|
getSelfLink() |
Get the self-link associated with the resource.
|
getTimestamp() |
Get the last modified timestamp associated with the resource.
|
setId(String id) |
Sets the name of the resource.
|
setResourceId(String resourceId) |
Set the ID associated with the resource.
|