public class CMASpace extends CMAResource
| Constructor and Description |
|---|
CMASpace()
Create a space using the default types for the system property.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultLocale() |
String |
getName() |
String |
getSpaceId()
This method returns the actual id of this space.
|
CMASpace |
setDefaultLocale(String defaultLocale)
Set the default locale of this space.
|
CMASpace |
setId(String id)
Sets the id of this space.
|
CMASpace |
setName(String name)
Sets the name for this Space.
|
CMASpace |
setSpaceId(String id)
Sets the id of this space.
|
CMASpace |
setSystem(CMASystem system)
Sets the system field.
|
CMASpace |
setVersion(Integer version)
Set the version of this space.
|
getId, getSystem, getVersion, isArchived, isPublishedpublic CMASpace()
public CMASpace setSystem(CMASystem system)
setSystem in class CMAResourcesystem - sets the system property.public CMASpace setName(String name)
name - the name of the Space to be setCMASpace instance.public String getName()
public CMASpace setId(String id)
setId in class CMAResourceid - to be set.public CMASpace setVersion(Integer version)
setVersion in class CMAResourceversion - the version to be set.public CMASpace setSpaceId(String id)
setSpaceId in class CMAResourceid - the id to be set.setId(String)public String getSpaceId()
getSpaceId in class CMAResourceCMAResource.getId()public String getDefaultLocale()
Copyright © 2017 Contentful, GmbH.. All Rights Reserved.