Classes
Members
booleanAttributeNames :Set.<string>
The set of boolean attribute names this schema entry has.
Type:
- Set.<string>
- Source:
booleanAttributes :Set.<SchemaAttribute>
The set of boolean attributes this schema entry has.
Type:
- Set.<SchemaAttribute>
- Source:
valueAttributeNames :Map.<string, *>
The collection of value attribute names this schema entry has.
Type:
- Map.<string, *>
- Source:
valueAttributes :Map.<SchemaAttribute, *>
The collection of value attributes this schema entry has.
Type:
- Map.<SchemaAttribute, *>
- Source:
Methods
getAttributeValue(attributeName, alwaysReturnArray) → {*}
Retrieve the value of a value attribute (by name) on this schema entry.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
attributeName |
string | The attribute whose value should be returned. | |
alwaysReturnArray |
boolean | false | Whether to return a singleton array instead of a scalar value. |
- Source:
Returns:
The value of the attribute.
- Type
- *
hasAttribute(attributeName) → {boolean}
Whether this schema entry has this attribute (by name).
Parameters:
Name | Type | Description |
---|---|---|
attributeName |
string | The attribute to check for. |
- Source:
Returns:
Whether this schema entry has this attribute.
- Type
- boolean
hasBooleanAttribute(attributeName) → {boolean}
Whether this schema entry has this boolean attribute (by name).
Parameters:
Name | Type | Description |
---|---|---|
attributeName |
string | The attribute to check for. |
- Source:
Returns:
Whether this schema entry has this attribute.
- Type
- boolean