CycloneDX Library

Property
in package

Lightweight name-value pair.

Specifies an individual property with a name and value.

Tags
author

jkowalleck

Table of Contents

Properties

$name  : string
The name of the property. Duplicate names are allowed, each potentially having a different value.
$value  : string
The value of the property.

Methods

__construct()  : mixed
getName()  : string
getValue()  : string
setName()  : $this
setValue()  : $this

Properties

$name

The name of the property. Duplicate names are allowed, each potentially having a different value.

private string $name

$value

The value of the property.

private string $value

Methods

__construct()

public __construct(string $name, string $value) : mixed
Parameters
$name : string
$value : string

getName()

public getName() : string
Return values
string

getValue()

public getValue() : string
Return values
string

setName()

public setName(string $name) : $this
Parameters
$name : string
Return values
$this

setValue()

public setValue(string $value) : $this
Parameters
$value : string
Return values
$this

        
On this page

Search results