Class WildCardTypeData

  • All Implemented Interfaces:
    org.bson.codecs.pojo.TypeWithTypeParameters<Object>

    public class WildCardTypeData
    extends TypeData<Object>
    Represents a wild card type
    Since:
    2.1.5
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Method Detail

      • builder

        public static WildCardTypeData.Builder builder​(boolean upperBound)
        Creates a builder
        Parameters:
        upperBound - true if the type parameters represent an upper bound
        Returns:
        the new builder
      • getType

        public Class getType()
        Specified by:
        getType in interface org.bson.codecs.pojo.TypeWithTypeParameters<Object>
        Overrides:
        getType in class TypeData<Object>
        Returns:
        the class this ClassTypeData represents
      • isUpperBound

        public boolean isUpperBound()
        Returns:
        true if the type parameters represent an upper bound