Class ManagementServiceComponentInformation


  • @Entity
    public class ManagementServiceComponentInformation
    extends MyDataEntity
    • Field Detail

      • componentId

        @NotNull
        @Valid
        protected @NotNull @Valid ComponentId componentId
      • urls

        @Valid
        @NotEmpty
        protected @Valid @NotEmpty List<URI> urls
        A list of URIs that can be used to communicate with the component.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • addUrl

        public void addUrl​(@NonNull
                           @NonNull URI url)
        Adds a URL to the list of URIs that can be used to communicate with the component.
        Parameters:
        url - the url to add
      • getUrlsForProtocol

        public List<URI> getUrlsForProtocol​(String... protocols)
        Provides a list of URLs of a certain protocol/scheme.
        Parameters:
        protocols - the list of protocols to be used linked by an "or" function
        Returns:
        a list of URIs that can be used to communicate with the component
      • setUrls

        public void setUrls​(@NonNull
                            @NonNull List<URI> urls)
        Parameters:
        urls - : the list of urls to be set. It can not be null.