Class OperationIdentifierImpl<T extends java.lang.annotation.Annotation>

  • 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)  
    • 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 interface OperationIdentifier<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 interface OperationIdentifier<T extends java.lang.annotation.Annotation>
        Returns:
        The non-null scope that is associated with this operation
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object