Class Constraint.Domain
A class which provides a domain constraint for a Fabric connection.
Use HTTPFabricConnection#getDomainConstraint method to get
a 'Constraint.Domain' object for the current Fabric connection.
Defined in: <D:\Programs\Neeve\Projects\NeeveBuild16\stjsapi/src/main/webapp/js\constraint\Domain.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Constraint.Domain(domainName, eventScope)
Represents a domain constraint for a Fabric connection.
|
Method Attributes | Method Name and Description |
---|---|
void |
addBigDecimalValue(value)
Adds the specified value to the domain constraint
|
void |
addByteValue(value)
Adds the specified value to the domain constraint
|
void |
addDateValue(value)
Adds the specified value to the domain constraint
|
void |
addDoubleValue(value)
Adds the specified value to the domain constraint
|
void |
addFloatValue(value)
Adds the specified value to the domain constraint
|
void |
addIntValue(value)
Adds the specified value to the domain constraint
|
void |
addLongValue(value)
Adds the specified value to the domain constraint
|
void |
addShortValue(value)
Adds the specified value to the domain constraint
|
void |
addStringValue(value)
Adds the specified value to the domain constraint
|
boolean |
containsBigDecimalValue(value)
Checks if the constraint contains the specified value
|
boolean |
containsByteValue(value)
Checks if the constraint contains the specified value
|
boolean |
containsDateValue(value)
Checks if the constraint contains the specified value
|
boolean |
containsDoubleValue(value)
Checks if the constraint contains the specified value
|
boolean |
containsFloatValue(value)
Checks if the constraint contains the specified value
|
boolean |
containsIntValue(value)
Checks if the constraint contains the specified value
|
boolean |
containsLongValue(value)
Checks if the constraint contains the specified value
|
boolean |
containsShortValue(value)
Checks if the constraint contains the specified value
|
boolean |
containsStringValue(value)
Checks if the constraint contains the specified value
|
number |
Returns a list of all the big decimal values of the domain constraint
|
number |
Returns a list of all the byte values of the domain constraint
|
String |
Returns a list of all the date values of the domain constraint
|
number |
Returns a list of all the double values of the domain constraint
|
number |
Returns a list of all the float values of the domain constraint
|
number |
Returns a list of all the integer values of the domain constraint
|
number |
Returns a list of all the long values of the domain constraint
|
number |
Returns a list of all the short values of the domain constraint
|
String |
Returns a list of all the string values of the domain constraint
|
void |
removeBigDecimalValue(value)
Removes the specified value from the domain constraint
|
void |
removeByteValue(value)
Removes the specified value from the domain constraint
|
void |
removeDateValue(value)
Removes the specified value from the domain constraint
|
void |
removeDoubleValue(value)
Removes the specified value from the domain constraint
|
void |
removeFloatValue(value)
Removes the specified value from the domain constraint
|
void |
removeIntValue(value)
Removes the specified value from the domain constraint
|
void |
removeLongValue(value)
Removes the specified value from the domain constraint
|
void |
removeShortValue(value)
Removes the specified value from the domain constraint
|
void |
removeStringValue(value)
Removes the specified value from the domain constraint
|
Class Detail
Constraint.Domain(domainName, eventScope)
Represents a domain constraint for a Fabric connection.
- Parameters:
- {String} domainName
- The name of the domain constraint to be created
- {String} eventScope
- The data scope of the domain constraint to be created. Possible values: 'LOCAL' (the current component scope), 'OBSERVABLE' (the current Fabric node scope), 'GLOBAL' (the whole Fabric scope).
Method Detail
addBigDecimalValue(value)
Adds the specified value to the domain constraint
- Parameters:
- {number} value
- The value to be added to the constraint
addByteValue(value)
Adds the specified value to the domain constraint
- Parameters:
- {number} value
- The value to be added to the constraint
addDateValue(value)
Adds the specified value to the domain constraint
- Parameters:
- {String} value
- The value to be added to the constraint. The date format is 'MM/DD/YYYY HH:mm:ss'
addDoubleValue(value)
Adds the specified value to the domain constraint
- Parameters:
- {number} value
- The value to be added to the constraint
addFloatValue(value)
Adds the specified value to the domain constraint
- Parameters:
- {number} value
- The value to be added to the constraint
addIntValue(value)
Adds the specified value to the domain constraint
- Parameters:
- {number} value
- The value to be added to the constraint
addLongValue(value)
Adds the specified value to the domain constraint
- Parameters:
- {number} value
- The value to be added to the constraint
addShortValue(value)
Adds the specified value to the domain constraint
- Parameters:
- {number} value
- The value to be added to the constraint
addStringValue(value)
Adds the specified value to the domain constraint
- Parameters:
- {String} value
- The value to be added to the constraint
{boolean}
containsBigDecimalValue(value)
Checks if the constraint contains the specified value
- Parameters:
- {number} value
- The value to be checked in the constraint
- Returns:
- True if the constraint contains the specified value, false otherwise
{boolean}
containsByteValue(value)
Checks if the constraint contains the specified value
- Parameters:
- {number} value
- The value to be checked in the constraint
- Returns:
- True if the constraint contains the specified value, false otherwise
{boolean}
containsDateValue(value)
Checks if the constraint contains the specified value
- Parameters:
- {String} value
- The value to be checked in the constraint. The date format is 'MM/DD/YYYY HH:mm:ss'
- Returns:
- True if the constraint contains the specified value, false otherwise
{boolean}
containsDoubleValue(value)
Checks if the constraint contains the specified value
- Parameters:
- {number} value
- The value to be checked in the constraint
- Returns:
- True if the constraint contains the specified value, false otherwise
{boolean}
containsFloatValue(value)
Checks if the constraint contains the specified value
- Parameters:
- {number} value
- The value to be checked in the constraint
- Returns:
- True if the constraint contains the specified value, false otherwise
{boolean}
containsIntValue(value)
Checks if the constraint contains the specified value
- Parameters:
- {number} value
- The value to be checked in the constraint
- Returns:
- True if the constraint contains the specified value, false otherwise
{boolean}
containsLongValue(value)
Checks if the constraint contains the specified value
- Parameters:
- {number} value
- The value to be checked in the constraint
- Returns:
- True if the constraint contains the specified value, false otherwise
{boolean}
containsShortValue(value)
Checks if the constraint contains the specified value
- Parameters:
- {number} value
- The value to be checked in the constraint
- Returns:
- True if the constraint contains the specified value, false otherwise
{boolean}
containsStringValue(value)
Checks if the constraint contains the specified value
- Parameters:
- {String} value
- The value to be checked in the constraint
- Returns:
- True if the constraint contains the specified value, false otherwise
{number[]}
listBigDecimalValues()
Returns a list of all the big decimal values of the domain constraint
- Returns:
- A list of the big decimal values
{number[]}
listByteValues()
Returns a list of all the byte values of the domain constraint
- Returns:
- A list of the byte values
{String[]}
listDateValues()
Returns a list of all the date values of the domain constraint
- Returns:
- A list of the date values. The date format is 'MM/DD/YYYY HH:mm:ss'
{number[]}
listDoubleValues()
Returns a list of all the double values of the domain constraint
- Returns:
- A list of the double values
{number[]}
listFloatValues()
Returns a list of all the float values of the domain constraint
- Returns:
- A list of the float values
{number[]}
listIntValues()
Returns a list of all the integer values of the domain constraint
- Returns:
- A list of the integer values
{number[]}
listLongValues()
Returns a list of all the long values of the domain constraint
- Returns:
- A list of the long values
{number[]}
listShortValues()
Returns a list of all the short values of the domain constraint
- Returns:
- A list of the short values
{String[]}
listStringValues()
Returns a list of all the string values of the domain constraint
- Returns:
- A list of the string values
removeBigDecimalValue(value)
Removes the specified value from the domain constraint
- Parameters:
- {number} value
- The value to be removed from the constraint
removeByteValue(value)
Removes the specified value from the domain constraint
- Parameters:
- {number} value
- The value to be removed from the constraint
removeDateValue(value)
Removes the specified value from the domain constraint
- Parameters:
- {String} value
- The value to be removed from the constraint. The date format is 'MM/DD/YYYY HH:mm:ss'
removeDoubleValue(value)
Removes the specified value from the domain constraint
- Parameters:
- {number} value
- The value to be removed from the constraint
removeFloatValue(value)
Removes the specified value from the domain constraint
- Parameters:
- {number} value
- The value to be removed from the constraint
removeIntValue(value)
Removes the specified value from the domain constraint
- Parameters:
- {number} value
- The value to be removed from the constraint
removeLongValue(value)
Removes the specified value from the domain constraint
- Parameters:
- {number} value
- The value to be removed from the constraint
removeShortValue(value)
Removes the specified value from the domain constraint
- Parameters:
- {number} value
- The value to be removed from the constraint
removeStringValue(value)
Removes the specified value from the domain constraint
- Parameters:
- {String} value
- The value to be removed from the constraint