Record Class AiToolAnnotations
java.lang.Object
java.lang.Record
com.suncode.pwfl.ai.tool.AiToolAnnotations
-
Constructor Summary
ConstructorsConstructorDescriptionAiToolAnnotations(Boolean readOnlyHint, Boolean destructiveHint, Boolean idempotentHint, Boolean openWorldHint) Creates an instance of aAiToolAnnotationsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleandeclared()Returns the value of thedestructiveHintrecord component.booleanbooleanbooleanbooleanfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidempotentHintrecord component.static AiToolAnnotationsnone()Returns the value of theopenWorldHintrecord component.Returns the value of thereadOnlyHintrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AiToolAnnotations
public AiToolAnnotations(Boolean readOnlyHint, Boolean destructiveHint, Boolean idempotentHint, Boolean openWorldHint) Creates an instance of aAiToolAnnotationsrecord class.- Parameters:
readOnlyHint- the value for thereadOnlyHintrecord componentdestructiveHint- the value for thedestructiveHintrecord componentidempotentHint- the value for theidempotentHintrecord componentopenWorldHint- the value for theopenWorldHintrecord component
-
-
Method Details
-
none
-
declared
public boolean declared() -
effectiveReadOnly
public boolean effectiveReadOnly() -
effectiveDestructive
public boolean effectiveDestructive() -
effectiveIdempotent
public boolean effectiveIdempotent() -
effectiveOpenWorld
public boolean effectiveOpenWorld() -
toString
-
hashCode
-
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). -
readOnlyHint
Returns the value of thereadOnlyHintrecord component.- Returns:
- the value of the
readOnlyHintrecord component
-
destructiveHint
Returns the value of thedestructiveHintrecord component.- Returns:
- the value of the
destructiveHintrecord component
-
idempotentHint
Returns the value of theidempotentHintrecord component.- Returns:
- the value of the
idempotentHintrecord component
-
openWorldHint
Returns the value of theopenWorldHintrecord component.- Returns:
- the value of the
openWorldHintrecord component
-