com.mirth.match.ejb.core
Class Privilege

java.lang.Object
  extended by com.mirth.match.ejb.core.KanaEntity
      extended by com.mirth.match.ejb.core.Privilege

public class Privilege
extends KanaEntity

Java class for privilege complex type.

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

 <complexType name="privilege">
   <complexContent>
     <extension base="{http://core.ejb.match.mirth.com/}kanaEntity">
       <sequence>
         <element name="acl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="privilegeKey" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="securityRoles" type="{http://core.ejb.match.mirth.com/}securityRole" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String acl
           
protected  java.lang.String description
           
protected  java.lang.String name
           
protected  java.lang.Integer privilegeKey
           
protected  java.util.List<SecurityRole> securityRoles
           
 
Constructor Summary
Privilege()
           
 
Method Summary
 java.lang.String getAcl()
          Gets the value of the acl property.
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.Integer getPrivilegeKey()
          Gets the value of the privilegeKey property.
 java.util.List<SecurityRole> getSecurityRoles()
          Gets the value of the securityRoles property.
 void setAcl(java.lang.String value)
          Sets the value of the acl property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPrivilegeKey(java.lang.Integer value)
          Sets the value of the privilegeKey property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

acl

protected java.lang.String acl

description

protected java.lang.String description

name

protected java.lang.String name

privilegeKey

protected java.lang.Integer privilegeKey

securityRoles

protected java.util.List<SecurityRole> securityRoles
Constructor Detail

Privilege

public Privilege()
Method Detail

getAcl

public java.lang.String getAcl()
Gets the value of the acl property.

Returns:
possible object is String

setAcl

public void setAcl(java.lang.String value)
Sets the value of the acl property.

Parameters:
value - allowed object is String

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

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 is String

getPrivilegeKey

public java.lang.Integer getPrivilegeKey()
Gets the value of the privilegeKey property.

Returns:
possible object is Integer

setPrivilegeKey

public void setPrivilegeKey(java.lang.Integer value)
Sets the value of the privilegeKey property.

Parameters:
value - allowed object is Integer

getSecurityRoles

public java.util.List<SecurityRole> getSecurityRoles()
Gets the value of the securityRoles 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 securityRoles property.

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

    getSecurityRoles().add(newItem);
 

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



Copyright © 2011 Mirth Corp. All Rights Reserved.