Package | Description |
---|---|
com.whitestein.lsps.engine |
The package contains common classes for LSPS expression interpretation.
|
com.whitestein.lsps.engine.dto.val | |
com.whitestein.lsps.engine.lang | |
com.whitestein.lsps.engine.tester |
Testing support for testing engine tasks.
|
com.whitestein.lsps.engine.validation | |
com.whitestein.lsps.lang |
This is the main package for the LSPS expression language.
|
com.whitestein.lsps.lang.exec |
All types in the language have their Java implementation class.
|
com.whitestein.lsps.stdlib.function |
Classes that implements functions defined
in the standard library.
|
Modifier and Type | Method and Description |
---|---|
static Object |
HolderHelper.getPropertyValue(ModelProvider modelProvider,
String evaluationLevel,
RecordHolder recordHolder,
Property property)
Returns value of the property of the record in the evaluation level.
|
static boolean |
HolderHelper.isPropertyChanged(RecordHolder recordHolder,
Property property)
Returns true if property is changed in the record.
|
Modifier and Type | Method and Description |
---|---|
Property |
ReferenceValue.getProperty() |
Property |
PropertyValue.toObject() |
Modifier and Type | Method and Description |
---|---|
List<Property> |
ReferenceValue.getAdditionalProperties() |
Modifier and Type | Method and Description |
---|---|
CollectionHolder |
RecordProxySet.createProxies(ExecutionContext ctx,
CollectionHolder collection,
Property... properties)
Creates change proxy on each record holder in the collection.
|
CollectionHolder |
RecordProxySet.createProxies(ExecutionContext ctx,
RecordProxySetHolder proxySet,
CollectionHolder collection,
Property... properties)
Creates change proxy on each record holder in the collection.
|
RecordHolder |
RecordProxySet.createProxy(ExecutionContext ctx,
Object record,
Property... properties)
Creates change proxy on this record holder.
|
RecordHolder |
RecordProxySet.createProxy(ExecutionContext ctx,
RecordProxySetHolder proxySet,
RecordHolder record,
Property... properties)
Creates change proxy on this record holder.
|
void |
RecordProxySet.createProxyOfProperties(ExecutionContext ctx,
RecordHolder record,
Property... properties)
Creates proxies of properties of the record.
|
void |
RecordProxySet.createProxyOfPropertiesEmptyToAll(ExecutionContext ctx,
RecordProxySetHolder proxySet,
RecordHolder record,
Property... properties)
Creates proxies of properties of the record.
|
Modifier and Type | Method and Description |
---|---|
ReferenceHolder |
RecordNamespace.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
ReferenceHolder |
NoBaseContextNamespace.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
ReferenceHolder |
ContextNamespace.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
Modifier and Type | Method and Description |
---|---|
Property |
TestFunctionsImpl.getProperty(ExecutionContext ctx,
ReferenceHolder ref) |
Property |
TestFunctions.getProperty(ExecutionContext ctx,
ReferenceHolder ref) |
Modifier and Type | Method and Description |
---|---|
Collection<com.whitestein.lsps.model.validation.ConstraintModel> |
RecordValidator.getConstraints(RecordHolder record,
Property property)
Returns a collection of constraints defined on the given record (property).
|
List<RecordHolder> |
RecordValidator.validate(RecordHolder record,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given record.
|
Modifier and Type | Method and Description |
---|---|
Property |
ReferenceExpressionHolder.getProperty() |
Modifier and Type | Method and Description |
---|---|
List<Property> |
ReferenceExpressionHolder.getAdditionalProperties() |
Modifier and Type | Method and Description |
---|---|
ReferenceHolder |
MockHolderFactory.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
ReferenceHolder |
HolderFactory.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin)
Returns new reference corresponding to given reference expression.
|
ReferenceHolder |
AbstractMockNamespace.createReference(ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> properties,
ClosureOrigin origin) |
Constructor and Description |
---|
ReferenceExpressionHolder(Namespace namespace,
ReferenceType referenceType,
ReferenceExpression referenceExpression,
List<Property> additionalProperties,
ClosureOrigin origin)
Creates new instance of
ReferenceExpressionHolder . |
Modifier and Type | Method and Description |
---|---|
Property |
Path.getFirst() |
Property |
Path.getLast() |
Property |
ReferenceHolder.getProperty()
Returns last referenced property if a property is referenced.
|
Modifier and Type | Method and Description |
---|---|
List<Property> |
ReferenceHolder.getAdditionalProperties()
Returns additional properties that are added to the referenced path.
|
List<Property> |
Path.getProperties()
Returns list of properties.
|
Constructor and Description |
---|
Path(Property... properties)
Creates new instances.
|
Constructor and Description |
---|
Path(List<Property> properties)
Creates new instances.
|
Modifier and Type | Method and Description |
---|---|
Property |
PropertyFunctions.getProperty(ExecutionContext ctx,
Type type,
String name)
Returns a property with a given name or
null
if there is no property with a given name. |
Modifier and Type | Method and Description |
---|---|
void |
ActionFunctionsImpl.createProxyOfProperties(ExecutionContext ctx,
RecordHolder record,
Property... properties) |
void |
ActionFunctions.createProxyOfProperties(ExecutionContext ctx,
RecordHolder record,
Property... properties)
Creates change proxy for all object referenced by the property and sets the proxy values to the property.
|
String |
LabelFunctions.getPropertyLabel(ExecutionContext ctx,
Property property)
Returns the label of the given property.
|
MapHolder |
PropertyFunctions.getPropertyMetadata(ExecutionContext ctx,
Property property)
Returns the property metadata.
|
String |
PropertyFunctions.getPropertyName(ExecutionContext ctx,
Property property)
Returns a property name (a name of the field or association).
|
RecordType |
PropertyFunctions.getPropertyRecordType(ExecutionContext ctx,
Property property)
Returns the record type in which this property is declared.
|
ReferenceHolder |
PropertyFunctions.getPropertyReference(ExecutionContext ctx,
ReferenceHolder reference,
Property... properties)
Returns the reference to the object defined by the last property parameter.
|
Type |
PropertyFunctions.getPropertyType(ExecutionContext ctx,
Property property)
Returns a property type.
|
Object |
PropertyFunctions.getPropertyValue(ExecutionContext ctx,
RecordHolder record,
Property property)
Returns the value of the given property of the given record object.
|
boolean |
PropertyFunctions.isAutogenerated(ExecutionContext ctx,
Property property)
Returns
true if the property is autogenerated. |
boolean |
PropertyFunctions.isPrimaryKey(ExecutionContext ctx,
Property property)
Returns true if this property is a part of the primary key.
|
boolean |
PropertyFunctions.isVersion(ExecutionContext ctx,
Property property)
Returns
true if the property is a version field. |
Object |
PropertyFunctions.setPropertyValue(ExecutionContext ctx,
RecordHolder record,
Property property,
Object value)
Sets the value of the given property of the given record object.
|
ListHolder |
ValidationFunctions.validate(ExecutionContext ctx,
CollectionHolder collection,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given collection of records.
|
ListHolder |
ValidationFunctions.validate(ExecutionContext ctx,
RecordHolder record,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given record.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.