Class ByteTypeManufacturerImpl

    • Constructor Detail

      • ByteTypeManufacturerImpl

        public ByteTypeManufacturerImpl()
    • Method Detail

      • getType

        public Byte getType​(DataProviderStrategy strategy,
                            AttributeMetadata attributeMetadata,
                            Map<String,​Type> genericTypesArgumentsMap)
        Returns a type value conforming to the annotations and the AttributeMetadata provided.
        Parameters:
        strategy - The DataProviderStrategy
        attributeMetadata - The AttributeMetadata
        genericTypesArgumentsMap - map with generic types mapped to actual types
        Returns:
        A type value conforming to the annotations and the AttributeMetadata provided.
      • getByte

        public Byte getByte​(AttributeMetadata attributeMetadata)
        It returns a byte/Byte value.
        Parameters:
        attributeMetadata - attribute metadata for instance to be fetched
        Returns:
        a boolean/Boolean value
      • getByteInRange

        public Byte getByteInRange​(byte minValue,
                                   byte maxValue,
                                   AttributeMetadata attributeMetadata)
        It returns a byte/Byte within min and max value (included).
        Parameters:
        minValue - The minimum value for the returned value
        maxValue - The maximum value for the returned value
        attributeMetadata - attribute metadata for instance to be fetched
        Returns:
        A byte/Byte within min and max value (included).