5.11.2.1.1.1.1.1.1.2.2.1. ExampleEmployeeSimpleEntity.java

Listing 5.119 java/io/metafactory/codecomposer_reference/entities/simple/ExampleEmployeeSimpleEntity.java
  1package io.metafactory.codecomposer_reference.entities.simple;
  2
  3import java.util.Set;
  4
  5
  6/**
  7 * ExampleEmployeeSimpleEntity -  Created by MetaFactory: Automation of Software Development
  8 */
  9public class ExampleEmployeeSimpleEntity {
 10    private String identifier;
 11
 12    private Long serialVersionUID = 0L;
 13
 14    private String name;
 15
 16
 17    /**
 18     * This is an example comment for a reference with any multiplicity: ExampleEmployee manager.
 19     * This is an example comment for a reference with multiplicity 0..1 or 1..1: ExampleEmployee manager.
 20     */
 21    private ExampleEmployeeSimpleEntity manager;
 22
 23
 24    /**
 25     * This is an example comment for a reference with any multiplicity: ExampleEmployee colleagues.
 26     * This is an example comment for a reference with multiplicity 0..n or 1..n: ExampleEmployee colleagues.
 27     */
 28    private Set<ExampleEmployeeSimpleEntity> colleagues;
 29
 30
 31    /**
 32     * Getter for property identifier.
 33     *
 34     * @return value of property identifier
 35     */
 36    public String getIdentifier() {
 37        return this.identifier;
 38    }
 39
 40    /**
 41     * Setter for property identifier.
 42     *
 43     * @param identifier new value of property identifier
 44     */
 45    public void setIdentifier(final String identifier) {
 46        this.identifier = identifier;
 47    }
 48
 49
 50    /**
 51     * Getter for property name.
 52     *
 53     * @return value of property name
 54     */
 55    public String getName() {
 56        return this.name;
 57    }
 58
 59    /**
 60     * Setter for property name.
 61     *
 62     * @param name new value of property name
 63     */
 64    public void setName(final String name) {
 65        this.name = name;
 66    }
 67
 68
 69    /**
 70     * Getter for property manager.
 71     *
 72     * @return value of property manager
 73     */
 74    public ExampleEmployeeSimpleEntity getManager() {
 75        return this.manager;
 76    }
 77
 78    /**
 79     * Setter for property manager.
 80     *
 81     * @param manager new value of property manager
 82     */
 83    public void setManager(final ExampleEmployeeSimpleEntity manager) {
 84        this.manager = manager;
 85    }
 86
 87
 88    /**
 89     * Getter for property colleagues.
 90     *
 91     * @return value of property colleagues
 92     */
 93    public Set<ExampleEmployeeSimpleEntity> getColleagues() {
 94        return this.colleagues;
 95    }
 96
 97    /**
 98     * Setter for property colleagues.
 99     *
100     * @param colleagues new value of property colleagues
101     */
102    public void setColleagues(final Set<ExampleEmployeeSimpleEntity> colleagues) {
103        this.colleagues = colleagues;
104    }
105
106
107}