Class Authority
- java.lang.Object
-
- com.hybris.cockpitng.config.viewswitcher.jaxb.Authority
-
public class Authority extends java.lang.ObjectJava 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/viewSwitcher}perspective" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Authority()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Gets the value of the name property.java.util.List<View>getView()Gets the value of the perspective property.voidsetName(java.lang.String value)Sets the value of the name property.
-
-
-
Field Detail
-
view
protected java.util.List<View> view
-
name
protected java.lang.String name
-
-
Method Detail
-
getView
public java.util.List<View> getView()
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
setmethod 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
View
-
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 isString
-
-