public | For Externalizable. |
public | SimpleTypeInformation( Creates a new instance for the given type information kind. |
public List< | Gets the type information about the element types of this type. |
public Map< | Gets information about what kind of enumeration values this type decalres. |
public Map< | Gets information about the fields this type has. |
public FormattedTextContent | Gets documentational information about this type. |
public String | getKind() Gets the kind of the type. |
public Set< | Gets a collection of related types to this type information. |
public Set< | Gets the super types of this type. |
public String | Gets the qualified name of the type. |
public String | Gets the simple name of the type. |
public boolean | Gets if the type is deprecated. |
public void | The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays. |
public void | setDeprecated( Sets the deprecated flag for this type. |
public void | setElementTypes( Sets the element types for this type. |
public void | setEnumValues( Sets the enumeration values for this type. |
public void | setFields( Sets the field for this type. |
public void | setInformation( Sets the documentational information for this type. |
public void | Sets the type kind for this type. |
public void | setRelatedTypes( Sets the related types for this type. |
public void | setSuperTypes( Sets the super types for this type. |
public void | setTypeQualifiedName( Sets the qualified name of the type. |
public void | setTypeSimpleName( Sets the simple name of the type. |
public String | toString() Returns a string representation of the object. |
public void | The object implements the writeExternal method to save its contents
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays. |
See TypeInformationKind.COLLECTION and TypeInformationKind.MAP for more information.
The elements in the returned list may be null
to represent that a given element type at the index is
unknown, unspecified, or doesn't have a specific type.
The returned informations usually have their types as this type.
null
if not available.null
if not available.The kind determines how the consumer should handle this type information.
Related types are which can be used in similar contexts as this type. E.g. If the type of a parameter is T, and if type E can be used as a value to assign to the parameter with type T, then E can be considered to be related to T, as it can be used in the same place as type T.
The related types should be chosen carefully, and only when appropriate. Script models might use these types to provide additional suggestions when satisfying type requirements, therefore returning unrelated types for these suggestions might result in runtime errors.
Super types should not be included in the results.
Any direct superclasses and superinterfaces should be returned in this method. Transitive superclasses and superinterfaces may be too, but not required.
null
if not available.null
if not applicable or not available.null
if not available.toString
method returns a string that
"textually represents" this object. The result should be a concise but informative representation that is easy
for a person to read. It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of
which the object is an instance, the at-sign character `@
', and the unsigned hexadecimal representation
of the hash code of the object. In other words, this method returns a string equal to the value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())