org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective
Class MenuItemType

java.lang.Object
  extended by org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.ExtensionType
      extended by org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.MenuItemType

public class MenuItemType
extends ExtensionType

Java class for MenuItemType complex type.

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

 <complexType name="MenuItemType">
   <complexContent>
     <extension base="{urn:xmlns:rhq-serverplugin.perspective}ExtensionType">
       <sequence>
         <element ref="{urn:xmlns:rhq-serverplugin.perspective}inventoriedResourceActivatorSet" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{urn:xmlns:rhq-serverplugin.perspective}position"/>
       </sequence>
       <attribute name="action" type="{urn:xmlns:rhq-serverplugin.perspective}ActionType" default="add" />
       <attribute name="feature" type="{urn:xmlns:rhq-serverplugin.perspective}MenuItemFeatureType" />
       <attribute name="isDebug" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="newWindow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  ActionType action
           
protected  MenuItemFeatureType feature
           
protected  java.util.List<ResourceActivatorSetType> inventoriedResourceActivatorSet
           
protected  java.lang.Boolean isDebug
           
protected  java.lang.Boolean newWindow
           
protected  PositionType position
           
protected  java.lang.String url
           
 
Fields inherited from class org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.ExtensionType
application, description, displayName, globalPermissionActivatorSet, iconUrl, monitoringLicenseActivator, name
 
Constructor Summary
MenuItemType()
           
 
Method Summary
 ActionType getAction()
          Gets the value of the action property.
 MenuItemFeatureType getFeature()
          Gets the value of the feature property.
 java.util.List<ResourceActivatorSetType> getInventoriedResourceActivatorSet()
          Activate the extension only if there is at least one Resource in inventory that satisfies the specified conditions.
 PositionType getPosition()
          Required positioning element for the menuItem extension.
 java.lang.String getUrl()
          Gets the value of the url property.
 boolean isIsDebug()
          Gets the value of the isDebug property.
 boolean isNewWindow()
          Gets the value of the newWindow property.
 void setAction(ActionType value)
          Sets the value of the action property.
 void setFeature(MenuItemFeatureType value)
          Sets the value of the feature property.
 void setIsDebug(java.lang.Boolean value)
          Sets the value of the isDebug property.
 void setNewWindow(java.lang.Boolean value)
          Sets the value of the newWindow property.
 void setPosition(PositionType value)
          Required positioning element for the menuItem extension.
 void setUrl(java.lang.String value)
          Sets the value of the url property.
 
Methods inherited from class org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.ExtensionType
getApplication, getDescription, getDisplayName, getGlobalPermissionActivatorSet, getIconUrl, getMonitoringLicenseActivator, getName, getOtherAttributes, setApplication, setDescription, setDisplayName, setIconUrl, setMonitoringLicenseActivator, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inventoriedResourceActivatorSet

protected java.util.List<ResourceActivatorSetType> inventoriedResourceActivatorSet

position

protected PositionType position

action

protected ActionType action

feature

protected MenuItemFeatureType feature

isDebug

protected java.lang.Boolean isDebug

newWindow

protected java.lang.Boolean newWindow

url

protected java.lang.String url
Constructor Detail

MenuItemType

public MenuItemType()
Method Detail

getInventoriedResourceActivatorSet

public java.util.List<ResourceActivatorSetType> getInventoriedResourceActivatorSet()
Activate the extension only if there is at least one Resource in inventory that satisfies the specified conditions. Conditions include the Resource's type or facet, the current user's permissions for the Resource, or a Resource trait with a certain value. Gets the value of the inventoriedResourceActivatorSet 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 inventoriedResourceActivatorSet property.

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

    getInventoriedResourceActivatorSet().add(newItem);
 

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


getPosition

public PositionType getPosition()
Required positioning element for the menuItem extension.

Returns:
possible object is PositionType

setPosition

public void setPosition(PositionType value)
Required positioning element for the menuItem extension.

Parameters:
value - allowed object is PositionType

getAction

public ActionType getAction()
Gets the value of the action property.

Returns:
possible object is ActionType

setAction

public void setAction(ActionType value)
Sets the value of the action property.

Parameters:
value - allowed object is ActionType

getFeature

public MenuItemFeatureType getFeature()
Gets the value of the feature property.

Returns:
possible object is MenuItemFeatureType

setFeature

public void setFeature(MenuItemFeatureType value)
Sets the value of the feature property.

Parameters:
value - allowed object is MenuItemFeatureType

isIsDebug

public boolean isIsDebug()
Gets the value of the isDebug property.

Returns:
possible object is Boolean

setIsDebug

public void setIsDebug(java.lang.Boolean value)
Sets the value of the isDebug property.

Parameters:
value - allowed object is Boolean

isNewWindow

public boolean isNewWindow()
Gets the value of the newWindow property.

Returns:
possible object is Boolean

setNewWindow

public void setNewWindow(java.lang.Boolean value)
Sets the value of the newWindow property.

Parameters:
value - allowed object is Boolean

getUrl

public java.lang.String getUrl()
Gets the value of the url property.

Returns:
possible object is String

setUrl

public void setUrl(java.lang.String value)
Sets the value of the url property.

Parameters:
value - allowed object is String


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.