ConceptTrait
Defines the SKOS relation and label property names of the {@see \xyz\oihana\schema\thesaurus\Concept} schema entity.
Centralizing these keys avoids hardcoded string literals and provides a single source of truth for hydration and serialization. It is aggregated, through ThesaurusTrait, into the global Oihana constants class.
Tags
Table of Contents
Constants
- BROADER : string = 'broader'
- The attribute key of the skos:broader property.
- BROADER_TRANSITIVE : string = 'broaderTransitive'
- The attribute key of the skos:broaderTransitive property.
- HIDDEN_LABEL : string = 'hiddenLabel'
- The attribute key of the skos:hiddenLabel property.
- NARROWER : string = 'narrower'
- The attribute key of the skos:narrower property.
- NARROWER_TRANSITIVE : string = 'narrowerTransitive'
- The attribute key of the skos:narrowerTransitive property.
- RELATED : string = 'related'
- The attribute key of the skos:related property.
- TOP_CONCEPT_OF : string = 'topConceptOf'
- The attribute key of the skos:topConceptOf property.
Constants
BROADER
The attribute key of the skos:broader property.
public
string
BROADER
= 'broader'
BROADER_TRANSITIVE
The attribute key of the skos:broaderTransitive property.
public
string
BROADER_TRANSITIVE
= 'broaderTransitive'
HIDDEN_LABEL
The attribute key of the skos:hiddenLabel property.
public
string
HIDDEN_LABEL
= 'hiddenLabel'
NARROWER
The attribute key of the skos:narrower property.
public
string
NARROWER
= 'narrower'
NARROWER_TRANSITIVE
The attribute key of the skos:narrowerTransitive property.
public
string
NARROWER_TRANSITIVE
= 'narrowerTransitive'
RELATED
The attribute key of the skos:related property.
public
string
RELATED
= 'related'
TOP_CONCEPT_OF
The attribute key of the skos:topConceptOf property.
public
string
TOP_CONCEPT_OF
= 'topConceptOf'