Class WidgetExtension
- java.lang.Object
-
- com.hybris.cockpitng.core.persistence.impl.jaxb.WidgetExtension
-
public class WidgetExtension extends java.lang.ObjectAllows to change existing widget configuration (in example add/remove child widgets).Java class for WidgetExtension complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WidgetExtension"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="move" type="{}WidgetMove" maxOccurs="unbounded" minOccurs="0"/> <element name="remove" type="{}WidgetRemoveEntry" maxOccurs="unbounded" minOccurs="0"/> <element name="remove-all" type="{}WidgetRemoveAllEntry" maxOccurs="unbounded" minOccurs="0"/> <element name="widget" type="{}Widget" maxOccurs="unbounded" minOccurs="0"/> <element name="instance-settings" type="{}InstanceSettings" minOccurs="0"/> <element name="setting" type="{}WidgetSetting" maxOccurs="unbounded" minOccurs="0"/> <element ref="{}virtual-sockets" minOccurs="0"/> </sequence> <attribute name="widgetId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="contextId" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessSettingsaccessprotected java.lang.StringcontextIdprotected InstanceSettingsinstanceSettingsprotected java.util.List<WidgetMove>moveprotected java.util.List<WidgetRemoveEntry>removeprotected java.util.List<WidgetRemoveAllEntry>removeAllprotected java.util.List<WidgetSetting>settingprotected VirtualSocketsvirtualSocketsprotected java.util.List<Widget>widgetprotected java.lang.StringwidgetId
-
Constructor Summary
Constructors Constructor Description WidgetExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessSettingsgetAccess()java.lang.StringgetContextId()Gets the value of the contextId property.InstanceSettingsgetInstanceSettings()Gets the value of the instanceSettings property.java.util.List<WidgetMove>getMove()Gets the value of the move property.java.util.List<WidgetRemoveEntry>getRemove()Gets the value of the remove property.java.util.List<WidgetRemoveAllEntry>getRemoveAll()Gets the value of the removeAll property.java.util.List<WidgetSetting>getSetting()Gets the value of the setting property.VirtualSocketsgetVirtualSockets()Set of virtual (dynamic) slots of widget instance.java.util.List<Widget>getWidget()Gets the value of the widget property.java.lang.StringgetWidgetId()Gets the value of the widgetId property.voidsetAccess(AccessSettings access)voidsetContextId(java.lang.String value)Sets the value of the contextId property.voidsetInstanceSettings(InstanceSettings value)Sets the value of the instanceSettings property.voidsetVirtualSockets(VirtualSockets value)Sets the value of the virtualSockets property.voidsetWidgetId(java.lang.String value)Sets the value of the widgetId property.
-
-
-
Field Detail
-
move
protected java.util.List<WidgetMove> move
-
remove
protected java.util.List<WidgetRemoveEntry> remove
-
removeAll
protected java.util.List<WidgetRemoveAllEntry> removeAll
-
widget
protected java.util.List<Widget> widget
-
instanceSettings
protected InstanceSettings instanceSettings
-
setting
protected java.util.List<WidgetSetting> setting
-
virtualSockets
protected VirtualSockets virtualSockets
-
access
protected AccessSettings access
-
widgetId
protected java.lang.String widgetId
-
contextId
protected java.lang.String contextId
-
-
Method Detail
-
getMove
public java.util.List<WidgetMove> getMove()
Gets the value of the move 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 move property.For example, to add a new item, do as follows:
getMove().add(newItem);Objects of the following type(s) are allowed in the list
WidgetMove
-
getRemove
public java.util.List<WidgetRemoveEntry> getRemove()
Gets the value of the remove 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 remove property.For example, to add a new item, do as follows:
getRemove().add(newItem);Objects of the following type(s) are allowed in the list
WidgetRemoveEntry
-
getRemoveAll
public java.util.List<WidgetRemoveAllEntry> getRemoveAll()
Gets the value of the removeAll 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 removeAll property.For example, to add a new item, do as follows:
getRemoveAll().add(newItem);Objects of the following type(s) are allowed in the list
WidgetRemoveAllEntry
-
getWidget
public java.util.List<Widget> getWidget()
Gets the value of the widget 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 widget property.For example, to add a new item, do as follows:
getWidget().add(newItem);Objects of the following type(s) are allowed in the list
Widget
-
getInstanceSettings
public InstanceSettings getInstanceSettings()
Gets the value of the instanceSettings property.- Returns:
- possible object is
InstanceSettings
-
setInstanceSettings
public void setInstanceSettings(InstanceSettings value)
Sets the value of the instanceSettings property.- Parameters:
value- allowed object isInstanceSettings
-
getSetting
public java.util.List<WidgetSetting> getSetting()
Gets the value of the setting 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 setting property.For example, to add a new item, do as follows:
getSetting().add(newItem);Objects of the following type(s) are allowed in the list
WidgetSetting
-
getVirtualSockets
public VirtualSockets getVirtualSockets()
Set of virtual (dynamic) slots of widget instance.- Returns:
- possible object is
VirtualSockets
-
setVirtualSockets
public void setVirtualSockets(VirtualSockets value)
Sets the value of the virtualSockets property.- Parameters:
value- allowed object isVirtualSockets
-
getWidgetId
public java.lang.String getWidgetId()
Gets the value of the widgetId property.- Returns:
- possible object is
String
-
setWidgetId
public void setWidgetId(java.lang.String value)
Sets the value of the widgetId property.- Parameters:
value- allowed object isString
-
getContextId
public java.lang.String getContextId()
Gets the value of the contextId property.- Returns:
- possible object is
String
-
setContextId
public void setContextId(java.lang.String value)
Sets the value of the contextId property.- Parameters:
value- allowed object isString
-
getAccess
public AccessSettings getAccess()
-
setAccess
public void setAccess(AccessSettings access)
-
-