Class Restriction


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

      • getType

        public com.gooddata.md.Restriction.Type getType()
      • getValue

        public String getValue()
      • 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