Interface ParameterizedType
- All Superinterfaces:
org.opendaylight.yangtools.concepts.Identifiable<JavaTypeName>,Type
Represents an instance of simple parameterized type such as List<String>. The parameterized Type is designed
to be used to store information of Java Generic Type. The array of
getActualTypeArguments() holds
information of all generic parameters defined for Parameterized Type.-
Method Summary
Modifier and TypeMethodDescriptionType[]Returns array of Types that are defined for Parameterized Type.Returns the Raw Type definition of Parameterized Type.Methods inherited from interface org.opendaylight.yangtools.concepts.Identifiable
getIdentifierMethods inherited from interface org.opendaylight.mdsal.binding.model.api.Type
getFullyQualifiedName, getName, getPackageName
-
Method Details
-
getActualTypeArguments
Type[] getActualTypeArguments()Returns array of Types that are defined for Parameterized Type.
(for example if ParameterizedType encapsulates java generic Map that specifies two parameters Map<K,V> and the K is java.lang.Integer and V is defined as GeneratedType the array will contain two Types to store the information of generic parameters.)- Returns:
- array of Types that are defined for Parameterized Type.
-
getRawType
Type getRawType()Returns the Raw Type definition of Parameterized Type.- Returns:
- the Raw Type definition of Parameterized Type.
-