Package com.gooddata.sdk.model.md
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 classRestriction.Type -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)Restriction.TypegetType()java.lang.StringgetValue()inthashCode()static Restrictionidentifier(java.lang.String value)Construct a new instance with restriction type identifier and given value.static Restrictionsummary(java.lang.String value)Construct a new instance with restriction type summary and given value.static Restrictiontitle(java.lang.String value)Construct a new instance with restriction type title and given value.java.lang.StringtoString()
-
Method Details
-
getType
-
getValue
public java.lang.String getValue() -
identifier
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
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
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-