Class Attribute<T>

java.lang.Object
com.yoti.api.client.Attribute<T>

public class Attribute<T> extends Object
Represents a generic, typed key/value pair, a basic building block of Profile instances.
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      The ID of the attribute
      Returns:
      attribute ID
    • getName

      public String getName()
      The name of the attribute
      Returns:
      name of the attribute
    • getValue

      public T getValue()
      Value of the attribute
      Returns:
      attribute value
    • getSources

      public List<Anchor> getSources()
      Source Anchors identify how and when an attribute value was acquired
      Returns:
      List of sources for the attribute value
    • getVerifiers

      public List<Anchor> getVerifiers()
      Verifier Anchors identify how and when an attribute value was verified by another provider
      Returns:
      List of verifiers for the attribute value
    • getAnchors

      public List<Anchor> getAnchors()
      All known Anchors for this attribute. Includes SOURCE and VERIFIER Anchors, in future may provide other types too
      Returns:
      All anchors returned with the attribute