Difference between composition and aggregation
Could anyone explain to me the difference between aggregation and composition. I remember studying some but cant recall it.
though this question has been put in for quite some time now but being of an interesting nature I would like to answer that still.
As far as I know aggregation is a simple has a relationship
e.g A student has books.
A professor has students.
Naome has a Car.
Now you cannot say that : -
A student is composed of books.
However in composition the relationship is has a, is composed of .
So A university is composed of many schools.
A car is composed of parts.
A housed is composed of windows.
The second type of relationship is compositiob while first one is aggregation.
Similar Messages
-
Difference between Compression and Aggregation
Hi,
Can anybody explain the Difference between Compression and Aggregation.Performance wise which is better and explain me in detail.
Thnaks,
ChinnaHi,
suppose you are having three charecteristics in a cube say X,Y,Z..
Even for the records which are having the same combination of these charecteristics but are loaded with different request they won't get aggregated.
So when you go for compression the records , it deletes the request number, and aggregates the records which are having the same combination of these records.
Coming to the aggregates , if you build a aggregate on the charectaristic say 'X' then it aggregates the records which are having the same value for a particular charecteristic.
ex: say you are having the recrds as
x1, y1 ,z1......(some key figures)
xi, y2,z1,.....
x1,y1,z1,....
x3,y3,z3...
If you compress them, you will get three records.
If you go for aggregates based on the charecteristic 'X' you will get two records.
So aggregates will give more aggregate level of data than compression
regards,
haritha. -
What is the Difference between Consolidation and Aggregation
Hi Masters
What is the difference between Consolidation and Aggregation? i think both are same, what is the exact difference in-terms of HFM and Essbase?
regards
TaruniThe differences lies in the mechanism used to calculate and store the value. Dynamic members such as parent accounts or customs, derived views, parent periods, or <Total> members in the value dimension are performed on the fly in the HFM app server's memory without any discrete action on the user or adminisrator's part. These are aggregations in this context, and are distinct from amounts that are calculated and then stored in the HFM database which are either the result of direct data entry (from data loads or journals) or calculated amounts resulting from HFM's rules. "Consolidation" in your question would be one of the stored, calculated amounts in HFM.
--Chris -
Difference between Property binding, Aggregation Binding and Element binding?
what is difference between Property binding, Aggregation Binding and Element binding?
HI Rajesh,
Firstly ,
A binding path can either be absolute (starting with a slash), or relative (starting with a name token)
1. Element Binding:
Here we specify the refrenced object.
eg if you bind company object to a layout, like
var oMatrixLayout = new sap.ui.commons.layout.MatrixLayout();
oMatrixLayout.bindElement("/company");
then all the children of this layout can refer to the context of this object. like suppose company has name attribute, then we can directly pass it to the child like:
oMatrixLayout.createRow(
new sap.ui.commons.Label({text: "Name:"}),
new sap.ui.commons.TextField({value: "{name}"})
All the relative bindings within the control and all of its children are resolved relatively
2. Property binding is similar to the context mapping in WebdnyPro. We bind it to a property of the UI. It is automatically updated when its vlaue is changed.
3. Aggregation binding (basically a list) defines a template(a model which others can copy) and this template is cloned for each entry of the list. When we make an entry in the list, a clone of the template is created.When the clone is created, the context is set to the entry in the list. Thus all the binding to the template are resolved relative to the entry. This is maily used for large data sets where we will only clone the current entry and not the complete list.
Regards,
Nikhil -
hey guys
I have read the previous posts about composition and aggregation. And here is what i have got.
Composition: life time of objects got to be the same. For example there is a composition between carframe and a car. If the car gets destroyed the carframe woulod also get destroyed.
Aggregation: Life times of the objects are not the same, one oject can live even after the other object has been destroyed.
But i seem to get all these things in theory, but when it comes to coding am not able to translate these theories. To be particular i would want someone to help with me how these relationship can be coded
Thanks
KConsider the following example :
Car has an engine, chairs, wheel, etc. it is clear
that this is composition, because "Car" is composed
of engine, chairs wheel and so on. but think about
what happens if you want to destroy the car, but
reuse its engine, thing that frequently happen when
you get your car smashed (didn't happen to be thanks
god). Anyway you destroy the car, but it parts stay
alive. so the "composed" objects lifetime can exceed
the "composer" object lifetime.
I think of composition and aggregation in the
following way :
if there is no meaning to the object without its
parts (parts of which it is
composed) then it is composition. if there is any
meaning for the object without its parts (like empty
paragraph (without words) in text, which can be left
empty till the wrighter have something to write in)
well, then it is aggregation.sometimes a car could be smashed and the engine would still be running, junkyard sells tires from wracked cars... all tha, however, has nothing to do with composition or aggration.
composition is a strong form of ownership, a car probablly needs to have an engine, some tirs etc in order to be sold as a car, so the engin, tirs are usually composed as composition. life time of them begins when the car is instantiated and until the instance vanishes. when a car is smashed or totaled, it is merely a state of the car instnace, like a flat tire, the car instnace still exists, so a running engine on a totaled car is ok.
usually if your object has a field referencing an object, that object is a composition, even the creation occurs earlier that the creation of the instance itself, such a case would be a DI: dependency injection. the destruction of an instance is a bit beyond the control of the composing instaance, that however dosnt matter, once the field loses the reference, we can think of it as the end of the life of the composed object. this is a bit different from C++ which allows you to invoke the destructor of the composed object. another difference is that you can have local objects, java objects all live in the heap area, no local objects. -
Differences between CAF and NWDS
Hi all,
I'm reading about CAF and I don't understand the differences between CAF and NWDS. In NWDS you can composite an aplication with services offered by other systems, so I don't understand what CAF offers.
Regards,Hi,
CAF is a Frame work for developing Composite Applications.
CAF consists of two parts: design time and run time.
NWDS provides design time development support.Simply, NWDS is the IDE based on Eclipse.
CAF Server that is Composite Environment Server provides the run time for composite applications.
You can go through the help doc for [Composite Environment |http://help.sap.com/saphelp_nwce10/helpdata/en/45/ff9fc1d8986c06e10000000a1553f6/frameset.htm]so that you can understand easily.
Sampath -
Basic differences between G2 and G3
hey, is there a breakdown anywhere of the basic differences between G2 and G3?
i've tried looking but everything i've read seems to single out the podcast features of g3 which to be honest, don't really do much for me, since i would be using it mostly for music.
Are there substantial differences aside from the podcast features that would justify the upgrade? and if so, any idea where i can read about them?
thanks in advance.
G4 Mac OS X (10.4.6)there also some more differences as compare to gb2 is the ability to do music composition for your edited imovies and one more thing if you change your track to sound efxs you can drag audio files into your onscreen keyboard or your musical typing on your assign key to do music composition which gb2 dont provide last time.
-
Difference between soa and esoa
Hi,
What is the difference between SOA AND ESOA.
Regards
AbhayHi
In a nutshell, ESOA are simply Web services that provide enterprise-level business functionality.They may range from very simple lookup services (like finding a companys location or product offerings) to more complex and composite services but what they have in common is that theyre highly integrated into your process or application.Typically ESOA are high-level components that take more granular Web services and aggregate them into reusable elements with business value. For example, take the service Cancel Purchase Order. An elementary Web service like Delete Purchase Order would simply lead to the deletion of a purchase order in the corresponding database. However, if the stated goal is cancel purchase order, the service has to become a more far-reaching enterprise service that handles this process end-to-end, and therefore has to trigger a number of follow-up actions, including:
=> Check against production orders
=> Check against a corresponding billing process
=> Update of inventory/warehouse information Or consider the Credit Limit Check
service, which at first glance seems to be quite simple. Normally, this service is one ingredient of the Order Creation service. But typically, credit checking is
really a more elaborate composite service.
5 Key Principles of ESOA
1. Abstraction hiding confusing details
2. Modularity breaking down complexity, resulting in reusable pieces
3. Standardized connectivity enabling flexible composition of services to
create bigger processes and scenarios
4. Loose coupling allowing for separate evolution of the various components
without breaking any points of integration
5. Incremental design enabling changes to composition and configuration
without affecting the interior of components, and vice versa
Regards,
Satyendra -
Difference between SIP200 and SIP400
Hello.
Is there anyone who can explain what exactly BIG difference between SIP200 and SIP400 ?
They have same four bays, support almost same wan interface cards.
Please help me : )Hi,
The difference is mainly speed:
The Cisco 7600 series router is an edge aggregation router, and the SIPs provide a cost-effective solution for customers seeking moderate- to high-port density and line rate services:
•The Cisco 7600 SIP-200 provides WAN edge aggregation through lower-speed and low-density SPAs for network environments requiring regional office connectivity to headquarters, or collapsed LAN/WAN deployment.
•The Cisco 7600 SIP-400 provides higher-speed, high-density link aggregation for network environments requiring leased line and metro aggregation.
•The Cisco 7600 SIP-600 provides a high-speed interface for WANs and metro aggregation.
link:
http://www.cisco.com/en/US/products/hw/routers/ps368/module_installation_and_configuration_guides_chapter09186a008044013b.html#wp1063979
HTH -
Difference between cumulative and non-cumulative key figures
Hi,
What is the difference between cumulative and non-cumulative key figures and under what conditions they are used. What is snapshort and where it is used.Hi.............
Basically the key figures are of two types cumulative and non cumulative.
Cumulative are the normal one which you use always and they always bring the new values of the key figures in the delta that is if suppose A has value 10 and after change the new value is 20 then you will use cumulative key figures there, and your delta( new value) will bring 20.
but suppose your key figures field only the change in the prior value that is in this case the delta in the key figure value will bring 10 (20-10- change of 10 )as new value in the key figure A then you will have to model it through the non cumulaitve key figures.
Now
1) Cumulative is for the first case that is if the key figure alwyas brings the new values of the key figure and not the change sin the key fiures value.
2)NCum. value with NCUM value change:
In this case ther is only one field which brings the changes for a particualr key figure and you ahve to define that key figure as non cumulative.
Ex: In case of stock only one filed brings both ingoing value and outgoing value so 10 ,-4,100,-34.....
In this case you will this option and use the key figure here in the space provided.
3) In this case you haev two separate key figures one for the inflow of stocks and one for the outflow of the stocks.
you use one key figure for the inflow and one key figure for the outflow.
The main key figure autiomatically takes care of the logic and gives the correct output upon the summation
net value of stocks( inflow- outflow).
Also do remember in this case the key figure for inflow and out flow are the basic key figures that is cumulative key figures.
A non-cumulative is a non-aggregating key figure on the level of one or more objects that is always displayed in relation to time. Examples of non-cumulatives include headcount, account balance and material inventory. here the aggregation of key figure is based on the another info object
There are two different ways to define non-cumulative key figures:
Non-cumulative key figure with non-cumulative changes:
Before you can define the non-cumulative key figure, an additional cumulative key figure containing the non-cumulative change must exist as an InfoObject.
Non-cumulative key figure with inflows and outflows
There has to be two additional cumulative key figures as InfoObjects for non-cumulative key figures - one for inflows and one for outflows. The cumulative key figures have to have the same technical properties as the non-cumulative key figure, and the aggregation and exception aggregation have to be SUM.
Features of non-cummulative key figures
A non-aggregating key Figure.
Records are not summarized for Reporting
Exception Aggregation is being applied on these key figures on the level of one or more info objects usually with time .
Examples: Head Count, Account balance, Material stock
consider simple senario
Date Net Stock Quantity Sales Revenue
01.02.2005 40 1000
02.02.2005 50 2000
03.02.2005 25 3000
this is the query output if stock quantity has treated as cummulative and non-cummulative key figures
if stock quantity taken as a cummulative key figure
Date NET STOCK QUANTITY SALES REVENUE
01.02.2005 30 1000
02.02.2005 50 2000
03.02.2005 20 3000
RESULT 100 6000
in the above result the key figure has aggregated to the total value that wont give sense to the net stock quantity
if stock quantity taken as non-cummulative key figure
Date Net Stock Quantity (LAST) Sales Revenue
01.02.2005 30 1000
02.02.2005 50 2000
03.02.2005 20 3000
RESULT 20 6000
Hope this helps you..............
Regards,
Debjani................
Edited by: Debjani Mukherjee on Sep 15, 2008 7:22 AM -
What is the difference between cumulative and non cumulative keyfigures?
Hi Friends
What is the difference between cumulative and non cumulative keyfigures, when we r using the cumulative and non cumulative
Regards
RavindraHi Ravindra,
Have a look at the help:
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62f8e07211d2acb80000e829fbfe/frameset.htm
Go through these.
Re: Types of non-cumulative keyfigures
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/content.htm
See the following threads
non-cumulatives KF in reporting
Re: use of non cumulative keyfigure
Re: When do we use Non-Cumulative values?
Key figures:
1. Cumulative Vaules
2. Non Cumulative Values
Cumulative Values:
Cumulative Values are Keyfigures for which Keyfigure Values are must posted in every time unit that reported on (= time period specific Values).
Example:
Revenue
Non Cumulative Values:
Non Cumulative Values are Keyfigures for which KeyFigures are only evaluated for selected time Periods.
Cumulative Keyfigures With Exception Aggregation:
It's a 'normal' KF (with summation, min or max as aggregation behaviour), but you set some exception in this behaviour...for example, you can say that a KF, normally aggregated by 'summation', have to show the max value (or the average, or '0' or something else), that is the 'exception aggregation' when you use it in combination with 0DOC_DATE (or other char), that is the 'exception aggregation char reference'...in this case OLAP processor give to you the possibility to see your KF with different behaviour depending from you use 0DOC_DATE (in our example, MAX) or something else (SUMMATION).
Non Cumulative keyfigure with Associated Single Delta:
If you have a stock KF that is fed from only one (other) movement KF that can assume positive and negative sign.
KF1 (initial) STOCK (non-***.) = 100
KF2 flow = -30
KF2 flow = 70
KF1 (final) STOCK (non-***.) = 140
Non-cumulative key figure with associated in and outflow:
This is the case of 2LIS_03_BF KF stocks fields.
Here, we have the same situation in point 2, but you will have not only ONE flow KF, but TWO, one dedicated to in and another one dedicated to out !
You have to use this scenario if you have no KF that have positive and negative sign, but two KFs each one representing positive (in) and negative (out) logical sign!
KF1 (initial) STOCK (non-***.) = 100
KF2 (out))flow = 30
KF3 (in)flow = 70
KF1 (final) STOCK (non-***.) = 140
Website Addresses For Non Cumulative KeyFigures:
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.html
http://help.sap.com/saphelp_nw04/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/content.html
http://help.sap.com/saphelp_bw31/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/content.html
http://help.sap.com/saphelp_erp2004/helpdata/en/d2/e0173f5ff48443e10000000a114084/content.html
Re: Non-Cumulative keyfigure example
Re: Types of non-cumulative keyfigures
/community [original link is broken]
http://help.sap.com/saphelp_bw32/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.html
/community [original link is broken]?forumID=131&threadID=29557&messageID=273049
/community [original link is broken]?forumID=131&threadID=111914&messageID=1248243
Check this very useful docu.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/93ed1695-0501-0010-b7a9-d4cc4ef26d31
****Assign Points If Helpful****
Regards,
Ravikanth -
Difference between CAF and GP?
Dear All,
Can any one explain me what is the difference between CAF and GP? what is the difference between the CAF application and webdynpro application? In which senario we will go for CAF development and in which senarion we will go for GP application. Can we deploy the CAF/GP application in Enterprise Portal?
Thanks in advance
With Regards,
BalachanderComposite Application Framework consist of two parts
1. CAF Core
2. CAF GP (Guided Procedure).
CAF core is used to model the the services. Composite Application Framework (CAF Core) service-oriented architecture and the standardized object access allow for uniform treatment of business processes as servicesand business objects independent of the underlying system. CAF Core integrates the elements of all the SAP NetWeaver integration layers to facilitate the creation of new business solutions across people, information, processes and application object repositories. Composite Application Framework Core (CAF Core) is an environment for building andrunning packaged composite applications (PCAs) such as SAP Collaborative Cross Applications (xApps).CAF Core supports the development of new business solutions across people, information, and processes by unifying elements from all layers of the SAP NetWeaver technology platform.
CAF Core is a comprehensive environment, which includes programming abstractions, a
programming model, metadata, and tools to support the development and deployment of
composite applications based on Enterprise Services Architecture (ESA). This environment
allows developers to build applications, which leverage the whole SAP NetWeaver stack
without the need to feed low-level APIs. This way, they can focus on implementing the
business logic of a composite application. SAP CAF comes with predefined generic patterns
for reuse in different development projects.
CAF Core consists of the following main elements:
Composite Application Services perspective, which includes a tool for modeling entity,
application, and external services
Configurable user interface components
CAF Core administrative tool
CAF Core and SAP Business Information Warehouse (SAP BW) integration.
CAF GP (Guided Procedure) : CAF GP is used for process or orcastration. Anything you want to integrate with GP you will firat go through Callable Object. For Each Callable Object has one Action. So callable Object and Action are mapped with 1:1. On the top of Actions you need to create Block and on the top of Block you will Create Process.
Difference between the CAF application and webdynpro application: CAF application CAF Core) is used for modeling services. The services may be local in respect of CAF or remote (like RFC, BAPI, Web Service). But Web Dynpro application is used to develop the UI (User Interface). You can Line your CAF application with Web Dynpro Applicationa and ultimatelly you can expose the web dynpro application as a Callable Object which will be integrategrated with Guiged Procedure. Another ways for developing your UI using VC(Visual Composer), CAF UI Pattern.
If you need more details let me know.
Thanks and Regards
Chandan -
Difference Between Aggregates and Compression
Hi,
Can you tell me what is the difference between Aggregates and Compression?
I know ,once compressed data is not available for deletion in request wise
and it moves from F table to E table .
Aggregates means ,data will move from cube to aggreagates(Baby cubes).
But my query is ,As both of them aggregates the data.which of them should be used. at what situation?
I hope you understood my Query.
Regards.
Naresh.Hi,
An aggregate is a materialized, aggregated view of the data in an InfoCube. In an aggregate, the dataset of an InfoCube is saved redundantly and persistently in a consolidated form into the database.
Aggregates make it possible to access InfoCube data quickly in Reporting. Aggregates serve, in a similar way to database indexes, to improve performance.
especially in the following cases we create aggregates:
The execution and navigation of query data leads to delays with a group of queries.
You want to speed up the execution and navigation of a specific query.
You often use attributes in queries.
You want to speed up reporting with characteristic hierarchies by aggregating specific hierarchy levels.
For more info on aggregates go though the link below
https://help.sap.com/saphelp_sem320bw/helpdata/en/c5/40813b680c250fe10000000a114084/frameset.htm
Compression creates a new cube that has consolidated and summed duplicate information.
2. When you compress, BW does a group by on dimensions and a sum on measures... this eliminates redundent
information.
3. Compressed infocubes require less storage space and are faster for retrieval of information.
4. Once a cube is compressed, you cannot alter the information in it. This can be a big problem if there
is an error in some of the data that has been compressed.
For more info go though the below link
http://www.sap-img.com/business/infocube-compression.htm
Regards,
Marasa. -
Difference between JSP and JSF
What is the difference between JSP and JSF?
Is it necessary to learn JSP before starting with JSF?JSP is a view technology providing a template to write plain HTML/CSS/JS in. JSP supports Java based taglibs to generate output and/or control the page flow dynamically. A well known example is JSTL. JSP also supports access to backend data with help of EL (Expression Language).
JSF is a component based MVC framework which provides taglibs for use in JSP, the JSF core tags in <f:xxx> and the JSF HTML tags in <h:xxx>. Those tags generate HTML output and are tied to JSF component tree in the server memory so that the FacesServlet can work on them to gather request parameters, validate/convert them, update the model values (javabean properties), invoke some actions (javabean action methods) and render the response.
You can use JSF on top of either JSP or Facelets. Facelets is another view technology. JSP is ancient and has its shortcomings when JSF comes into picture. Facelets is designed with JSF in mind and much more well-suited for it and provides great templating/composition capabilities to reuse specific groups of components without the need to wrap them in another custom component (so that you don't duplicate the same code over and over, e.g. label+input+message. -
What is the difference between olap and data warehouse..?
Hi All,
Is their any difference between olap and data warehouse..? Please let me know your knowledge about these. Thank you..
------------------------------------------------------------------------ Please mark it as complete, if you get the solution with this reply. TQ.A data warehouse is a database containing data that usually represents the business history of an organization. This historical data is used for analysis. Data in a data warehouse is organized to support analysis rather than to process real-time transactions
as in online transaction processing systems (OLTP).
OLAP technology enables data warehouses to be used effectively for online analysis, providing rapid responses to iterative complex analytical queries. OLAP's multidimensional data model and data aggregation techniques organize and summarize large amounts
of data so it can be evaluated quickly using online analysis and graphical tools.
Reference:
http://technet.microsoft.com/en-us/library/aa197903(v=sql.80).aspx
http://stackoverflow.com/questions/18916682/data-warehouse-vs-olap-cube
If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".
Maybe you are looking for
-
Recently upgrade to Yosemite and now Apple symbol and install bar displays each time I restart
Hi guys, Hoping someone can help. Recently upgraded to Yosemite and the other day I noticed that when restarting the Apple symbol displayed along with the install bar (just like happens when you upgrade your iPhone). This went on for about 30 seconds
-
Printing Page Numbers - From To
Please can you help me. I am exporting a Crystal Report to PDF per customer through vb code. I need to print a maximum number of pages (that will fit in an envelope e.g. 20) and then continue printing his data into a second PDF where it left off. The
-
Acrobat won't work properly on Mavericks.
Hi. I just loaded my CS4 into my macbook pro (mavericks). I face 3 problems. Firstly, after I open any PDF file I need to type in my password to allow my macbook to allow Adobe pro to change some settings. Secondly, the images that are in the PDF do
-
Parent-Child Relationship between app
Hi, I am trying to deploy 2 applications, which needs to have a parent-child relationship between them. One option is i should driectly change server.xml, and put parent tag in this Xml file and restart the container. Another option is i can use my A
-
DirecTV NFL Sunday Ticket to Go
Is Nokia going to make an app for the Symbian OS to be able to see NFL Sunday Ticket Football games on mobiles? iPhone, Android, Blackberry, and Windows phones all have them and their app store websites are swamped with users downloading this. Why