Package org.onosproject.net.pi.runtime
Class PiActionProfileMemberHandle
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiHandle
-
- org.onosproject.net.pi.runtime.PiActionProfileMemberHandle
-
public final class PiActionProfileMemberHandle extends PiHandle
Global identifier of a PI action profile member, uniquely defined by a device ID, action profile ID, and member ID.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PiActionProfileId
actionProfileId()
Returns the action profile ID of this handle.PiEntityType
entityType()
Returns the type of entity identified by this handle.boolean
equals(Object obj)
int
hashCode()
PiActionProfileMemberId
memberId()
Returns the member ID of this handle.static PiActionProfileMemberHandle
of(DeviceId deviceId, PiActionProfileId actionProfileId, PiActionProfileMemberId memberId)
Creates a new handle for the given device ID, action profile ID, and member ID.static PiActionProfileMemberHandle
of(DeviceId deviceId, PiActionProfileMember member)
Creates a new handle for the given device ID, and action profile group member instance.String
toString()
-
-
-
Method Detail
-
of
public static PiActionProfileMemberHandle of(DeviceId deviceId, PiActionProfileId actionProfileId, PiActionProfileMemberId memberId)
Creates a new handle for the given device ID, action profile ID, and member ID.- Parameters:
deviceId
- device IDactionProfileId
- action profile IDmemberId
- member ID- Returns:
- action profile group member handle
-
of
public static PiActionProfileMemberHandle of(DeviceId deviceId, PiActionProfileMember member)
Creates a new handle for the given device ID, and action profile group member instance.- Parameters:
deviceId
- device IDmember
- member instance- Returns:
- action profile group member handle
-
memberId
public PiActionProfileMemberId memberId()
Returns the member ID of this handle.- Returns:
- member ID
-
actionProfileId
public PiActionProfileId actionProfileId()
Returns the action profile ID of this handle.- Returns:
- action profile ID
-
entityType
public PiEntityType entityType()
Description copied from class:PiHandle
Returns the type of entity identified by this handle.- Specified by:
entityType
in classPiHandle
- Returns:
- PI entity type
-
-