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 |
|---|---|
String |
getId()
Override retrieval of the tag id here, since the id of this tag is it's id.
|
String |
getName() |
CMAVisibility |
getVisibility() |
CMATag |
setId(String id)
Sets the id of this tag.
|
CMATag |
setName(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.
|
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 String getName()
public CMATag setName(String name)
name - the name of the tag to be setCMATag instance.public CMATag setId(String id)
setId in class CMAResourceid - to be set.public String getId()
getId in class CMAResourcepublic String toString()
toString in class CMAResourceCopyright © 2026 Contentful, GmbH.. All rights reserved.