Class NamedArg<P extends AbstractCLType>

    • Constructor Detail

      • NamedArg

        public NamedArg()
      • NamedArg

        public NamedArg​(java.lang.String type,
                        AbstractCLValue<?,​P> clValue)
    • Method Detail

      • serialize

        public void serialize​(dev.oak3.sbs4j.SerializerBuffer ser,
                              Target target)
                       throws dev.oak3.sbs4j.exception.ValueSerializationException,
                              NoSuchTypeException
        Description copied from interface: CasperSerializableObject
        Called when the object's values must be serialized
        Specified by:
        serialize in interface CasperSerializableObject
        Parameters:
        ser - the serializer to be used
        target - target serialization standard
        Throws:
        dev.oak3.sbs4j.exception.ValueSerializationException - exception holding information of failure to serialize a value
        NoSuchTypeException
      • getType

        public java.lang.String getType()
        The first value in the array is the type of the arg
      • getClValue

        public AbstractCLValue<?,​P> getClValue()
        The second value in the array is a CLValue type
      • setType

        public void setType​(java.lang.String type)
        The first value in the array is the type of the arg
      • setClValue

        public void setClValue​(AbstractCLValue<?,​P> clValue)
        The second value in the array is a CLValue type