org.alfresco.repo.jscript
Class Association

java.lang.Object
  extended by 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

See Also:
Serialized Form

Constructor Summary
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
 org.alfresco.service.cmr.repository.AssociationRef getAssociationRef()
           
 ScriptNode getSource()
           
 ScriptNode getTarget()
           
 java.lang.String getType()
           
 org.alfresco.service.namespace.QName getTypeQName()
           
 void setScope(org.mozilla.javascript.Scriptable scope)
          Set the Scriptable global scope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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: Scopeable
Set the Scriptable global scope

Specified by:
setScope in interface Scopeable
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()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.