Package org.opennms.core.criteria
Class Alias
- java.lang.Object
-
- org.opennms.core.criteria.Alias
-
public class Alias extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Alias.AliasVisitor
static class
Alias.JoinType
-
Constructor Summary
Constructors Constructor Description Alias(java.lang.String associationPath, java.lang.String alias, Alias.JoinType type)
Alias(java.lang.String associationPath, java.lang.String alias, Alias.JoinType type, Restriction joinCondition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAlias()
java.lang.String
getAssociationPath()
Restriction
getJoinCondition()
Alias.JoinType
getType()
int
hashCode()
boolean
hasJoinCondition()
void
setJoinCondition(Restriction joinCondition)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Alias
public Alias(java.lang.String associationPath, java.lang.String alias, Alias.JoinType type, Restriction joinCondition)
-
Alias
public Alias(java.lang.String associationPath, java.lang.String alias, Alias.JoinType type)
-
-
Method Detail
-
getAlias
public java.lang.String getAlias()
-
getAssociationPath
public java.lang.String getAssociationPath()
-
getType
public Alias.JoinType getType()
-
hasJoinCondition
public boolean hasJoinCondition()
-
getJoinCondition
public Restriction getJoinCondition()
-
setJoinCondition
public void setJoinCondition(Restriction joinCondition)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-