AttributeEditor
Interface used for modifying attributes.
Functions
Link copied to clipboard
Removes an attribute.
Link copied to clipboard
open fun setAttribute(@Size(min = 1, max = 1024) @NonNull key: String, number: Double): AttributeEditor
Sets a double number attribute.
open fun setAttribute(@Size(min = 1, max = 1024) @NonNull key: String, number: Float): AttributeEditor
Sets a float number attribute.
open fun setAttribute(@Size(min = 1, max = 1024) @NonNull key: String, number: Int): AttributeEditor
Sets an integer number attribute.
open fun setAttribute(@Size(min = 1, max = 1024) @NonNull key: String, @Size(min = 1, max = 1024) @NonNull string: String): AttributeEditor
Sets a string attribute.
open fun setAttribute(@Size(min = 1, max = 1024) @NonNull key: String, @NonNull date: Date): AttributeEditor
Sets a date attribute.
open fun setAttribute(@Size(min = 1, max = 1024) @NonNull key: String, number: Long): AttributeEditor
Sets a long number attribute.