Class PxpComponentInformation

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

@Entity public class PxpComponentInformation extends MyDataEntity
  • Field Details

    • componentId

      @Valid @NotNull protected @Valid @NotNull ComponentId componentId
    • 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
    • getMethodInterfaceDescriptions

      public List<MethodInterfaceDescription> getMethodInterfaceDescriptions()
      Returns:
      the list of Methods interface descriptions
    • getUrls

      public List<URI> getUrls()
      Returns:
      the list of urls for the pxpcomponent
    • setUrls

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

      public void setMethodInterfaceDescriptions(List<MethodInterfaceDescription> methodInterfaceDescriptions)
      Parameters:
      methodInterfaceDescriptions -