Class PerspectiveChooser
- java.lang.Object
-
- com.hybris.cockpitng.config.perspectivechooser.jaxb.PerspectiveChooser
-
public class PerspectiveChooser extends java.lang.ObjectJava class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="defaultPerspective" type="{http://www.hybris.com/cockpitng/config/perspectiveChooser}defaultPerspective" minOccurs="0"/> <element name="authority" type="{http://www.hybris.com/cockpitng/config/perspectiveChooser}authority" maxOccurs="unbounded" minOccurs="0"/> <element name="format" type="{http://www.hybris.com/cockpitng/config/perspectiveChooser}format" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Authority>authorityprotected DefaultPerspectivedefaultPerspectiveprotected java.util.List<Format>format
-
Constructor Summary
Constructors Constructor Description PerspectiveChooser()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<Authority>getAuthority()Deprecated, for removal: This API element is subject to removal in a future version.since 6.5, useViewSwitcher.getAuthority()insteadDefaultPerspectivegetDefaultPerspective()Gets the value of the defaultPerspective property.java.util.List<Format>getFormat()Gets the value of the format property.voidsetDefaultPerspective(DefaultPerspective value)Sets the value of the defaultPerspective property.
-
-
-
Field Detail
-
defaultPerspective
protected DefaultPerspective defaultPerspective
-
authority
protected java.util.List<Authority> authority
-
format
protected java.util.List<Format> format
-
-
Method Detail
-
getDefaultPerspective
public DefaultPerspective getDefaultPerspective()
Gets the value of the defaultPerspective property.- Returns:
- possible object is
DefaultPerspective
-
setDefaultPerspective
public void setDefaultPerspective(DefaultPerspective value)
Sets the value of the defaultPerspective property.- Parameters:
value- allowed object isDefaultPerspective
-
getAuthority
@Deprecated(since="6.5", forRemoval=true) public java.util.List<Authority> getAuthority()Deprecated, for removal: This API element is subject to removal in a future version.since 6.5, useViewSwitcher.getAuthority()instead
-
getFormat
public java.util.List<Format> getFormat()
Gets the value of the format 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 format property.For example, to add a new item, do as follows:
getFormat().add(newItem);
Objects of the following type(s) are allowed in the list
Format
-
-