TypeDescriptor class
Descriptor that points to specific object type by it's name and optional library (or module) where this type is defined.
This class has symmetric implementation across all languages supported by Pip.Services toolkit and used to support dynamic data processing.
Constructors
- TypeDescriptor(String name String library)
- Creates a new instance of the type descriptor and sets its values. [...]
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
equals(
dynamic value) → bool - Compares this descriptor to a value. If the value is also a TypeDescriptor it compares their name and library fields. Otherwise this method returns false. [...]
-
getLibrary(
) → String - Gets the name of the library or module where the object type is defined. [...]
-
getName(
) → String - Get the name of the object type. [...]
-
toString(
) → String -
Gets a string representation of the object.
The result has format name
,library
[...]override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Methods
-
fromString(
String value) → TypeDescriptor -
Parses a string to get descriptor fields and returns them as a Descriptor.
The string must have format name
,library
[...]