
public class GenericLinkContract extends LinkContract
| Modifier | Constructor and Description |
|---|---|
protected |
GenericLinkContract(XdiEntity xdiEntity) |
| Modifier and Type | Method and Description |
|---|---|
static XDIAddress |
createGenericLinkContractXDIAddress(XDIAddress authorizingAuthority,
XDIAddress requestingAuthority,
XDIAddress templateAuthorityAndId) |
static GenericLinkContract |
findGenericLinkContract(Graph graph,
XDIAddress authorizingAuthority,
XDIAddress requestingAuthority,
XDIAddress templateAuthorityAndId,
boolean create)
Factory method that finds or creates an XDI generic link contract for a graph.
|
static GenericLinkContract |
fromXdiEntity(XdiEntity xdiEntity)
Factory method that creates an XDI generic link contract bound to a given XDI entity.
|
XDIAddress |
getAuthorizingAuthority() |
static XDIAddress |
getAuthorizingAuthority(XDIAddress XDIaddress) |
XDIAddress |
getRequestingAuthority() |
static XDIAddress |
getRequestingAuthority(XDIAddress XDIaddress) |
XDIAddress |
getTemplateAuthorityAndId() |
static XDIAddress |
getTemplateAuthorityAndId(XDIAddress XDIaddress) |
static boolean |
isValid(XdiEntity xdiEntity)
Checks if an XDI entity is a valid XDI generic link contract.
|
getXdiEntity, getXdiSubGraphcompareTo, delNegativePermissionTargetXDIAddress, delNegativePermissionTargetXDIStatement, delPermissionTargetXDIAddress, delPermissionTargetXDIStatement, equals, getContextNode, getNegativePermissionTargetXDIAddresses, getPermissionTargetXDIAddresses, getPermissionTargetXDIStatements, getPolicyRoot, hashCode, hasNegativePermissionTargetXDIStatement, hasPermissionTargetXDIStatement, setNegativePermissionTargetXDIAddress, setNegativePermissionTargetXDIStatement, setPermissionTargetXDIAddress, setPermissionTargetXDIStatement, toStringprotected GenericLinkContract(XdiEntity xdiEntity)
public static boolean isValid(XdiEntity xdiEntity)
xdiEntity - The XDI entity to check.public static GenericLinkContract fromXdiEntity(XdiEntity xdiEntity)
xdiEntity - The XDI entity that is an XDI generic link contract.public static XDIAddress createGenericLinkContractXDIAddress(XDIAddress authorizingAuthority, XDIAddress requestingAuthority, XDIAddress templateAuthorityAndId)
public static GenericLinkContract findGenericLinkContract(Graph graph, XDIAddress authorizingAuthority, XDIAddress requestingAuthority, XDIAddress templateAuthorityAndId, boolean create)
public static XDIAddress getAuthorizingAuthority(XDIAddress XDIaddress)
public static XDIAddress getRequestingAuthority(XDIAddress XDIaddress)
public static XDIAddress getTemplateAuthorityAndId(XDIAddress XDIaddress)
public XDIAddress getAuthorizingAuthority()
public XDIAddress getRequestingAuthority()
public XDIAddress getTemplateAuthorityAndId()
Copyright © 2015. All Rights Reserved.