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.
|
String |
toString() |
getEnvironmentId, getId, getSystem, getVersion, getVisibility, isArchived, isPublished, setEnvironmentId, setVisibilitypublic CMASpace()
public CMASpace setSystem(CMASystem system)
setSystem in class CMAResourcesystem - sets the system property.public String getName()
public CMASpace setName(String name)
name - the name of the Space to be setCMASpace instance.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 String getSpaceId()
getSpaceId in class CMAResourceCMAResource.getId()public CMASpace setSpaceId(String id)
setSpaceId in class CMAResourceid - the id to be set.setId(String)public String getDefaultLocale()
public CMASpace setDefaultLocale(String defaultLocale)
defaultLocale - which locale should be default?public String toString()
toString in class CMAResourceCopyright © 2026 Contentful, GmbH.. All rights reserved.