Class CustomElement


  • public class CustomElement
    extends AbstractPositioned

    Java class for customElement complex type.

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

     <complexType name="customElement">
       <complexContent>
         <extension base="{http://www.hybris.com/cockpitng/component/editorArea}abstractPositioned">
           <sequence>
             <element name="default" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="locale" type="{http://www.hybris.com/cockpitng/component/editorArea}localeCustomElement" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String _default  
      protected java.util.List<LocaleCustomElement> locale  
      • Fields inherited from class com.hybris.cockpitng.core.config.impl.jaxb.hybris.commonconfig.Positioned

        position
    • Constructor Summary

      Constructors 
      Constructor Description
      CustomElement()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDefault()
      Gets the value of the default property.
      java.util.List<LocaleCustomElement> getLocale()
      Gets the value of the locale property.
      void setDefault​(java.lang.String value)
      Sets the value of the default property.
      • Methods inherited from class java.lang.Object

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

      • _default

        protected java.lang.String _default
    • Constructor Detail

      • CustomElement

        public CustomElement()
    • Method Detail

      • getDefault

        public java.lang.String getDefault()
        Gets the value of the default property.
        Returns:
        possible object is String
      • setDefault

        public void setDefault​(java.lang.String value)
        Sets the value of the default property.
        Parameters:
        value - allowed object is String
      • getLocale

        public java.util.List<LocaleCustomElement> getLocale()
        Gets the value of the locale property.

        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 set method for the locale property.

        For example, to add a new item, do as follows:

            getLocale().add(newItem);
         

        Objects of the following type(s) are allowed in the list LocaleCustomElement