Class JParticipantType
A data type for a person who takes part in something.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JParticipantType : IEquatable<JParticipantType>
Properties
Context
jParticipantType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JParticipantType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JParticipantType.ContextEnum> | jParticipantType JSON-LD context |
Relationship
A specified relationship of a participant to another entity. NIEM reference is j:ParticipantRelationshipText
Declaration
[DataMember(Name = "relationship")]
public List<NcTextType> Relationship { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A specified relationship of a participant to another entity. NIEM reference is j:ParticipantRelationshipText |
RoleCategory
A kind of role of a participant. NIEM reference is j:ParticipantRoleCategoryText
Declaration
[DataMember(Name = "roleCategory")]
public List<NcTextType> RoleCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of role of a participant. NIEM reference is j:ParticipantRoleCategoryText |
RoleOfPerson
A person of whom the role object is a function. NIEM reference is nc:RoleOfPerson
Declaration
[DataMember(Name = "roleOfPerson")]
public List<NcPersonType> RoleOfPerson { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person of whom the role object is a function. NIEM reference is nc:RoleOfPerson |
Methods
Equals(JParticipantType)
Returns true if JParticipantType instances are equal
Declaration
public bool Equals(JParticipantType other)
Parameters
Type | Name | Description |
---|---|---|
JParticipantType | other | Instance of JParticipantType 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(JParticipantType, JParticipantType)
Declaration
public static bool operator ==(JParticipantType left, JParticipantType right)
Parameters
Type | Name | Description |
---|---|---|
JParticipantType | left | |
JParticipantType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JParticipantType, JParticipantType)
Declaration
public static bool operator !=(JParticipantType left, JParticipantType right)
Parameters
Type | Name | Description |
---|---|---|
JParticipantType | left | |
JParticipantType | right |
Returns
Type | Description |
---|---|
System.Boolean |