Dresden OCL Toolkit

tudresden.ocl.test.royloy
Class Company

java.lang.Object
  extended bytudresden.ocl.test.royloy.RLObject
      extended bytudresden.ocl.test.royloy.Company
All Implemented Interfaces:
Serializable

public class Company
extends RLObject

See Also:
Serialized Form

Field Summary
 TreeSet employees
          Test TreeSet working with HashModCount.
 Person manager
           
 int numberOfEmployees
           
 List topTenEmployees
           
 Person[] topTwentyEmployees
           
 
Fields inherited from class tudresden.ocl.test.royloy.RLObject
allObjects, description, id, idCounter, popFile
 
Constructor Summary
Company(String description, Person manager)
           
 
Method Summary
 boolean assertTrue()
           
 void employ(Person p)
           
 Person getOldestEmployee()
           
 int getOldestEmployeeAge()
           
 
Methods inherited from class tudresden.ocl.test.royloy.RLObject
assertAll, getID, getObjectWithID, loadPopFile, main, report, setIDCounter, storePopFile, toString, toXString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numberOfEmployees

public int numberOfEmployees

manager

public Person manager

employees

public TreeSet employees
Test TreeSet working with HashModCount.


topTenEmployees

public List topTenEmployees

topTwentyEmployees

public Person[] topTwentyEmployees
Constructor Detail

Company

public Company(String description,
               Person manager)
Method Detail

getOldestEmployee

public Person getOldestEmployee()

getOldestEmployeeAge

public int getOldestEmployeeAge()

employ

public void employ(Person p)

assertTrue

public boolean assertTrue()
Specified by:
assertTrue in class RLObject

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.