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 PiActionProfileIdactionProfileId()Returns the action profile ID of this handle.PiEntityTypeentityType()Returns the type of entity identified by this handle.booleanequals(java.lang.Object obj)inthashCode()PiActionProfileMemberIdmemberId()Returns the member ID of this handle.static PiActionProfileMemberHandleof(DeviceId deviceId, PiActionProfileId actionProfileId, PiActionProfileMemberId memberId)Creates a new handle for the given device ID, action profile ID, and member ID.static PiActionProfileMemberHandleof(DeviceId deviceId, PiActionProfileMember member)Creates a new handle for the given device ID, and action profile group member instance.java.lang.StringtoString()
-
-
-
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:PiHandleReturns the type of entity identified by this handle.- Specified by:
entityTypein classPiHandle- Returns:
- PI entity type
-
-