Package com.identityworksllc.iiq.common
Class LinkRef
-
-
Constructor Summary
Constructors Constructor Description LinkRef(String applicationName, String nativeIdentity)Constructs a LinkRef object with the specified application name and native identity.LinkRef(Map<String,?> map)Constructs a LinkRef object from a map containing application name and native identity.LinkRef(sailpoint.object.Link link)Constructs a LinkRef object from aLinkobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Returns true if this LinkRef is equal to another object.StringgetApplicationName()Gets the application name.StringgetNativeIdentity()Gets the native identity.inthashCode()Returns the hash code of this LinkRef.sailpoint.object.Linkresolve(sailpoint.api.SailPointContext context)Resolves the link reference to a Link object.Map<String,String>toMap()Converts the LinkRef object to a map representation.StringtoString()Converts the LinkRef object to a string representation.
-
-
-
Constructor Detail
-
LinkRef
public LinkRef(String applicationName, String nativeIdentity)
Constructs a LinkRef object with the specified application name and native identity.- Parameters:
applicationName- the name of the applicationnativeIdentity- the native identity of the link
-
LinkRef
public LinkRef(Map<String,?> map)
Constructs a LinkRef object from a map containing application name and native identity.- Parameters:
map- a map containing the application name and native identity
-
LinkRef
public LinkRef(sailpoint.object.Link link)
Constructs a LinkRef object from aLinkobject.- Parameters:
link- the Link object
-
-
Method Detail
-
getApplicationName
public String getApplicationName()
Gets the application name.- Returns:
- the application name
-
getNativeIdentity
public String getNativeIdentity()
Gets the native identity.- Returns:
- the native identity
-
hashCode
public int hashCode()
Returns the hash code of this LinkRef.
-
resolve
public sailpoint.object.Link resolve(sailpoint.api.SailPointContext context) throws sailpoint.tools.GeneralException
Resolves the link reference to a Link object.- Parameters:
context- the SailPointContext- Returns:
- the resolved Link object
- Throws:
sailpoint.tools.GeneralException- if an error occurs during resolution
-
toMap
public Map<String,String> toMap()
Converts the LinkRef object to a map representation.- Returns:
- a map containing the application name and native identity
-
-