public class CMATag extends CMAResource
| Constructor and Description |
|---|
CMATag()
Create a tag using the default types for the system property.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Override retrieval of the tag id here, since the id of this tag is it's id.
|
java.lang.String |
getName() |
CMAVisibility |
getVisibility() |
CMATag |
setId(java.lang.String id)
Sets the id of this tag.
|
CMATag |
setName(java.lang.String name)
Sets the name for this tag.
|
CMATag |
setSystem(CMASystem system)
Sets the system field.
|
<T extends CMAResource> |
setVisibility(CMAVisibility visibility)
Convenience method for setting a version.
|
java.lang.String |
toString() |
getEnvironmentId, getSpaceId, getSystem, getVersion, isArchived, isPublished, setEnvironmentId, setSpaceId, setVersionpublic CMATag()
public CMAVisibility getVisibility()
getVisibility in class CMAResourcesys.visibility value, null if it does not exist.public <T extends CMAResource> T setVisibility(CMAVisibility visibility)
CMAResourcesetVisibility in class CMAResourcevisibility - the visibility to be set.CMAResource for chaining.public CMATag setSystem(CMASystem system)
setSystem in class CMAResourcesystem - sets the system property.public java.lang.String getName()
public CMATag setName(java.lang.String name)
name - the name of the tag to be setCMATag instance.public CMATag setId(java.lang.String id)
setId in class CMAResourceid - to be set.public java.lang.String getId()
getId in class CMAResourcepublic java.lang.String toString()
toString in class CMAResourceCopyright © 2021 Contentful, GmbH.. All Rights Reserved.