API reference
API reference
Select your platform
No SDKs available
No versions available

UUIDAttribute Class

Modifiers: final
An attribute that stores a UUID value.
XML Usage Example:
<component name="Identifier">
 <UUIDAttribute name="id" defaultValue="-1L,1L"/>
</component>

Signature

class UUIDAttribute(key: Int, component: ComponentBase, attributeIndex: Int, initialValue: UUID) : TypedAbstractAttribute<UUID> 

Constructors

UUIDAttribute ( key , component , attributeIndex , initialValue )
Signature
constructor(key: Int, component: ComponentBase, attributeIndex: Int, initialValue: UUID)
Parameters
key: Int  The integer key for this attribute
component: ComponentBase  The component this attribute belongs to
attributeIndex: Int
initialValue: UUID  The initial value for this attribute

Properties

value : UUID
[Get][Set]
Signature
var value: UUID
version : ULong
[Get][Set]
Signature
open override var version: ULong

Methods

checkIfComponentIsOld ()
Signature
fun checkIfComponentIsOld()
checkIfComponentIsRecycled ()
Signature
fun checkIfComponentIsRecycled()
get ()
Signature
open override fun get(): Any
Returns
Any
getValue ( thisRef , property )
Signature
operator fun getValue(thisRef: Any?, property: KProperty<*>): UUID
Parameters
thisRef: Any?
property: KProperty
Returns
UUID
set ( value )
Signature
open override fun set(value: Any)
Parameters
value: Any
setValue ( thisRef , property , value )
Signature
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: UUID)
Parameters
thisRef: Any?
property: KProperty
value: UUID