Class MTagCommon

    • Constructor Detail

      • MTagCommon

        public MTagCommon​(String id,
                          String type)
      • MTagCommon

        public MTagCommon​(MTagCommon original)
        Copy constructor.
        Parameters:
        original - the existing MTagCommon to duplicate.
    • Method Detail

      • setId

        public void setId​(String id)
      • setType

        public void setType​(String type)
      • getRef

        public String getRef()
      • setRef

        public void setRef​(String ref)
      • getValue

        public String getValue()
      • setValue

        public void setValue​(String value)
      • getTranslate

        public Boolean getTranslate()
      • setTranslate

        public void setTranslate​(Boolean translate)
      • equals

        public boolean equals​(Object other)
        Indicates if this object is equals to a given one.
        Overrides:
        equals in class Object
        Parameters:
        other - the other object to compare.
        Returns:
        true if the two objects are identical.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • hasITSItem

        public boolean hasITSItem()
        Description copied from interface: IWithITSAttributes
        Indicates if the object has at least one ITS item.
        Specified by:
        hasITSItem in interface IWithITSAttributes
        Returns:
        true if the object has at least one ITS item.
      • getITSItems

        public ITSItems getITSItems()
        Description copied from interface: IWithITSAttributes
        Gets the ITS items associated with this object.
        Specified by:
        getITSItems in interface IWithITSAttributes
        Returns:
        the ITS items associated with this object (can be empty, but never null).
      • setITSItems

        public void setITSItems​(ITSItems itsItems)
        Description copied from interface: IWithITSAttributes
        Sets the list of the ITS items associated with this object.
        Specified by:
        setITSItems in interface IWithITSAttributes
        Parameters:
        itsItems - the new items to set.
      • getType

        public String getType()