Class CustomElement
- java.lang.Object
-
- com.hybris.cockpitng.core.config.impl.jaxb.hybris.commonconfig.Positioned
-
- com.hybris.cockpitng.core.config.impl.jaxb.editorarea.AbstractPositioned
-
- com.hybris.cockpitng.core.config.impl.jaxb.editorarea.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_defaultprotected 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.StringgetDefault()Gets the value of the default property.java.util.List<LocaleCustomElement>getLocale()Gets the value of the locale property.voidsetDefault(java.lang.String value)Sets the value of the default property.-
Methods inherited from class com.hybris.cockpitng.core.config.impl.jaxb.hybris.commonconfig.Positioned
getPosition, setPosition
-
-
-
-
Field Detail
-
_default
protected java.lang.String _default
-
locale
protected java.util.List<LocaleCustomElement> locale
-
-
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 isString
-
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
setmethod 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
-
-