Package openGql.grammar
Class NullIfAbbreviation
- java.lang.Object
-
- openGql.grammar.NullIfAbbreviation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NullIfAbbreviation>
public class NullIfAbbreviation extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NullIfAbbreviation>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description ValueExpressionfirststatic NameFIRSTName of theopenGql.grammar.NullIfAbbreviation.firstfield.ValueExpressionsecondstatic NameSECONDName of theopenGql.grammar.NullIfAbbreviation.secondfield.static NameTYPE_Name of theopenGql.grammar.NullIfAbbreviationtype.
-
Constructor Summary
Constructors Constructor Description NullIfAbbreviation(ValueExpression first, ValueExpression second)Constructs an immutableNullIfAbbreviation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NullIfAbbreviation other)booleanequals(java.lang.Object other)inthashCode()NullIfAbbreviationwithFirst(ValueExpression first)Returns a copy of thisNullIfAbbreviationwithfirstreplaced.NullIfAbbreviationwithSecond(ValueExpression second)Returns a copy of thisNullIfAbbreviationwithsecondreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.NullIfAbbreviationtype.
-
FIRST
public static final Name FIRST
Name of theopenGql.grammar.NullIfAbbreviation.firstfield.
-
SECOND
public static final Name SECOND
Name of theopenGql.grammar.NullIfAbbreviation.secondfield.
-
first
public final ValueExpression first
-
second
public final ValueExpression second
-
-
Constructor Detail
-
NullIfAbbreviation
public NullIfAbbreviation(ValueExpression first, ValueExpression second)
Constructs an immutableNullIfAbbreviation.
-
-
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(NullIfAbbreviation other)
- Specified by:
compareToin interfacejava.lang.Comparable<NullIfAbbreviation>
-
withFirst
public NullIfAbbreviation withFirst(ValueExpression first)
Returns a copy of thisNullIfAbbreviationwithfirstreplaced.
-
withSecond
public NullIfAbbreviation withSecond(ValueExpression second)
Returns a copy of thisNullIfAbbreviationwithsecondreplaced.
-
-