Class Restriction

java.lang.Object
com.gooddata.sdk.model.md.Restriction

public class Restriction extends Object
Metadata query restriction. See static factory methods to get instance of desired restriction type.
  • Method Details

    • identifier

      public static Restriction identifier(String value)
      Construct a new instance with restriction type identifier and given value.
      Parameters:
      value - identifier you want to search for
      Returns:
      new restriction for identifier restriction
    • title

      public static Restriction title(String value)
      Construct a new instance with restriction type title and given value.
      Parameters:
      value - title you want to search for
      Returns:
      new restriction for title restriction
    • summary

      public static Restriction summary(String value)
      Construct a new instance with restriction type summary and given value.
      Parameters:
      value - summary you want to search for
      Returns:
      new restriction for summary restriction
    • getType

      public Restriction.Type getType()
    • getValue

      public String getValue()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object