Package com.gooddata.md
Class Restriction
- java.lang.Object
-
- com.gooddata.md.Restriction
-
public class Restriction extends Object
Metadata query restriction. See static factory methods to get instance of desired restriction type.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.gooddata.md.Restriction.TypegetType()StringgetValue()static Restrictionidentifier(String value)Construct a new instance with restriction type identifier and given value.static Restrictionsummary(String value)Construct a new instance with restriction type summary and given value.static Restrictiontitle(String value)Construct a new instance with restriction type title and given value.StringtoString()
-
-
-
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
-
-