com.evolveum.midpoint.common.refinery
Class ResourceShadowDiscriminator
java.lang.Object
com.evolveum.midpoint.common.refinery.ResourceShadowDiscriminator
- All Implemented Interfaces:
- Serializable
public class ResourceShadowDiscriminator
- extends Object
- implements Serializable
Aggregate bean containing resource OID, intent and thombstone flag.
It uniquely identifies an shadow projection (usually account) for a specific user regardless whether it has OID, does not have
OID yet, it exists of was deleted.
This is used mostly as a key in hashes and for searches.
- Author:
- Radovan Semancik
- See Also:
- Serialized Form
ResourceShadowDiscriminator
public ResourceShadowDiscriminator(String resourceOid,
String intent)
ResourceShadowDiscriminator
public ResourceShadowDiscriminator(String resourceOid,
String intent,
boolean thombstone)
ResourceShadowDiscriminator
public ResourceShadowDiscriminator(ResourceShadowDiscriminatorType accRefType)
getResourceOid
public String getResourceOid()
setResourceOid
public void setResourceOid(String resourceOid)
getIntent
public String getIntent()
setIntent
public void setIntent(String intent)
isThombstone
public boolean isThombstone()
- Thumbstone flag is true: the account no longer exists. The data we have are the latest metadata we were able to get.
setThombstone
public void setThombstone(boolean thombstone)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
equivalent
public boolean equivalent(Object obj)
equalsAccountType
public static boolean equalsAccountType(String a,
String b)
Copyright © 2013 evolveum. All Rights Reserved.