@Immutable public class JoinFlag extends java.lang.Object implements java.io.Serializable
JoinFlag
defines a join related flag using an Expression instance
JoinFlag
instances can be used in Querydsl modules which serialize queries to String form.
Modifier and Type | Class and Description |
---|---|
static class |
JoinFlag.Position
The different
JoinFlag positions |
Constructor and Description |
---|
JoinFlag(Expression<?> flag)
Create a new instance using the given flag
|
JoinFlag(Expression<?> flag,
JoinFlag.Position position)
Create a new instance using the given flag and position
|
JoinFlag(java.lang.String flag)
Create a new instance using the given flag
|
JoinFlag(java.lang.String flag,
JoinFlag.Position position)
Create a new instance using the given flag and position.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Expression<?> |
getFlag() |
JoinFlag.Position |
getPosition() |
int |
hashCode() |
java.lang.String |
toString() |
public JoinFlag(java.lang.String flag)
The used position is before the target.
flag
- flag in String formpublic JoinFlag(java.lang.String flag, JoinFlag.Position position)
flag
- flag in String formposition
- position of the flag in the joinpublic JoinFlag(Expression<?> flag)
The used position is before the target.
flag
- flag in Expression formpublic JoinFlag(Expression<?> flag, JoinFlag.Position position)
flag
- flag in Expression formposition
- position of the flag in the joinpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public Expression<?> getFlag()
public JoinFlag.Position getPosition()
Copyright © 2007–2021 Querydsl. All rights reserved.