ETEntityReference class
ExtendedType for an entity reference (type#id
).
- Inheritance
-
- Object
- ExtendedType
- ETEntityReference
Constructors
- ETEntityReference(String _type, int _id)
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setter
- typeID → int
-
The universal type ID.
no setteroverride
- typeName → String
-
The universal type name.
no setteroverride
Methods
-
encodeAsString(
) → String -
Encodes this instances as String.
override
-
equalsParameters(
ExtendedType other) → bool -
inherited
-
getAvailableOperations(
) → List< Operation> ? -
inherited
-
getOperations(
) → List< Operation> ? -
inherited
-
getParameters(
) → List? -
inherited
-
getParametersLine(
) → String? -
inherited
-
matches(
String value) → bool -
Returns
true
ifvalue
matches this instance type.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
from(
dynamic json) → ETEntityReference? -
Identifies format and parses to a ExtendedType instance.
override
-
initialize(
) → void -
override
-
matchesFormat(
String data) → bool -
matchesID(
String s, int offset, int length) → bool -
matchesType(
String s, int offset, int length) → bool -
parse(
String ref) → ETEntityReference? -
parseID(
dynamic ref, [int? def]) → int? -
Parses
ref
to an ID. Returnsdef
if parse fails. -
parseIDs(
dynamic ref, [List< int> ? def]) → List<int> ? -
Parses
ref
to a List of IDs. Returnsdef
if parse fails.