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, setEnvironmentId
public CMASpace()
public CMASpace setSystem(CMASystem system)
setSystem
in class CMAResource
system
- 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 CMAResource
id
- to be set.public CMASpace setVersion(java.lang.Integer version)
setVersion
in class CMAResource
version
- the version to be set.public java.lang.String getSpaceId()
getSpaceId
in class CMAResource
CMAResource.getId()
public CMASpace setSpaceId(java.lang.String id)
setSpaceId
in class CMAResource
id
- 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 CMAResource
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.