public class ParticipantInfo extends Object
Constructor and Description |
---|
ParticipantInfo(String kind,
ParticipantId id,
ParticipantId parentId,
Scope scope,
Class<?> dataType,
Set<URI> transportUris)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getDataType()
Returns the participant's data type or
null if a single data
type is not applicable for the type of participant. |
ParticipantId |
getId()
Returns the unique ID of the participant.
|
String |
getKind()
Returns a string representing the type of participant.
|
ParticipantId |
getParentId()
Returns the id of the parent participant or
null in case
there is no parent. |
Scope |
getScope()
Returns the scope the participant operates on.
|
Set<URI> |
getTransportUris()
Returns the URIs describing the transports the represented participant
uses.
|
public ParticipantInfo(String kind, ParticipantId id, ParticipantId parentId, Scope scope, Class<?> dataType, Set<URI> transportUris)
kind
- string representation of the type of participant being
represented, not null
id
- id of the participant, not null
parentId
- id of the parent participant or null
if there is
no parentscope
- scope of the participant, not null
dataType
- data type of the participant or null
if not
applicabletransportUris
- URIs describing the transports for the represented
participant. Must not be null
.public String getKind()
public ParticipantId getId()
public ParticipantId getParentId()
null
in case
there is no parent.null
public Scope getScope()
public Class<?> getDataType()
null
if a single data
type is not applicable for the type of participant.null
Copyright © 2018 CoR-Lab. All rights reserved.