Class Authority
- java.lang.Object
-
- com.hybris.cockpitng.config.perspectivechooser.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/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.Stringnameprotected 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.StringgetName()Gets the value of the name property.java.util.List<Perspective>getPerspective()Gets the value of the perspective property.voidsetName(java.lang.String value)Sets the value of the name property.
-
-
-
Field Detail
-
perspective
protected java.util.List<Perspective> perspective
-
name
protected java.lang.String name
-
-
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
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
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 isString
-
-