Revision 237 branches/modelio3.7.x/src/main/java/org/modelio/togaf/profile/businessentities/model/BusinessEntity.java

View differences:

BusinessEntity.java
77 77
	}
78 78

  
79 79
	public List<BusinessAttribute> getBusinessAttribute() {
80
		List<BusinessAttribute> res = new java.util.ArrayList<BusinessAttribute>();
80
		List<BusinessAttribute> res = new java.util.ArrayList<>();
81 81
		for (Attribute model_element : this.element.getOwnedAttribute()) {
82 82
			res.add(new BusinessAttribute(model_element));
83 83
		}
......
89 89
	}
90 90

  
91 91
	public List<EntityLifeCycle> getEntityLifeCycle() {
92
		List<EntityLifeCycle> res = new java.util.ArrayList<EntityLifeCycle>();
92
		List<EntityLifeCycle> res = new java.util.ArrayList<>();
93 93
		for (Behavior model_element : this.element.getOwnedBehavior()) {
94 94
			res.add(new EntityLifeCycle((StateMachine) model_element));
95 95
		}
......
101 101
	}
102 102

  
103 103
	public List<TogafEnumeration> getTogafEnumeration() {
104
		List<TogafEnumeration> res = new java.util.ArrayList<TogafEnumeration>();
104
		List<TogafEnumeration> res = new java.util.ArrayList<>();
105 105
		for (ModelTree model_element : this.element.getOwnedElement()) {
106 106
			res.add(new TogafEnumeration((Enumeration) model_element));
107 107
		}
......
113 113
	}
114 114

  
115 115
	public List<BusinessDataType> getBusinessDataType() {
116
		List<BusinessDataType> res = new java.util.ArrayList<BusinessDataType>();
116
		List<BusinessDataType> res = new java.util.ArrayList<>();
117 117
		for (ModelTree model_element : this.element.getOwnedElement()) {
118 118
			res.add(new BusinessDataType((DataType) model_element));
119 119
		}
......
125 125
	}
126 126

  
127 127
	public List<TogafClassDiagram> getTogafClassDiagram() {
128
		List<TogafClassDiagram> res = new java.util.ArrayList<TogafClassDiagram>();
128
		List<TogafClassDiagram> res = new java.util.ArrayList<>();
129 129
		for (AbstractDiagram model_element : this.element.getProduct()) {
130 130
			res.add(new TogafClassDiagram((StaticDiagram) model_element));
131 131
		}
......
137 137
	}
138 138

  
139 139
	public List<BusinessOperation> getBusinessOperation() {
140
		List<BusinessOperation> res = new java.util.ArrayList<BusinessOperation>();
140
		List<BusinessOperation> res = new java.util.ArrayList<>();
141 141
		for (Operation model_element : this.element.getOwnedOperation()) {
142 142
			res.add(new BusinessOperation(model_element));
143 143
		}
......
149 149
	}
150 150

  
151 151
	public List<BusinessInvariant> getBusinessInvariant() {
152
		List<BusinessInvariant> res = new java.util.ArrayList<BusinessInvariant>();
152
		List<BusinessInvariant> res = new java.util.ArrayList<>();
153 153
		for (Constraint model_element : this.element.getConstraintDefinition()) {
154 154
			res.add(new BusinessInvariant(model_element));
155 155
		}

Also available in: Unified diff