Record Class CopyPasteSpecialData
java.lang.Object
java.lang.Record
lu.kbra.modelizer_next.ui.canvas.datastruct.CopyPasteSpecialData
-
Constructor Summary
ConstructorsConstructorDescriptionCopyPasteSpecialData(boolean keepOutgoingLinks, boolean keepInternalLinks, boolean keepLinks, boolean withDefaultStyle, String nameOverwrite) Creates an instance of aCopyPasteSpecialDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thekeepInternalLinksrecord component.booleanReturns the value of thekeepLinksrecord component.booleanReturns the value of thekeepOutgoingLinksrecord component.Returns the value of thenameOverwriterecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thewithDefaultStylerecord component.
-
Constructor Details
-
CopyPasteSpecialData
public CopyPasteSpecialData(boolean keepOutgoingLinks, boolean keepInternalLinks, boolean keepLinks, boolean withDefaultStyle, String nameOverwrite) Creates an instance of aCopyPasteSpecialDatarecord class.- Parameters:
keepOutgoingLinks- the value for thekeepOutgoingLinksrecord componentkeepInternalLinks- the value for thekeepInternalLinksrecord componentkeepLinks- the value for thekeepLinksrecord componentwithDefaultStyle- the value for thewithDefaultStylerecord componentnameOverwrite- the value for thenameOverwriterecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
keepOutgoingLinks
public boolean keepOutgoingLinks()Returns the value of thekeepOutgoingLinksrecord component.- Returns:
- the value of the
keepOutgoingLinksrecord component
-
keepInternalLinks
public boolean keepInternalLinks()Returns the value of thekeepInternalLinksrecord component.- Returns:
- the value of the
keepInternalLinksrecord component
-
keepLinks
public boolean keepLinks()Returns the value of thekeepLinksrecord component.- Returns:
- the value of the
keepLinksrecord component
-
withDefaultStyle
public boolean withDefaultStyle()Returns the value of thewithDefaultStylerecord component.- Returns:
- the value of the
withDefaultStylerecord component
-
nameOverwrite
Returns the value of thenameOverwriterecord component.- Returns:
- the value of the
nameOverwriterecord component
-