Class ProtocolDefinitionTrait.Provider

    • Constructor Detail

      • Provider

        public Provider()
    • Method Detail

      • createTrait

        public ProtocolDefinitionTrait createTrait​(ShapeId target,
                                                   Node value)
        Description copied from interface: TraitService
        Creates the trait from a node value.
        Parameters:
        target - The shape targeted by the trait.
        value - The value of the trait.
        Returns:
        Returns the created trait.