public class AttivioPrincipalKey extends Object implements Serializable, Cloneable
Modifier | Constructor and Description |
---|---|
protected |
AttivioPrincipalKey()
The default constructor.
|
|
AttivioPrincipalKey(String realmId,
String principalId)
Constructs a principal key.
|
Modifier and Type | Method and Description |
---|---|
AttivioPrincipalKey |
clone() |
boolean |
equals(Object obj) |
String |
getGuid() |
String |
getPrincipalId() |
String |
getRealmId() |
int |
hashCode() |
void |
setPrincipalId(String principalId)
Sets the principal ID.
|
void |
setRealmId(String realmId)
Sets the security realm ID.
|
String |
toString() |
static AttivioPrincipalKey |
valueOf(String principalGuid)
Create an
AttivioPrincipalKey from the String returned from getGuid() . |
public String getRealmId()
public void setRealmId(String realmId)
realmId
- the security realm ID; may not be null or emptypublic String getPrincipalId()
public void setPrincipalId(String principalId)
principalId
- the principal ID; may not be null or emptypublic String getGuid()
public static AttivioPrincipalKey valueOf(String principalGuid)
AttivioPrincipalKey
from the String returned from getGuid()
.principalGuid
- - format of "realm-id:principal-id"public AttivioPrincipalKey clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.