public class AttributeDefinitionDTO
extends org.osgi.dto.DTO
AttributeDefinition.| Modifier and Type | Field and Description |
|---|---|
int |
cardinality
The cardinality of the AD.
|
String |
description
The description of the AD.
|
String |
id
The id of the attribute.
|
String |
max
The maximal value of the AD.
|
String |
min
The minimal value of the AD.
|
String |
name
The name of the AD.
|
List<OptionDTO> |
options
A list of the option entry of the AD.
|
boolean |
required
Indicates if the attribute is required.
|
String |
type
The type of the attribute.
|
List<String> |
values
A list of values.
|
| Constructor and Description |
|---|
AttributeDefinitionDTO() |
public String id
Must not be null.
public String name
If it is not specified this field must be set to the default value.
public String description
If it is not specified this field must be null.
public String type
The type must be the name of the scalar type (eg: String). The
default is "String".
public int cardinality
If it is not specified this field must be set to the default value.
public String min
If it is not specified this field must be null.
public String max
If it is not specified this field must be null.
public boolean required
If it is not specified this field must be set to true.
Copyright © 2021. All rights reserved.