public class RootMenuItemType extends AbstractMenuItemType implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for RootMenuItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RootMenuItemType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/gui/admin-1}AbstractMenuItemType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="page" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="order" type="{http://www.w3.org/2001/XMLSchema}int"/> <choice maxOccurs="unbounded" minOccurs="0"> <element name="item" type="{http://midpoint.evolveum.com/xml/ns/public/gui/admin-1}MenuItemType"/> <element name="header" type="{http://midpoint.evolveum.com/xml/ns/public/gui/admin-1}MenuItemHeaderType"/> <element name="divider" type="{http://midpoint.evolveum.com/xml/ns/public/gui/admin-1}MenuItemDividerType"/> </choice> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static QName |
F_ITEM_OR_HEADER_OR_DIVIDER |
static QName |
F_NAME |
static QName |
F_ORDER |
static QName |
F_PAGE |
protected List<AbstractMenuItemType> |
itemOrHeaderOrDivider |
protected String |
name |
protected int |
order |
protected String |
page |
behaviour, F_BEHAVIOUR
Constructor and Description |
---|
RootMenuItemType()
Creates a new
RootMenuItemType instance. |
RootMenuItemType(RootMenuItemType o)
Creates a new
RootMenuItemType instance by deeply copying a given RootMenuItemType instance. |
Modifier and Type | Method and Description |
---|---|
RootMenuItemType |
clone()
Creates and returns a deep copy of this object.
|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<AbstractMenuItemType> |
getItemOrHeaderOrDivider()
Gets the value of the itemOrHeaderOrDivider property.
|
String |
getName()
Gets the value of the name property.
|
int |
getOrder()
Gets the value of the order property.
|
String |
getPage()
Gets the value of the page property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setName(String value)
Sets the value of the name property.
|
void |
setOrder(int value)
Sets the value of the order property.
|
void |
setPage(String value)
Sets the value of the page property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
getBehaviour, setBehaviour
protected String name
protected String page
protected int order
protected List<AbstractMenuItemType> itemOrHeaderOrDivider
public static final QName COMPLEX_TYPE
public static final QName F_NAME
public static final QName F_PAGE
public static final QName F_ORDER
public static final QName F_ITEM_OR_HEADER_OR_DIVIDER
public RootMenuItemType()
RootMenuItemType
instance.public RootMenuItemType(RootMenuItemType o)
RootMenuItemType
instance by deeply copying a given RootMenuItemType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getPage()
String
public void setPage(String value)
value
- allowed object is
String
public int getOrder()
public void setOrder(int value)
public List<AbstractMenuItemType> getItemOrHeaderOrDivider()
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 itemOrHeaderOrDivider property.
For example, to add a new item, do as follows:
getItemOrHeaderOrDivider().add(newItem);
Objects of the following type(s) are allowed in the list
MenuItemType
MenuItemHeaderType
MenuItemDividerType
public String toString()
toString
in class AbstractMenuItemType
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
hashCode
in class AbstractMenuItemType
public int hashCode()
hashCode
in class AbstractMenuItemType
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
equals
in class AbstractMenuItemType
public boolean equals(Object object)
equals
in class AbstractMenuItemType
public RootMenuItemType clone()
clone
in class AbstractMenuItemType
Copyright © 2014 Evolveum. All rights reserved.