Class CMATag


  • public class CMATag
    extends CMAResource
    Represents a resource of type environment.
    • Constructor Detail

      • CMATag

        public CMATag()
        Create a tag using the default types for the system property.
    • Method Detail

      • setSystem

        public CMATag setSystem​(CMASystem system)
        Sets the system field.
        Overrides:
        setSystem in class CMAResource
        Parameters:
        system - sets the system property.
        Returns:
        this, as casted to a resource, for the ease of chaining.
      • getName

        public java.lang.String getName()
        Returns:
        the name of this tag.
      • setName

        public CMATag setName​(java.lang.String name)
        Sets the name for this tag.
        Parameters:
        name - the name of the tag to be set
        Returns:
        this CMATag instance.
      • setId

        public CMATag setId​(java.lang.String id)
        Sets the id of this tag.
        Overrides:
        setId in class CMAResource
        Parameters:
        id - to be set.
        Returns:
        this instance for chaining.
      • getId

        public java.lang.String getId()
        Override retrieval of the tag id here, since the id of this tag is it's id.
        Overrides:
        getId in class CMAResource
        Returns:
        the ID of the tag
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class CMAResource
        Returns:
        a human readable string, representing the object.