org.alfresco.repo.jscript
Class ChildAssociation
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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.