Class OperationIdentifierImpl<T extends java.lang.annotation.Annotation>
- java.lang.Object
-
- org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl<T>
-
- All Implemented Interfaces:
OperationIdentifier<T>
public class OperationIdentifierImpl<T extends java.lang.annotation.Annotation> extends java.lang.Object implements OperationIdentifier<T>
-
-
Field Summary
Fields Modifier and Type Field Description private int
hashCode
private java.lang.String
identifier
private T
scope
-
Constructor Summary
Constructors Constructor Description OperationIdentifierImpl(java.lang.String identifier, T scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getOperationIdentifier()
A uniquely generated name for an Operation identifierT
getOperationScope()
Returns the scope associated with this annotation typeint
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
identifier
private final java.lang.String identifier
-
scope
private final T extends java.lang.annotation.Annotation scope
-
hashCode
private final int hashCode
-
-
Constructor Detail
-
OperationIdentifierImpl
OperationIdentifierImpl(java.lang.String identifier, T scope)
-
-
Method Detail
-
getOperationIdentifier
public java.lang.String getOperationIdentifier()
Description copied from interface:OperationIdentifier
A uniquely generated name for an Operation identifier- Specified by:
getOperationIdentifier
in interfaceOperationIdentifier<T extends java.lang.annotation.Annotation>
- Returns:
- A unique string that identifies an Operation
-
getOperationScope
public T getOperationScope()
Description copied from interface:OperationIdentifier
Returns the scope associated with this annotation type- Specified by:
getOperationScope
in interfaceOperationIdentifier<T extends java.lang.annotation.Annotation>
- Returns:
- The non-null scope that is associated with this operation
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-