Class Restriction

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

public class Restriction
extends java.lang.Object
Metadata query restriction. See static factory methods to get instance of desired restriction type.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Restriction.Type  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    Restriction.Type getType()  
    java.lang.String getValue()  
    int hashCode()  
    static Restriction identifier​(java.lang.String value)
    Construct a new instance with restriction type identifier and given value.
    static Restriction summary​(java.lang.String value)
    Construct a new instance with restriction type summary and given value.
    static Restriction title​(java.lang.String value)
    Construct a new instance with restriction type title and given value.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getType

      public Restriction.Type getType()
    • getValue

      public java.lang.String getValue()
    • identifier

      public static Restriction identifier​(java.lang.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​(java.lang.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​(java.lang.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
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object