public class RequirementDTO extends DTO
| Modifier and Type | Field | Description |
|---|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
attributes |
The attributes for the requirement.
|
java.util.Map<java.lang.String,java.lang.String> |
directives |
The directives for the requirement.
|
int |
id |
The unique identifier of the requirement.
|
java.lang.String |
namespace |
The namespace for the requirement.
|
int |
resource |
The identifier of the resource declaring the requirement.
|
| Constructor | Description |
|---|---|
RequirementDTO() |
public int id
This identifier is transiently assigned and may vary across restarts.
public java.lang.String namespace
Requirement.getNamespace()public java.util.Map<java.lang.String,java.lang.String> directives
Requirement.getDirectives()public java.util.Map<java.lang.String,java.lang.Object> attributes
The value type must be a numerical type, Boolean, String, DTO or an array of any of the former.
Requirement.getAttributes()public int resource
ResourceDTO.id,
Requirement.getResource()