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

java.lang.Object
  extended by org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.ActivatorType
      extended by org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.ResourceType

public class ResourceType
extends ActivatorType

Resource level activation definition.

Java class for ResourceType complex type.

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

 <complexType name="ResourceType">
   <complexContent>
     <extension base="{urn:xmlns:rhq-serverplugin.perspective}ActivatorType">
       <sequence>
         <element name="resource-permission" type="{urn:xmlns:rhq-serverplugin.perspective}ResourcePermissionActivatorType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="trait" type="{urn:xmlns:rhq-serverplugin.perspective}TraitActivatorType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="plugin" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String plugin
           
protected  List<ResourcePermissionActivatorType> resourcePermission
           
protected  List<TraitActivatorType> trait
           
protected  String type
           
 
Constructor Summary
ResourceType()
           
 
Method Summary
 String getPlugin()
          Gets the value of the plugin property.
 List<ResourcePermissionActivatorType> getResourcePermission()
          Gets the value of the resourcePermission property.
 List<TraitActivatorType> getTrait()
          Gets the value of the trait property.
 String getType()
          Gets the value of the type property.
 void setPlugin(String value)
          Sets the value of the plugin property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourcePermission

protected List<ResourcePermissionActivatorType> resourcePermission

trait

protected List<TraitActivatorType> trait

plugin

protected String plugin

type

protected String type
Constructor Detail

ResourceType

public ResourceType()
Method Detail

getResourcePermission

public List<ResourcePermissionActivatorType> getResourcePermission()
Gets the value of the resourcePermission 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 resourcePermission property.

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

    getResourcePermission().add(newItem);
 

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


getTrait

public List<TraitActivatorType> getTrait()
Gets the value of the trait 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 trait property.

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

    getTrait().add(newItem);
 

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


getPlugin

public String getPlugin()
Gets the value of the plugin property.

Returns:
possible object is String

setPlugin

public void setPlugin(String value)
Sets the value of the plugin property.

Parameters:
value - allowed object is String

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String


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