public class Association extends Object implements Scopeable, Serializable
Constructor and Description |
---|
Association(ServiceRegistry services,
org.alfresco.service.cmr.repository.AssociationRef assocRef) |
Association(ServiceRegistry services,
org.alfresco.service.cmr.repository.AssociationRef assocRef,
org.mozilla.javascript.Scriptable scope) |
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.AssociationRef |
getAssociationRef() |
ScriptNode |
getSource() |
ScriptNode |
getTarget() |
String |
getType() |
org.alfresco.service.namespace.QName |
getTypeQName() |
void |
setScope(org.mozilla.javascript.Scriptable scope)
Set the Scriptable global scope
|
public Association(ServiceRegistry services, org.alfresco.service.cmr.repository.AssociationRef assocRef)
public Association(ServiceRegistry services, org.alfresco.service.cmr.repository.AssociationRef assocRef, org.mozilla.javascript.Scriptable scope)
public void setScope(org.mozilla.javascript.Scriptable scope)
Scopeable
setScope
in interface Scopeable
scope
- relative global scopeScopeable.setScope(org.mozilla.javascript.Scriptable)
public org.alfresco.service.cmr.repository.AssociationRef getAssociationRef()
public String getType()
public org.alfresco.service.namespace.QName getTypeQName()
public ScriptNode getSource()
public ScriptNode getTarget()
Copyright © 2005–2017 Alfresco Software. All rights reserved.