Package openGql.grammar
Class PropertyExistsPredicate
- java.lang.Object
-
- openGql.grammar.PropertyExistsPredicate
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PropertyExistsPredicate>
public class PropertyExistsPredicate extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PropertyExistsPredicate>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameELEMENT_VARIABLE_REFERENCEName of theopenGql.grammar.PropertyExistsPredicate.elementVariableReferencefield.java.lang.StringelementVariableReferencestatic NamePROPERTY_NAMEName of theopenGql.grammar.PropertyExistsPredicate.propertyNamefield.java.lang.StringpropertyNamestatic NameTYPE_Name of theopenGql.grammar.PropertyExistsPredicatetype.
-
Constructor Summary
Constructors Constructor Description PropertyExistsPredicate(java.lang.String elementVariableReference, java.lang.String propertyName)Constructs an immutablePropertyExistsPredicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(PropertyExistsPredicate other)booleanequals(java.lang.Object other)inthashCode()PropertyExistsPredicatewithElementVariableReference(java.lang.String elementVariableReference)Returns a copy of thisPropertyExistsPredicatewithelementVariableReferencereplaced.PropertyExistsPredicatewithPropertyName(java.lang.String propertyName)Returns a copy of thisPropertyExistsPredicatewithpropertyNamereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.PropertyExistsPredicatetype.
-
ELEMENT_VARIABLE_REFERENCE
public static final Name ELEMENT_VARIABLE_REFERENCE
Name of theopenGql.grammar.PropertyExistsPredicate.elementVariableReferencefield.
-
PROPERTY_NAME
public static final Name PROPERTY_NAME
Name of theopenGql.grammar.PropertyExistsPredicate.propertyNamefield.
-
elementVariableReference
public final java.lang.String elementVariableReference
-
propertyName
public final java.lang.String propertyName
-
-
Constructor Detail
-
PropertyExistsPredicate
public PropertyExistsPredicate(java.lang.String elementVariableReference, java.lang.String propertyName)Constructs an immutablePropertyExistsPredicate.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(PropertyExistsPredicate other)
- Specified by:
compareToin interfacejava.lang.Comparable<PropertyExistsPredicate>
-
withElementVariableReference
public PropertyExistsPredicate withElementVariableReference(java.lang.String elementVariableReference)
Returns a copy of thisPropertyExistsPredicatewithelementVariableReferencereplaced.
-
withPropertyName
public PropertyExistsPredicate withPropertyName(java.lang.String propertyName)
Returns a copy of thisPropertyExistsPredicatewithpropertyNamereplaced.
-
-