Class NcTextType
A data type for a character string.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcTextType : NiemXsstring, IEquatable<NiemXsstring>, IEquatable<NcTextType>
Properties
Context
ncTextType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcTextType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcTextType.ContextEnum> | ncTextType JSON-LD context |
IsPartial
True if only partial information was available to the information source at the time when the data was captured in the system; false otherwise. NIEM reference is nc:partialIndicator
Declaration
[DataMember(Name = "isPartial")]
public bool? IsPartial { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | True if only partial information was available to the information source at the time when the data was captured in the system; false otherwise. NIEM reference is nc:partialIndicator |
IsTruncation
True if the length of a string is greater than the length of the field within which the string was stored in the exporting system; false otherwise. NIEM reference is nc:truncationIndicator
Declaration
[DataMember(Name = "isTruncation")]
public bool? IsTruncation { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | True if the length of a string is greater than the length of the field within which the string was stored in the exporting system; false otherwise. NIEM reference is nc:truncationIndicator |
Lang
Gets or Sets Lang
Declaration
[DataMember(Name = "lang")]
public string Lang { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(NcTextType)
Returns true if NcTextType instances are equal
Declaration
public bool Equals(NcTextType other)
Parameters
Type | Name | Description |
---|---|---|
NcTextType | other | Instance of NcTextType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(NcTextType, NcTextType)
Declaration
public static bool operator ==(NcTextType left, NcTextType right)
Parameters
Type | Name | Description |
---|---|---|
NcTextType | left | |
NcTextType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcTextType, NcTextType)
Declaration
public static bool operator !=(NcTextType left, NcTextType right)
Parameters
Type | Name | Description |
---|---|---|
NcTextType | left | |
NcTextType | right |
Returns
Type | Description |
---|---|
System.Boolean |