| Constructor and Description |
|---|
CMAResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceId()
Returns the
sys.id value, null if it is does not exist. |
String |
getSpaceId()
Returns the ID of the Space associated with this resource, null if it does not exist.
|
HashMap<String,Object> |
getSys()
Returns a map of system attributes.
|
Integer |
getVersion()
Returns the
sys.version value, null if it does not exist. |
CMAResource |
setId(String id)
Sets the ID for this CMAResource.
|
void |
setSys(HashMap<String,Object> sys)
Sets a map of system attributes.
|
public CMAResource setId(String id)
CMAResource instancepublic Integer getVersion()
sys.version value, null if it does not exist.public String getResourceId()
sys.id value, null if it is does not exist.public String getSpaceId()
Copyright © 2014 Contentful, GmbH.. All rights reserved.