Interface ITypeAsset

    • Method Detail

      • getSubType

        PropertyType getSubType()
        Gets the sub type of the asset. Sub type would hold sense in case of type being object or array
        Returns:
      • getType

        PropertyType getType()
        Gets the type of the Asset
        Returns:
        this property's type.
      • setType

        void setType​(PropertyType type)
        Sets the type of the Asset
      • getFormatType

        PropertyFormatType getFormatType()
        Gets the format type of the Asset
        Returns:
        this property's type.
      • setFormatType

        void setFormatType​(PropertyFormatType type)
        Sets the format type of the Asset
      • getTypeRef

        java.lang.String getTypeRef()
        Gets the type reference of the asset. In some cases property may be directly $ref instant of type Example "customer" : { "$ref" : "customer" }
        Returns:
      • getSubTypeRef

        java.lang.String getSubTypeRef()
        Gets the type reference of the asset. In some cases property may be directly $ref instant of type Example "account" : { "type" : "array", "items" : { "$ref" : "account" } }
        Returns:
      • getMediaBinaryEncoding

        java.lang.String getMediaBinaryEncoding()
        Gets the binary encoding for the media Example, could be base64
        Returns:
      • getMediaType

        java.lang.String getMediaType()
        Gets the media type, as mime type Example, could be "image/png"
        Returns: