001/** 002 * Logback: the reliable, generic, fast and flexible logging framework. 003 * Copyright (C) 1999-2015, QOS.ch. All rights reserved. 004 * 005 * This program and the accompanying materials are dual-licensed under 006 * either the terms of the Eclipse Public License v1.0 as published by 007 * the Eclipse Foundation 008 * 009 * or (per the licensee's choosing) 010 * 011 * under the terms of the GNU Lesser General Public License version 2.1 012 * as published by the Free Software Foundation. 013 */ 014package ch.qos.logback.core.util; 015 016/** 017 * AggregationType classifies how one object is contained within another object. 018 * 019 * 020 * 021 * See also http://en.wikipedia.org/wiki/Class_diagram and 022 * http://en.wikipedia.org/wiki/Object_composition 023 * 024 * @author Ceki Gulcu 025 */ 026public enum AggregationType { 027 NOT_FOUND, AS_BASIC_PROPERTY, // Long, Integer, Double,..., java primitive, String, 028 // Duration or FileSize 029 AS_COMPLEX_PROPERTY, // a complex property, a.k.a. attribute, is any attribute 030 // not covered by basic attributes, i.e. 031 // object types defined by the user 032 AS_BASIC_PROPERTY_COLLECTION, // a collection of basic attributes 033 AS_COMPLEX_PROPERTY_COLLECTION; // a collection of complex attributes 034}