Class Link


  • public class Link
    extends Positioned

    Java class for link complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="link">
       <complexContent>
         <extension base="{http://www.hybris.com/cockpitng/config/common}positioned">
           <attribute name="label" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="icon" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="target" type="{http://www.hybris.com/cockpitng/config/links}target" />
           <attribute name="merge-mode" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String icon  
      protected java.lang.String label  
      protected MergeMode mergeMode  
      protected Target target  
      protected java.lang.String url  
      • Fields inherited from class com.hybris.cockpitng.core.config.impl.jaxb.hybris.commonconfig.Positioned

        position
    • Constructor Summary

      Constructors 
      Constructor Description
      Link()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getIcon()
      Gets the value of the icon property.
      java.lang.String getLabel()
      Gets the value of the label property.
      MergeMode getMergeMode()
      Gets the value of the mergeMode property.
      Target getTarget()
      Gets the value of the target property.
      java.lang.String getUrl()
      Gets the value of the url property.
      void setIcon​(java.lang.String value)
      Sets the value of the icon property.
      void setLabel​(java.lang.String value)
      Sets the value of the label property.
      void setMergeMode​(MergeMode value)
      Sets the value of the mergeMode property.
      void setTarget​(Target value)
      Sets the value of the target property.
      void setUrl​(java.lang.String value)
      Sets the value of the url property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • label

        protected java.lang.String label
      • icon

        protected java.lang.String icon
      • url

        protected java.lang.String url
      • target

        protected Target target
    • Constructor Detail

      • Link

        public Link()
    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        Gets the value of the label property.
        Returns:
        possible object is String
      • setLabel

        public void setLabel​(java.lang.String value)
        Sets the value of the label property.
        Parameters:
        value - allowed object is String
      • getIcon

        public java.lang.String getIcon()
        Gets the value of the icon property.
        Returns:
        possible object is String
      • setIcon

        public void setIcon​(java.lang.String value)
        Sets the value of the icon property.
        Parameters:
        value - allowed object is String
      • getUrl

        public java.lang.String getUrl()
        Gets the value of the url property.
        Returns:
        possible object is String
      • setUrl

        public void setUrl​(java.lang.String value)
        Sets the value of the url property.
        Parameters:
        value - allowed object is String
      • getTarget

        public Target getTarget()
        Gets the value of the target property.
        Returns:
        possible object is Target
      • setTarget

        public void setTarget​(Target value)
        Sets the value of the target property.
        Parameters:
        value - allowed object is Target
      • getMergeMode

        public MergeMode getMergeMode()
        Gets the value of the mergeMode property.
        Returns:
        possible object is String
      • setMergeMode

        public void setMergeMode​(MergeMode value)
        Sets the value of the mergeMode property.
        Parameters:
        value - allowed object is String