com.mirth.match.ejb.core
Class Department

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

public class Department
extends KanaEntity

Java class for department complex type.

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

 <complexType name="department">
   <complexContent>
     <extension base="{http://core.ejb.match.mirth.com/}kanaEntity">
       <sequence>
         <element name="departmentKey" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="manager" type="{http://core.ejb.match.mirth.com/}user" minOccurs="0"/>
         <element name="users" type="{http://core.ejb.match.mirth.com/}user" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Integer departmentKey
           
protected  java.lang.String description
           
protected  java.lang.String label
           
protected  User manager
           
protected  java.util.List<User> users
           
 
Constructor Summary
Department()
           
 
Method Summary
 java.lang.Integer getDepartmentKey()
          Gets the value of the departmentKey property.
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getLabel()
          Gets the value of the label property.
 User getManager()
          Gets the value of the manager property.
 java.util.List<User> getUsers()
          Gets the value of the users property.
 void setDepartmentKey(java.lang.Integer value)
          Sets the value of the departmentKey property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setLabel(java.lang.String value)
          Sets the value of the label property.
 void setManager(User value)
          Sets the value of the manager property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

departmentKey

protected java.lang.Integer departmentKey

description

protected java.lang.String description

label

protected java.lang.String label

manager

protected User manager

users

protected java.util.List<User> users
Constructor Detail

Department

public Department()
Method Detail

getDepartmentKey

public java.lang.Integer getDepartmentKey()
Gets the value of the departmentKey property.

Returns:
possible object is Integer

setDepartmentKey

public void setDepartmentKey(java.lang.Integer value)
Sets the value of the departmentKey property.

Parameters:
value - allowed object is Integer

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

getLabel

public java.lang.String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(java.lang.String value)
Sets the value of the label property.

Parameters:
value - allowed object is String

getManager

public User getManager()
Gets the value of the manager property.

Returns:
possible object is User

setManager

public void setManager(User value)
Sets the value of the manager property.

Parameters:
value - allowed object is User

getUsers

public java.util.List<User> getUsers()
Gets the value of the users 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 users property.

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

    getUsers().add(newItem);
 

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



Copyright © 2011 Mirth Corp. All Rights Reserved.