Java aggregation

Java aggregation

Please Explain, what is the aggregation?
View Answers

October 23, 2010 at 6:24 PM

Hi,

Here is the answer.

Aggregation is a relationship between two classes that is best described as a "has-a" and "whole/part" relationship. It is a more specialized version of the association relationship.

The aggregate class contains a reference to another class and is said to have ownership of that class. Each class referenced is considered to be part-of the aggregate class

Aggregation differs from ordinary composition in that it does not imply ownership. In composition, when the owning object is destroyed, so are the contained objects. In aggregation, this is not necessarily true.

For example, a university owns various departments (e.g., chemistry) , and each department has a number of professors. If the university closes, the departments will no longer exist, but the professors in those departments will. Therefore, a University can be seen as a composition of departments, whereas departments have an aggregation of professors.

Thanks.









Related Tutorials/Questions & Answers:
Java aggregation
Java aggregation  Please Explain, what is the aggregation
The aggregation in Java - Java Beginners
The aggregation in Java  Hi, What is aggregation? Thanks   Hi Friend, Aggregation is a type of association that specifies a whole/part relationship between the aggregate and a component part. Thanks
Advertisements
aggregation
aggregation  explin me about the types of aggregation in OOT
Maven dependency for com.axibase - aggregation-log-filter-log4j version 2.0.6 is released. Learn to use aggregation-log-filter-log4j version 2.0.6 in Maven based Java projects
- aggregation-log-filter-log4j version 2.0.6 ) in their Java project if it is based... - aggregation-log-filter-log4j version 2.0.6 java library in your project. Now you...Maven dependency for  com.axibase  - Version 2.0.6 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 3.0.0 is released. Learn to use aggregation-log-filter-log4j version 3.0.0 in Maven based Java projects
- aggregation-log-filter-log4j version 3.0.0 ) in their Java project if it is based... - aggregation-log-filter-log4j version 3.0.0 java library in your project. Now you...Maven dependency for  com.axibase  - Version 3.0.0 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 2.0.6 is released. Learn to use aggregation-log-filter-log4j2 version 2.0.6 in Maven based Java projects
- aggregation-log-filter-log4j2 version 2.0.6 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j2 version 2.0.6 java library in your project...Maven dependency for  com.axibase  - Version 2.0.6 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 3.0.0 is released. Learn to use aggregation-log-filter-log4j2 version 3.0.0 in Maven based Java projects
- aggregation-log-filter-log4j2 version 3.0.0 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j2 version 3.0.0 java library in your project...Maven dependency for  com.axibase  - Version 3.0.0 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 1.0.7 is released. Learn to use aggregation-log-filter-log4j version 1.0.7 in Maven based Java projects
- aggregation-log-filter-log4j version 1.0.7 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 1.0.7 java library in your...Maven dependency for  com.axibase  - Version 1.0.7 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 2.0.1 is released. Learn to use aggregation-log-filter version 2.0.1 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 2.0.1 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 2.0.1 java...Maven dependency for  com.axibase  - Version 2.0.1 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 1.0.5 is released. Learn to use aggregation-log-filter version 1.0.5 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 1.0.5 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 1.0.5 java...Maven dependency for  com.axibase  - Version 1.0.5 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 1.0.4 is released. Learn to use aggregation-log-filter version 1.0.4 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 1.0.4 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 1.0.4 java...Maven dependency for  com.axibase  - Version 1.0.4 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 1.0.3 is released. Learn to use aggregation-log-filter version 1.0.3 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 1.0.3 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 1.0.3 java...Maven dependency for  com.axibase  - Version 1.0.3 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.2.1 is released. Learn to use aggregation-log-filter version 0.2.1 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.2.1 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.2.1 java...Maven dependency for  com.axibase  - Version 0.2.1 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.1.5 is released. Learn to use aggregation-log-filter version 0.1.5 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.1.5 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.1.5 java...Maven dependency for  com.axibase  - Version 0.1.5 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.1.4 is released. Learn to use aggregation-log-filter version 0.1.4 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.1.4 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.1.4 java...Maven dependency for  com.axibase  - Version 0.1.4 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.1.3 is released. Learn to use aggregation-log-filter version 0.1.3 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.1.3 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.1.3 java...Maven dependency for  com.axibase  - Version 0.1.3 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 1.1.2 is released. Learn to use aggregation-log-filter-log4j version 1.1.2 in Maven based Java projects
- aggregation-log-filter-log4j version 1.1.2 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 1.1.2 java library in your...Maven dependency for  com.axibase  - Version 1.1.2 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 1.1.1 is released. Learn to use aggregation-log-filter-log4j version 1.1.1 in Maven based Java projects
- aggregation-log-filter-log4j version 1.1.1 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 1.1.1 java library in your...Maven dependency for  com.axibase  - Version 1.1.1 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 1.1.0 is released. Learn to use aggregation-log-filter-log4j version 1.1.0 in Maven based Java projects
- aggregation-log-filter-log4j version 1.1.0 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 1.1.0 java library in your...Maven dependency for  com.axibase  - Version 1.1.0 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 1.0.9 is released. Learn to use aggregation-log-filter-log4j version 1.0.9 in Maven based Java projects
- aggregation-log-filter-log4j version 1.0.9 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 1.0.9 java library in your...Maven dependency for  com.axibase  - Version 1.0.9 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 1.1.4 is released. Learn to use aggregation-log-filter version 1.1.4 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 1.1.4 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 1.1.4 java...Maven dependency for  com.axibase  - Version 1.1.4 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 1.1.3 is released. Learn to use aggregation-log-filter version 1.1.3 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 1.1.3 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 1.1.3 java...Maven dependency for  com.axibase  - Version 1.1.3 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 1.1.2 is released. Learn to use aggregation-log-filter version 1.1.2 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 1.1.2 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 1.1.2 java...Maven dependency for  com.axibase  - Version 1.1.2 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 1.1.0 is released. Learn to use aggregation-log-filter version 1.1.0 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 1.1.0 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 1.1.0 java...Maven dependency for  com.axibase  - Version 1.1.0 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 1.0.9 is released. Learn to use aggregation-log-filter version 1.0.9 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 1.0.9 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 1.0.9 java...Maven dependency for  com.axibase  - Version 1.0.9 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 1.0.6 is released. Learn to use aggregation-log-filter version 1.0.6 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 1.0.6 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 1.0.6 java...Maven dependency for  com.axibase  - Version 1.0.6 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.4.9 is released. Learn to use aggregation-log-filter version 0.4.9 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.4.9 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.4.9 java...Maven dependency for  com.axibase  - Version 0.4.9 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.4.8 is released. Learn to use aggregation-log-filter version 0.4.8 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.4.8 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.4.8 java...Maven dependency for  com.axibase  - Version 0.4.8 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.4.7 is released. Learn to use aggregation-log-filter version 0.4.7 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.4.7 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.4.7 java...Maven dependency for  com.axibase  - Version 0.4.7 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.4.6 is released. Learn to use aggregation-log-filter version 0.4.6 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.4.6 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.4.6 java...Maven dependency for  com.axibase  - Version 0.4.6 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.4.3 is released. Learn to use aggregation-log-filter version 0.4.3 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.4.3 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.4.3 java...Maven dependency for  com.axibase  - Version 0.4.3 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.1.2 is released. Learn to use aggregation-log-filter version 0.1.2 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.1.2 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.1.2 java...Maven dependency for  com.axibase  - Version 0.1.2 of aggregation
Maven dependency for com.axibase - aggregation-log-filter version 0.1.1 is released. Learn to use aggregation-log-filter version 0.1.1 in Maven based Java projects
to use  com.axibase - aggregation-log-filter version 0.1.1 in Java projects... that downloads and includes  com.axibase - aggregation-log-filter version 0.1.1 java...Maven dependency for  com.axibase  - Version 0.1.1 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 2.0.3 is released. Learn to use aggregation-log-filter-log4j2 version 2.0.3 in Maven based Java projects
- aggregation-log-filter-log4j2 version 2.0.3 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 2.0.3 java library...Maven dependency for  com.axibase  - Version 2.0.3 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 2.0.1 is released. Learn to use aggregation-log-filter-log4j2 version 2.0.1 in Maven based Java projects
- aggregation-log-filter-log4j2 version 2.0.1 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 2.0.1 java library...Maven dependency for  com.axibase  - Version 2.0.1 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 2.0.0 is released. Learn to use aggregation-log-filter-log4j2 version 2.0.0 in Maven based Java projects
- aggregation-log-filter-log4j2 version 2.0.0 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 2.0.0 java library...Maven dependency for  com.axibase  - Version 2.0.0 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 1.1.5 is released. Learn to use aggregation-log-filter-log4j2 version 1.1.5 in Maven based Java projects
- aggregation-log-filter-log4j2 version 1.1.5 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 1.1.5 java library...Maven dependency for  com.axibase  - Version 1.1.5 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 1.1.4 is released. Learn to use aggregation-log-filter-log4j2 version 1.1.4 in Maven based Java projects
- aggregation-log-filter-log4j2 version 1.1.4 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 1.1.4 java library...Maven dependency for  com.axibase  - Version 1.1.4 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 1.1.2 is released. Learn to use aggregation-log-filter-log4j2 version 1.1.2 in Maven based Java projects
- aggregation-log-filter-log4j2 version 1.1.2 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 1.1.2 java library...Maven dependency for  com.axibase  - Version 1.1.2 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 1.1.0 is released. Learn to use aggregation-log-filter-log4j2 version 1.1.0 in Maven based Java projects
- aggregation-log-filter-log4j2 version 1.1.0 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 1.1.0 java library...Maven dependency for  com.axibase  - Version 1.1.0 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 1.0.9 is released. Learn to use aggregation-log-filter-log4j2 version 1.0.9 in Maven based Java projects
- aggregation-log-filter-log4j2 version 1.0.9 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 1.0.9 java library...Maven dependency for  com.axibase  - Version 1.0.9 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 1.0.8 is released. Learn to use aggregation-log-filter-log4j2 version 1.0.8 in Maven based Java projects
- aggregation-log-filter-log4j2 version 1.0.8 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 1.0.8 java library...Maven dependency for  com.axibase  - Version 1.0.8 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 1.0.5 is released. Learn to use aggregation-log-filter-log4j2 version 1.0.5 in Maven based Java projects
- aggregation-log-filter-log4j2 version 1.0.5 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 1.0.5 java library...Maven dependency for  com.axibase  - Version 1.0.5 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 1.0.4 is released. Learn to use aggregation-log-filter-log4j2 version 1.0.4 in Maven based Java projects
- aggregation-log-filter-log4j2 version 1.0.4 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 1.0.4 java library...Maven dependency for  com.axibase  - Version 1.0.4 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j2 version 1.0.3 is released. Learn to use aggregation-log-filter-log4j2 version 1.0.3 in Maven based Java projects
- aggregation-log-filter-log4j2 version 1.0.3 ) in their Java project if it is based... and includes  com.axibase - aggregation-log-filter-log4j2 version 1.0.3 java library...Maven dependency for  com.axibase  - Version 1.0.3 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 2.0.3 is released. Learn to use aggregation-log-filter-log4j version 2.0.3 in Maven based Java projects
- aggregation-log-filter-log4j version 2.0.3 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 2.0.3 java library in your...Maven dependency for  com.axibase  - Version 2.0.3 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 2.0.2 is released. Learn to use aggregation-log-filter-log4j version 2.0.2 in Maven based Java projects
- aggregation-log-filter-log4j version 2.0.2 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 2.0.2 java library in your...Maven dependency for  com.axibase  - Version 2.0.2 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 2.0.1 is released. Learn to use aggregation-log-filter-log4j version 2.0.1 in Maven based Java projects
- aggregation-log-filter-log4j version 2.0.1 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 2.0.1 java library in your...Maven dependency for  com.axibase  - Version 2.0.1 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 1.1.6 is released. Learn to use aggregation-log-filter-log4j version 1.1.6 in Maven based Java projects
- aggregation-log-filter-log4j version 1.1.6 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 1.1.6 java library in your...Maven dependency for  com.axibase  - Version 1.1.6 of aggregation
Maven dependency for com.axibase - aggregation-log-filter-log4j version 1.1.5 is released. Learn to use aggregation-log-filter-log4j version 1.1.5 in Maven based Java projects
- aggregation-log-filter-log4j version 1.1.5 ) in their Java project if it is based...; com.axibase - aggregation-log-filter-log4j version 1.1.5 java library in your...Maven dependency for  com.axibase  - Version 1.1.5 of aggregation

Ads