Class Tag

  • All Implemented Interfaces:
    java.io.Serializable

    public class Tag
    extends java.lang.Object
    implements java.io.Serializable
    <p>Java class for Tag complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="Tag"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="value" type="{http://flower.com/docs/domain/component}TagValueType" maxOccurs="unbounded"/&gt; &lt;/sequence&gt; &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute name="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name  
      protected java.lang.Boolean readOnly  
      protected java.util.List<java.lang.String> value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Tag()
      Default no-arg constructor abc
      Tag​(java.util.List<java.lang.String> value, java.lang.String name, java.lang.Boolean readOnly)
      Fully-initialising value constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.lang.String getName()
      Gets the value of the name property.
      java.util.List<java.lang.String> getValue()
      Gets the value of the value property.
      int hashCode()  
      boolean isReadOnly()
      Gets the value of the readOnly property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setReadOnly​(java.lang.Boolean value)
      Sets the value of the readOnly property.
      void setValue​(java.util.List<java.lang.String> value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        protected java.util.List<java.lang.String> value
      • name

        protected java.lang.String name
      • readOnly

        protected java.lang.Boolean readOnly
    • Constructor Detail

      • Tag

        public Tag()
        Default no-arg constructor abc
      • Tag

        public Tag​(java.util.List<java.lang.String> value,
                   java.lang.String name,
                   java.lang.Boolean readOnly)
        Fully-initialising value constructor
    • Method Detail

      • getValue

        public java.util.List<java.lang.String> getValue()
        Gets the value of the value property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the value property. <p> For example, to add a new item, do as follows: <pre> getValue().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list String
      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • isReadOnly

        public boolean isReadOnly()
        Gets the value of the readOnly property.
        Returns:
        possible object is Boolean
      • setReadOnly

        public void setReadOnly​(java.lang.Boolean value)
        Sets the value of the readOnly property.
        Parameters:
        value - allowed object is Boolean
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • setValue

        public void setValue​(java.util.List<java.lang.String> value)