Package ch.qos.logback.core.util
Enum AggregationType
- java.lang.Object
-
- java.lang.Enum<AggregationType>
-
- ch.qos.logback.core.util.AggregationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AggregationType>
public enum AggregationType extends java.lang.Enum<AggregationType>
AggregationType classifies how one object is contained within another object. See also http://en.wikipedia.org/wiki/Class_diagram and http://en.wikipedia.org/wiki/Object_composition
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AS_BASIC_PROPERTY
AS_BASIC_PROPERTY_COLLECTION
AS_COMPLEX_PROPERTY
AS_COMPLEX_PROPERTY_COLLECTION
NOT_FOUND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AggregationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AggregationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_FOUND
public static final AggregationType NOT_FOUND
-
AS_BASIC_PROPERTY
public static final AggregationType AS_BASIC_PROPERTY
-
AS_COMPLEX_PROPERTY
public static final AggregationType AS_COMPLEX_PROPERTY
-
AS_BASIC_PROPERTY_COLLECTION
public static final AggregationType AS_BASIC_PROPERTY_COLLECTION
-
AS_COMPLEX_PROPERTY_COLLECTION
public static final AggregationType AS_COMPLEX_PROPERTY_COLLECTION
-
-
Method Detail
-
values
public static AggregationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AggregationType c : AggregationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregationType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-