Enum 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 Detail

      • 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 name
        java.lang.NullPointerException - if the argument is null