Interface PropertyValueMap


public interface PropertyValueMap
PropertyValueMap.

Used for validate property values from the LogiCommerce Backoffice.

Since:
1.1.16
Author:
LogiCommerce
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if the property value exists.
    <T> T
    get(String key, Class<T> type)
    Get property value with its type.
    Get raw property value.
    boolean
    Check if the property value is empty.
    Get all property keys.
  • Method Details

    • get

      <T> T get(String key, Class<T> type)
      Get property value with its type.
      Type Parameters:
      T - the generic type
      Parameters:
      key - a String object
      type - a Class<T> object
      Returns:
      the property value as T
    • getRaw

      Object getRaw(String key)
      Get raw property value.
      Parameters:
      key - a String object
      Returns:
      the property value as Object
    • containsKey

      boolean containsKey(String key)
      Check if the property value exists.
      Parameters:
      key - a String object
      Returns:
      true, if successful
    • isEmpty

      boolean isEmpty()
      Check if the property value is empty.
      Returns:
      true, if successful
    • keySet

      Set<String> keySet()
      Get all property keys.
      Returns:
      a Set of property keys