Class PerspectiveChooser


  • public class PerspectiveChooser
    extends java.lang.Object

    Java 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 Detail

      • authority

        protected java.util.List<Authority> authority
      • format

        protected java.util.List<Format> format
    • Constructor Detail

      • PerspectiveChooser

        public PerspectiveChooser()
    • Method Detail

      • setDefaultPerspective

        public void setDefaultPerspective​(DefaultPerspective value)
        Sets the value of the defaultPerspective property.
        Parameters:
        value - allowed object is DefaultPerspective
      • 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, use ViewSwitcher.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 set method 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