Package org.alfresco.repo.jscript
Class Association
- java.lang.Object
-
- org.alfresco.repo.jscript.Association
-
- All Implemented Interfaces:
java.io.Serializable,Scopeable
public class Association extends java.lang.Object implements Scopeable, java.io.Serializable
Object representing an association- Author:
- Roy Wetherall
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.AssociationRefgetAssociationRef()ScriptNodegetSource()ScriptNodegetTarget()java.lang.StringgetType()org.alfresco.service.namespace.QNamegetTypeQName()voidsetScope(org.mozilla.javascript.Scriptable scope)Set the Scriptable global scope
-
-
-
Constructor Detail
-
Association
public Association(ServiceRegistry services, org.alfresco.service.cmr.repository.AssociationRef assocRef)
-
Association
public Association(ServiceRegistry services, org.alfresco.service.cmr.repository.AssociationRef assocRef, org.mozilla.javascript.Scriptable scope)
-
-
Method Detail
-
setScope
public void setScope(org.mozilla.javascript.Scriptable scope)
Description copied from interface:ScopeableSet the Scriptable global scope- Specified by:
setScopein interfaceScopeable- Parameters:
scope- relative global scope- See Also:
Scopeable.setScope(org.mozilla.javascript.Scriptable)
-
getAssociationRef
public org.alfresco.service.cmr.repository.AssociationRef getAssociationRef()
-
getType
public java.lang.String getType()
-
getTypeQName
public org.alfresco.service.namespace.QName getTypeQName()
-
getSource
public ScriptNode getSource()
-
getTarget
public ScriptNode getTarget()
-
-