public interface TraitService
Node values.
This is the interface used to create traits when loading a model.
If a trait implementation does not have a corresponding
TraitService, the concrete class for the trait will not be
used in code, and instead a DynamicTrait trait will be used.
| Modifier and Type | Method and Description |
|---|---|
Trait |
createTrait(ShapeId target,
Node value)
Creates the trait from a node value.
|
ShapeId |
getShapeId() |
ShapeId getShapeId()