public final class PeerEntityIDCriterion extends Object implements Criterion
Criterion
which specifies criteria pertaining
to peer entity IDs. This is typically used only in conjunction with a
EntityIdCriterion
, where the peer is interpreted to be relative
to that primary entity ID. In this sense it serves to scope the primary entity ID.
Note that the peer entity ID may be either local or remote,
depending on whether the associated primary entity ID is remote or local.Constructor and Description |
---|
PeerEntityIDCriterion(String peer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPeerID()
Get the entity ID which is the peer relative to a primary entity ID.
|
int |
hashCode() |
void |
setPeerID(String peer)
Set the entity ID which is the peer relative to a primary entity ID.
|
String |
toString() |
@Nonnull public String getPeerID()
public void setPeerID(@Nonnull String peer)
peer
- The peerID to set.Copyright © 2016 JBoss by Red Hat. All rights reserved.