Snak Class |
This is preliminary documentation and is subject to change.
The Snak type exposes the following members.
| Name | Description | |
|---|---|---|
| Snak(String) | Initializes a snak with specified property ID and empty value. | |
| Snak(Entity, Object) | Initializes a snak with specified property and data value. | |
| Snak(String, SnakType) | Initializes a snak with specified property ID and snak type. | |
| Snak(String, Object, WikibaseDataType) | Initializes a snak with specified property ID and data value. | |
| Snak(String, JsonObject, WikibaseDataType) | Initializes a snak with specified property ID and raw data value. |
| Name | Description | |
|---|---|---|
| DataType | Data value type. | |
| DataValue | Parsed value of datavalue node. | |
| Hash | Snak hash. | |
| PropertyId | Property ID, with "P" prefix. | |
| RawDataValue | Raw JSON value of datavalue node. | |
| SnakType | Snak type. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Overrides ObjectToString) |