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 |
|---|---|
java.lang.String |
getDefaultLocale() |
java.lang.String |
getName() |
java.lang.String |
getSpaceId()
This method returns the actual id of this space.
|
CMASpace |
setDefaultLocale(java.lang.String defaultLocale)
Set the default locale of this space.
|
CMASpace |
setId(java.lang.String id)
Sets the id of this space.
|
CMASpace |
setName(java.lang.String name)
Sets the name for this Space.
|
CMASpace |
setSpaceId(java.lang.String id)
Sets the id of this space.
|
CMASpace |
setSystem(CMASystem system)
Sets the system field.
|
CMASpace |
setVersion(java.lang.Integer version)
Set the version of this space.
|
java.lang.String |
toString() |
getEnvironmentId, getId, getSystem, getVersion, isArchived, isPublished, setEnvironmentIdpublic CMASpace()
public CMASpace setSystem(CMASystem system)
setSystem in class CMAResourcesystem - sets the system property.public java.lang.String getName()
public CMASpace setName(java.lang.String name)
name - the name of the Space to be setCMASpace instance.public CMASpace setId(java.lang.String id)
setId in class CMAResourceid - to be set.public CMASpace setVersion(java.lang.Integer version)
setVersion in class CMAResourceversion - the version to be set.public java.lang.String getSpaceId()
getSpaceId in class CMAResourceCMAResource.getId()public CMASpace setSpaceId(java.lang.String id)
setSpaceId in class CMAResourceid - the id to be set.setId(String)public java.lang.String getDefaultLocale()
public CMASpace setDefaultLocale(java.lang.String defaultLocale)
defaultLocale - which locale should be default?public java.lang.String toString()
toString in class CMAResourceCopyright © 2019 Contentful, GmbH.. All Rights Reserved.