org.alfresco.repo.jscript
Class ChildAssociation

java.lang.Object
  extended by org.alfresco.repo.jscript.ChildAssociation
All Implemented Interfaces:
java.io.Serializable, Scopeable

public class ChildAssociation
extends java.lang.Object
implements Scopeable, java.io.Serializable

Object representing a child association

See Also:
Serialized Form

Constructor Summary
ChildAssociation(ServiceRegistry services, org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
           
ChildAssociation(ServiceRegistry services, org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef, org.mozilla.javascript.Scriptable scope)
          Constructor
 
Method Summary
 ScriptNode getChild()
           
 org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssociationRef()
           
 java.lang.String getName()
           
 int getNthSibling()
           
 ScriptNode getParent()
           
 java.lang.String getType()
           
 boolean isPrimary()
           
 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

ChildAssociation

public ChildAssociation(ServiceRegistry services,
                        org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)

ChildAssociation

public ChildAssociation(ServiceRegistry services,
                        org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
                        org.mozilla.javascript.Scriptable scope)
Constructor

Parameters:
services -
childAssocRef -
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)

getChildAssociationRef

public org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssociationRef()

getType

public java.lang.String getType()

getName

public java.lang.String getName()

getParent

public ScriptNode getParent()

getChild

public ScriptNode getChild()

isPrimary

public boolean isPrimary()

getNthSibling

public int getNthSibling()


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