Interface Resolvable

All Known Subinterfaces:
GenticsUser

public interface Resolvable
Interface for objects that provide properties by resolving property paths.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check whether the resolvable is capable of resolving properties right now.
    get(String key)
    Get the property named by key or null if the property does not exist or is not set.
    Get the property named by key or null if the property does not exist or is not set.
  • Method Details

    • getProperty

      Object getProperty(String key)
      Get the property named by key or null if the property does not exist or is not set. Alias for get(String).
      Parameters:
      key - key of the property
      Returns:
      value of the property or null
    • get

      Object get(String key)
      Get the property named by key or null if the property does not exist or is not set.
      Parameters:
      key - key of the property
      Returns:
      value of the property or null
    • canResolve

      boolean canResolve()
      Check whether the resolvable is capable of resolving properties right now. If this method returns false all calls to getProperty(String) or get(String) will return null.
      Returns:
      true when the resolvable can resolve properties. false if not