define a schema constraint |
Attributes
| name (4) | type | default value | required | constraints | description | options |
|---|---|---|---|---|---|---|
| value (value) | String | no |
depends on the constraint type | |||
| modification_date (modification date) | International date and time | yes |
latest modification time of an entity | |||
| cwuri (internal uri) | String | yes |
internal entity uri | |||
| creation_date (creation date) | International date and time | yes |
creation time of an entity |
Relations
CWConstraint is subject of:
| name (6) | object type | cardinality | constraints | options |
|---|---|---|---|---|
| created_by (created by) | CWUser (User) | 0..1 | ||
| cstrtype (constraint's type) | CWConstraintType (Constraint type) | 1 | inlined | |
| cw_source (source) | CWSource (Data source) | 1 | composite=object | |
| is (is) | CWEType (Entity type) | 1 | ||
| is_instance_of (is instance of) | CWEType (Entity type) | 1..n | ||
| owned_by (owned by) | CWUser (User) | 0..n |
CWConstraint is object of:
| name (2) | subject type | cardinality | constraints | options |
|---|---|---|---|---|
| constrained_by (constraints) | CWAttribute (Attribute) | 0..n | composite=subject | |
| constrained_by (constraints) | CWRelation (Relation) | 0..n | composite=subject |