new abstract ArchBaseFilterClausePropertyValue(propertyName, value, propertyMustExist)
The Architect Scripting class that supplies property name and value pairing information for property / name clauses. The clauses themselves handle the actual equality, inequality comparisons but this class holds what two things are being compared in the clause. Note: Do not attempt to create an instance of this class directly. Instances of this class will be created automatically by Architect Scripting as needed.
Parameters:
| Name | Type | Description |
|---|---|---|
propertyName |
string | the name of the property that contains the value you want to compare |
value |
any | the value to compare against |
propertyMustExist |
boolean | whether or not the property must exist on the object being checked when evaluating the clause |
Extends
Members
-
static, readonly displayTypeName :string
-
Returns the display type name string 'ArchBaseFilterClausePropertyValue'.
-
readonly isArchBaseFilterClause :boolean
-
Returns true indicating that this is an ArchBaseFilterClause instance.
- Inherited From:
-
readonly isArchBaseFilterClausePropertyValue :boolean
-
Returns true indicating that this is an ArchBaseFilterClausePropertyValue instance.
-
readonly isArchBaseFilterMatching :boolean
-
Returns true indicating that this is an ArchBaseObjectFilterCommon instance.
- Inherited From:
-
readonly value :string
-
Returns the property value that this filter clause will check.
Methods
-
isMatch(archBaseObjectToCheck) → {boolean}
-
This function returns whether or not the supplied ArchBaseObject instance is a match for the inheriting filter object type. For the
ArchFilterClauseContainerclass, which you'll note thatArchFilterObjectinherits from too, if there are no filter clauses in them the isMatch handling will return true.Parameters:
Name Type Description archBaseObjectToCheckArchBaseObject the ArchBaseObject instance you wish to check to see if it's a match.
Returns:
boolean- Inherited From: