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 inthashCodeprivate java.lang.Stringidentifierprivate Tscope
-
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 booleanequals(java.lang.Object o)java.lang.StringgetOperationIdentifier()A uniquely generated name for an Operation identifierTgetOperationScope()Returns the scope associated with this annotation typeinthashCode()java.lang.StringtoString()
-
-
-
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:OperationIdentifierA uniquely generated name for an Operation identifier- Specified by:
getOperationIdentifierin interfaceOperationIdentifier<T extends java.lang.annotation.Annotation>- Returns:
- A unique string that identifies an Operation
-
getOperationScope
public T getOperationScope()
Description copied from interface:OperationIdentifierReturns the scope associated with this annotation type- Specified by:
getOperationScopein interfaceOperationIdentifier<T extends java.lang.annotation.Annotation>- Returns:
- The non-null scope that is associated with this operation
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-