Record Class SoftwareProviderMetadata
java.lang.Object
java.lang.Record
org.projecthusky.fhir.emed.ch.epr.narrative.html.SoftwareProviderMetadata
-
Constructor Summary
ConstructorsConstructorDescriptionSoftwareProviderMetadata
(@Nullable String softwareName, @Nullable String softwareVersion, @Nullable String softwareProvider) Creates an instance of aSoftwareProviderMetadata
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
boolean
boolean
@Nullable String
Returns the value of thesoftwareName
record component.@Nullable String
Returns the value of thesoftwareProvider
record component.@Nullable String
Returns the value of thesoftwareVersion
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SoftwareProviderMetadata
public SoftwareProviderMetadata(@Nullable String softwareName, @Nullable String softwareVersion, @Nullable String softwareProvider) Creates an instance of aSoftwareProviderMetadata
record class.- Parameters:
softwareName
- the value for thesoftwareName
record componentsoftwareVersion
- the value for thesoftwareVersion
record componentsoftwareProvider
- the value for thesoftwareProvider
record component
-
-
Method Details
-
hasSoftwareName
public boolean hasSoftwareName() -
hasSoftwareVersion
public boolean hasSoftwareVersion() -
hasSoftwareProvider
public boolean hasSoftwareProvider() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
softwareName
Returns the value of thesoftwareName
record component.- Returns:
- the value of the
softwareName
record component
-
softwareVersion
Returns the value of thesoftwareVersion
record component.- Returns:
- the value of the
softwareVersion
record component
-
softwareProvider
Returns the value of thesoftwareProvider
record component.- Returns:
- the value of the
softwareProvider
record component
-