public interface OwExprScope
Scope defining interface. Scopes are indexed property and function domains. Scope implementations provide function and property interrogating methods as well as well as indexed access helper methods.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Modifier and Type | Method and Description |
---|---|
OwExprProperty |
at(int index_p)
Indexed scope access method
|
OwExprFunction |
function(String functionName_p,
OwExprExpressionType[] argunmentTyes_p)
Function access method.
|
boolean |
hasProperty(String propertyName_p)
Property access helper method.
|
int |
length()
Indexed scope access helper method
|
OwExprProperty |
property(String propertyName_p)
Property access method.
|
OwExprFunction function(String functionName_p, OwExprExpressionType[] argunmentTyes_p) throws OwExprEvaluationException
functionName_p
- the name of the requested functionargunmentTyes_p
- array of OwExprExpressionType
that defines the argument signature
of the requested functionOwExprFunction
with the requested name and argument signature residing in this scopeOwExprEvaluationException
- if the requested function is not found in this scope or
the creation of the corresponding OwExprFunction
has failedOwExprProperty property(String propertyName_p) throws OwExprEvaluationException
propertyName_p
- the name of the requested propertyOwExprProperty
with the requested name residing in this scopeOwExprEvaluationException
- if the requested property is not found in this scope or
the creation of the corresponding OwExprProperty
has failedOwExprProperty at(int index_p) throws OwExprEvaluationException
index_p
- int
index of the requested propertyOwExprProperty
property found at the requested indexOwExprEvaluationException
- if the requested indexed access has failed (index out of bounds,
the creation of OwExprProperty
has failed)int length() throws OwExprEvaluationException
OwExprEvaluationException
boolean hasProperty(String propertyName_p) throws OwExprEvaluationException
propertyName_p
- the name of the requested propertytrue
if this scope can perform property access for the requested property
- an access via property(String)
will NOT fail on missing property grounds,
false
otherwiseOwExprEvaluationException
- if the property validity check has failedCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.