Package com.gooddata.sdk.model.md
Class Restriction
- java.lang.Object
-
- com.gooddata.sdk.model.md.Restriction
-
public class Restriction extends java.lang.ObjectMetadata 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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-