================== EClass LabelQuery ================== Defines a label query. Label queries retrieve strings from the model that are fills the placeholders specified by aliases in label segments. :ePackage: :doc:`displayableObjects <./EPackage_displayableObjects>` :contained by: :doc:`LabelSegment <./EClass_displayableObjects_LabelSegment>` EAttributes ############# **alias** (EString) Defines the query alias. All occurences of the alias tag {alias} is replaced in the label segment. **condition** (EString) Defines a condition that is tested if isConditional is set to true. If the condition is met the query is executed, otherwise the default value is returned. **defaultValue** (EString) Defines the default value of the label. This value is returned if the condition is not met. **isConditional** (EBoolean) Defines a condition. The condition must be EOQ query string. The query must evaluate to a Boolean value. **prefix** (EString) Defines a prefix that is prepended to the query result. **queryResultFormat** (EString) This attribute is undocumented. **queryStr** (EString) Defines the query string. **queryTarget** (:doc:`Target <./EENum_common_Target>`) Defines the query target. **queryTargetAlias** (EString) References the target by alias. The target alias is only used if a CUSTOM query target is selected. You can only use an alias that already exists. Existing aliases are all aliases of objects that this label is nested in. **suffix** (EString) Defines a suffix that is appended to the query result. EReferences ############# This eClass contains no references.