Class Authority


  • public class Authority
    extends java.lang.Object

    Java class for authority complex type.

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

     <complexType name="authority">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="perspective" type="{http://www.hybris.com/cockpitng/config/perspectiveChooser}perspective" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name  
      protected java.util.List<Perspective> perspective  
    • Constructor Summary

      Constructors 
      Constructor Description
      Authority()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the value of the name property.
      java.util.List<Perspective> getPerspective()
      Gets the value of the perspective property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      • Methods inherited from class java.lang.Object

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

      • perspective

        protected java.util.List<Perspective> perspective
      • name

        protected java.lang.String name
    • Constructor Detail

      • Authority

        public Authority()
    • Method Detail

      • getPerspective

        public java.util.List<Perspective> getPerspective()
        Gets the value of the perspective 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 perspective property.

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

         getPerspective().add(newItem);
         

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

      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String