Package dev.morphia.mapping.codec.pojo
Class WildCardTypeData
- java.lang.Object
-
- dev.morphia.mapping.codec.pojo.TypeData<Object>
-
- dev.morphia.mapping.codec.pojo.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WildCardTypeData.Builder
A builder for WildCardTypeData
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WildCardTypeData.Builder
builder(boolean upperBound)
Creates a builderboolean
equals(Object o)
Class
getType()
int
hashCode()
boolean
isUpperBound()
-
Methods inherited from class dev.morphia.mapping.codec.pojo.TypeData
builder, getTypeParameters, newInstance, newInstance, newInstance, toString, withType
-
-
-
-
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()
-
isUpperBound
public boolean isUpperBound()
- Returns:
- true if the type parameters represent an upper bound
-
-