public abstract class CompiledNamespace extends Object
Namespace
as a data holder.Constructor and Description |
---|
CompiledNamespace(Namespace namespace)
Creates new instance.
|
public CompiledNamespace(Namespace namespace)
namespace
- public static ComponentService getComponentServiceStat(Namespace namespace)
public ComponentService getComponentService()
public void setNamespace(Namespace aNamespace)
aNamespace
- public abstract CompiledContext getCompiledContext()
public static CompiledNamespace getCompiledNamespace(Namespace moduleNamespace)
public Namespace getNamespace()
public String getEvaluationLevel()
protected <T> T getComponent(Class<T> cls)
protected static Type getType(Namespace namespace, String typeString) throws ErrorException
ErrorException
protected static Type getType(CompiledNamespace compiledNamespace, String typeString) throws ErrorException
ErrorException
protected Type getType(String typeString) throws ErrorException
ErrorException
protected static ReferenceHolder createReference(Namespace namespace, ReferenceType type, String expression, ClosureOrigin expressionOrigin)
protected static ClosureHolder createOperationHolder(Namespace namespace, ClosureType closureType, String expressionString, ClosureOrigin expressionOrigin)
protected ClosureHolder createOperationHolder(ClosureType closureType, String expressionString, ClosureOrigin expressionOrigin)
protected static ClosureHolder createOperationHolder(Namespace namespace, RecordHolder recordHolder, ClosureType closureType, String expressionString, ClosureOrigin expressionOrigin)
protected ClosureHolder createOperationHolder(RecordHolder recordHolder, ClosureType closureType, String expressionString, ClosureOrigin expressionOrigin)
protected static ListHolder createList(Namespace namespace, Object[] items)
protected ListHolder createList(Object[] items)
protected static RecordHolder createRecord(Namespace namespace, String recordType, String[] fieldNames, Object[] fieldValues)
protected RecordHolder createRecord(String recordType, String[] fieldNames, Object[] fieldValues)
protected static RecordHolder createRecordByConstructor(Namespace namespace, String recordTypeString, Class<?>[] parameterTypes, Object[] values) throws ValidationException
ValidationException
protected RecordHolder createRecordByConstructor(String recordTypeString, Class<?>[] parameterTypes, Object[] values) throws ValidationException
ValidationException
protected static Object getPropertySafe(RecordHolder record, String property)
protected static Boolean toBoolean(boolean b)
protected static boolean toboolean(boolean b)
protected static boolean toboolean(Boolean b)
protected static RecordHolder toCompiled(Namespace namespace, RecordHolder record)
protected RecordHolder toCompiled(RecordHolder record)
protected RecordHolder toCompiled(RecordProxySetHolder record)
protected static Object getConstantValue(Namespace namespace, String moduleName, String name)
public static ReferencedOperation getReferencedOperation(Namespace namespace, String moduleName, String id)
public ReferencedOperation getReferencedOperation(String modelName, String id)
protected static void addVariable(Namespace namespace, String name, Type type, Object value)
public static Object getStaticVariableValue(Namespace namespace, String name)
namespace
- name
- @Deprecated public void setVariableValue(String name, Object value)
public static Namespace resolveVariableNamespace(Namespace namespace, QID qid)
public static Namespace resolveVariableNamespace(Namespace namespace, String name)
protected static void checkRollback(Namespace namespace, Throwable th, IErrorException e)
protected void checkRollback(Throwable th, IErrorException e)
public Boolean like(String str, String pattern) throws ErrorException
ErrorException
public Object get(CollectionHolder collection, Decimal index) throws ErrorException
ErrorException
public Object get(MapHolder map, Object index) throws ErrorException
ErrorException
public Boolean in(Object item, CollectionHolder collection) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.