Package org.vaadin.firitin.util
Record Class Share.ShareData
java.lang.Object
java.lang.Record
org.vaadin.firitin.util.Share.ShareData
- Enclosing class:
Share
@Deprecated(since="3.6",
forRemoval=true)
public static record Share.ShareData(String title, String text, String url)
extends Record
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated, for removal: This API element is subject to removal in a future version.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object.text()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thetextrecord component.title()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thetitlerecord component.final StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this record class.url()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theurlrecord component.
-
Constructor Details
-
ShareData
Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aShareDatarecord class.- Parameters:
title- the value for thetitlerecord componenttext- the value for thetextrecord componenturl- the value for theurlrecord component
-
-
Method Details
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated, for removal: This API element is subject to removal in a future version.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). -
title
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
text
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
url
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
Sharehelper. Usecom.vaadin.flow.component.webshare.ShareContentfrom Vaadin 25.2 instead.