Class EndpointMetadataIndex.EndpointMetadataIndexKey

    • Field Detail

      • log

        private final org.slf4j.Logger log
        Logger.
      • role

        @Nonnull
        private final QName role
        The role type.
      • endpoint

        @Nonnull
        private final QName endpoint
        The endpoint type.
      • location

        @Nonnull
        private final String location
        The location.
      • response

        private final boolean response
        Respone location flag.
      • canonicalizedLocation

        @Nonnull
        private String canonicalizedLocation
        The canonicalized location.
      • isCanonicalizedLowerCase

        private boolean isCanonicalizedLowerCase
        Flag indicating whether canonicalized location is the simple lower case fallback strategy.
    • Constructor Detail

      • EndpointMetadataIndexKey

        public EndpointMetadataIndexKey​(@Nonnull
                                        QName roleType,
                                        @Nonnull
                                        QName endpointType,
                                        @Nonnull @NotEmpty
                                        String endpointLocation,
                                        boolean isResponse)
        Constructor.
        Parameters:
        roleType - the role type
        endpointType - the endpoint type
        endpointLocation - the endpoint location
        isResponse - flag indicating whether location is a response or not
    • Method Detail

      • getRoleType

        @Nonnull
        public QName getRoleType()
        Gets the entity role.
        Returns:
        the entity role
      • getEndpointType

        @Nonnull
        public QName getEndpointType()
        Gets the entity endpoint type.
        Returns:
        the endpoint type
      • getLocation

        @Nonnull
        public String getLocation()
        Gets the location.
        Returns:
        the location
      • isResponse

        public boolean isResponse()
        Gets the response location flag.
        Returns:
        true if endpoint is a response location, false otherwise
      • getCanonicalizedLocation

        @Nonnull
        public String getCanonicalizedLocation()
        Get the canonicalized representation of the location, primarily for use in hashCode() and equals(Object).
        Returns:
        the canonicalized source location
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object