public class Restrictions
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private GeoRestriction |
geoRestriction |
Constructor and Description |
---|
Restrictions()
Default constructor for Restrictions object.
|
Restrictions(GeoRestriction geoRestriction)
Constructs a new Restrictions object.
|
Modifier and Type | Method and Description |
---|---|
Restrictions |
clone() |
boolean |
equals(java.lang.Object obj) |
GeoRestriction |
getGeoRestriction() |
int |
hashCode() |
void |
setGeoRestriction(GeoRestriction geoRestriction) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Restrictions |
withGeoRestriction(GeoRestriction geoRestriction) |
private GeoRestriction geoRestriction
public Restrictions()
public Restrictions(GeoRestriction geoRestriction)
geoRestriction
- public void setGeoRestriction(GeoRestriction geoRestriction)
geoRestriction
- public GeoRestriction getGeoRestriction()
public Restrictions withGeoRestriction(GeoRestriction geoRestriction)
geoRestriction
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Restrictions clone()
clone
in class java.lang.Object