Class BasicManagementServiceComponentInformation
java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.component.information.BasicManagementServiceComponentInformation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @NotNull @Valid ComponentIdThe unique ID.A list ofURIs that can be used to communicate with the component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for JPA.Constructs aBasicManagementServiceComponentInformationwithout URLs or ComponentInterface.Constructs aBasicManagementServiceComponentInformation, including its location (URI) and its usage (MethodInterfaceDescription). -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a URL to the list ofURIs that can be used to communicate with the component.booleangetUrlsForProtocol(String... protocols) Provides a list of URLs of a certain protocol/scheme.inthashCode()voidMethods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
Field Details
-
componentId
The unique ID. -
urls
A list ofURIs that can be used to communicate with the component.
-
-
Constructor Details
-
BasicManagementServiceComponentInformation
protected BasicManagementServiceComponentInformation()Default constructor for JPA. -
BasicManagementServiceComponentInformation
Constructs aBasicManagementServiceComponentInformationwithout URLs or ComponentInterface.- Parameters:
id- the id
-
BasicManagementServiceComponentInformation
Constructs aBasicManagementServiceComponentInformation, including its location (URI) and its usage (MethodInterfaceDescription).- Parameters:
id- the idurls- a list ofURIs that can be used to communicate with theBasicManagementServiceComponentInformation
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
addUrl
Adds a URL to the list ofURIs that can be used to communicate with the component.- Parameters:
url- the url to add
-
getUrlsForProtocol
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
- Parameters:
urls- : the list of urls to be set for this PXP. It can not be null.
-