Class BasicManagementServiceComponentInformation

java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.component.information.BasicManagementServiceComponentInformation

@Entity public class BasicManagementServiceComponentInformation extends MyDataEntity
  • Field Details

    • componentId

      @NotNull @Valid protected @NotNull @Valid ComponentId componentId
      The unique ID.
    • urls

      protected List<URI> urls
      A list of URIs that can be used to communicate with the component.
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public void addUrl(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(List<URI> urls)
      Parameters:
      urls - : the list of urls to be set for this PXP. It can not be null.