Modifier and Type | Class and Description |
---|---|
static class |
PiActionProfileGroup.Builder
Builder of action profile groups.
|
static class |
PiActionProfileGroup.WeightedMember
Weighted reference to an action profile member as used in an action
profile group.
|
Modifier and Type | Method and Description |
---|---|
PiActionProfileId |
actionProfile()
Returns the ID of the action profile where this group belong.
|
static PiActionProfileGroup.Builder |
builder()
Returns a new builder of action profile groups.
|
boolean |
equals(Object obj) |
PiActionProfileGroupHandle |
handle(DeviceId deviceId)
Returns a handle for this PI entity and the given device ID.
|
int |
hashCode() |
PiActionProfileGroupId |
id()
Returns the ID of this action profile group.
|
int |
maxSize()
Returns the maximum number of members that this group can hold.
|
Optional<PiActionProfileGroup.WeightedMember> |
member(PiActionProfileMemberId memberId)
Returns the group member identified by the given action profile member
ID, if present.
|
Collection<PiActionProfileGroup.WeightedMember> |
members()
Returns the list of member references of this action profile group.
|
PiEntityType |
piEntityType()
Returns the type of this entity.
|
String |
toString() |
public PiActionProfileGroupId id()
public Collection<PiActionProfileGroup.WeightedMember> members()
public Optional<PiActionProfileGroup.WeightedMember> member(PiActionProfileMemberId memberId)
memberId
- action profile member IDpublic int maxSize()
public PiActionProfileId actionProfile()
public static PiActionProfileGroup.Builder builder()
public PiEntityType piEntityType()
PiEntity
piEntityType
in interface PiEntity
public PiActionProfileGroupHandle handle(DeviceId deviceId)
PiEntity