Class RelationDef
java.lang.Object
ch.tocco.nice2.persist.core.api.qb2.RelationDef
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPath()inthashCode()is(PrimaryKey key) Creates a condition that checks whether this relation points to the entity specified bykey.Creates a condition that checks whether this relation points to the entity specified byentity.Creates a condition that checks whether the this relation points to all entities given byentities.Creates a condition that checks whether the this relation points to all entities given byentities.Creates a condition that checks whether the this relation points to all entities given byentities.isAllKeys(PrimaryKey... keys) Creates a condition that checks whether the this relation points to all entities given bykeys.isAllKeys(Iterable<PrimaryKey> keys) Creates a condition that checks whether the this relation points to all entities given bykeys.isNot(PrimaryKey... keys) isNotKeys(Iterable<PrimaryKey> keys) Creates a condition that checks whether the this relation points to at least one of the entities specified byentities.Creates a condition that checks whether the this relation points to at least one of the entities specified byentities.Creates a condition that checks whether the this relation points to at least one of the entities specified byentities.isOneKey(PrimaryKey... keys) Creates a condition that checks whether the this relation points to at least one of the entities specified bykeys.isOneKey(Iterable<PrimaryKey> keys) Creates a condition that checks whether the this relation points to at least one of the entities specified bykeys.toString()
-
Constructor Details
-
RelationDef
-
-
Method Details
-
getPath
-
is
Creates a condition that checks whether this relation points to the entity specified bykey. -
isOneKey
Creates a condition that checks whether the this relation points to at least one of the entities specified bykeys. -
isOneKey
Creates a condition that checks whether the this relation points to at least one of the entities specified bykeys. -
isAllKeys
Creates a condition that checks whether the this relation points to all entities given bykeys. -
isAllKeys
Creates a condition that checks whether the this relation points to all entities given bykeys. -
isNotKeys
-
isNot
-
is
Creates a condition that checks whether this relation points to the entity specified byentity. -
isOne
Creates a condition that checks whether the this relation points to at least one of the entities specified byentities. -
isOne
Creates a condition that checks whether the this relation points to at least one of the entities specified byentities. -
isAll
Creates a condition that checks whether the this relation points to all entities given byentities. -
isAll
Creates a condition that checks whether the this relation points to all entities given byentities. -
isNot
-
isNot
-
isOneFrom
Creates a condition that checks whether the this relation points to at least one of the entities specified byentities. -
isAllFrom
Creates a condition that checks whether the this relation points to all entities given byentities. -
isNotFrom
-
equals
-
hashCode
public int hashCode() -
toString
-