Package org.alfresco.repo.jscript
Class ChildAssociation
- java.lang.Object
-
- org.alfresco.repo.jscript.ChildAssociation
-
- All Implemented Interfaces:
Serializable,Scopeable
public class ChildAssociation extends Object implements Scopeable, Serializable
Object representing a child association- Author:
- Roy Wetherall
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChildAssociation(ServiceRegistry services, ChildAssociationRef childAssocRef)ChildAssociation(ServiceRegistry services, ChildAssociationRef childAssocRef, org.mozilla.javascript.Scriptable scope)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptNodegetChild()ChildAssociationRefgetChildAssociationRef()StringgetName()intgetNthSibling()ScriptNodegetParent()StringgetType()booleanisPrimary()voidsetScope(org.mozilla.javascript.Scriptable scope)Set the Scriptable global scope
-
-
-
Constructor Detail
-
ChildAssociation
public ChildAssociation(ServiceRegistry services, ChildAssociationRef childAssocRef)
-
ChildAssociation
public ChildAssociation(ServiceRegistry services, ChildAssociationRef childAssocRef, org.mozilla.javascript.Scriptable scope)
Constructor- Parameters:
services- ServiceRegistrychildAssocRef- ChildAssociationRefscope- Scriptable
-
-
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)
-
getChildAssociationRef
public ChildAssociationRef getChildAssociationRef()
-
getType
public String getType()
-
getName
public String getName()
-
getParent
public ScriptNode getParent()
-
getChild
public ScriptNode getChild()
-
isPrimary
public boolean isPrimary()
-
getNthSibling
public int getNthSibling()
-
-