Quintiq file version 2.0
|
#parent: #root
|
Constraint CreatedNameIsValidIdentifier
|
{
|
#keys: '2[142876.9.1249304656][142876.9.1249304657]'
|
ConstraintXML:
|
[*
|
<?xml version="1.0" encoding="UTF-16"?>
|
<GEBConstraintElement xmlns="http://www.quintiq.com/GEB/GEBConstraintElement" Key="@CreatedNameIsValidIdentifier1" TargetType="TG_UIField" ValueType="Boolean" ModelElement="TG_UIField.CreatedNameIsValidIdentifier" TargetColumn="@CreatedNameIsValidIdentifier2">
|
<Name>CreatedNameIsValidIdentifier</Name>
|
<Description></Description>
|
<DefinitionID>[142876.9.1249304656]</DefinitionID>
|
<ConstraintKind>Soft</ConstraintKind>
|
<Priority>0</Priority>
|
<ConstraintText>CreatedName (@this.CreatedName()@) is not a valid identifier.</ConstraintText>
|
<GEBConstraintElementData Key="@1">
|
<DefaultColumnPrefix></DefaultColumnPrefix>
|
<ColumnPostfix></ColumnPostfix>
|
<GEBProcessColumn Key="@CreatedNameIsValidIdentifier2" ElementType="TG_UIField" ValueType="Boolean">
|
<ColumnID>[142876.9.510933308]</ColumnID>
|
<BaseName>CreatedNameIsValidIdentifier</BaseName>
|
<Name>CreatedNameIsValidIdentifier</Name>
|
<Title>NewConstraint</Title>
|
<IsTarget>true</IsTarget>
|
<NameHasBeenSet>false</NameHasBeenSet>
|
<ColumnFinal>False</ColumnFinal>
|
<GEBDerivation Key="@2">
|
<GEBDerivationBase Key="@3" TargetType="TG_UIField">
|
<ColumnID>[142876.9.510933308]</ColumnID>
|
<GEBNodeDerivation Key="@4">
|
<Operation>FirstExpression</Operation>
|
<Conditional>false</Conditional>
|
<Multiple>false</Multiple>
|
<AllowWildcards>false</AllowWildcards>
|
<GEBNodeDerivationExpression Key="@5">
|
<GEBNodeDerivationConditionBody Key="@6">
|
<ExpressionText></ExpressionText>
|
<Converter>
|
<ZeroConverter Key="@7">
|
<IsStandard>true</IsStandard>
|
<IsISO>false</IsISO>
|
<IsCustom>false</IsCustom>
|
<ConversionType>0</ConversionType>
|
</ZeroConverter>
|
</Converter>
|
</GEBNodeDerivationConditionBody>
|
<GEBNodeDerivationExpressionBody Key="@8">
|
<ExpressionText>return this.CreatedName() = ''
|
or this.CreatedName().IsIdentifier();</ExpressionText>
|
<Converter>
|
<ZeroConverter Key="@9">
|
<IsStandard>true</IsStandard>
|
<IsISO>false</IsISO>
|
<IsCustom>false</IsCustom>
|
<ConversionType>0</ConversionType>
|
</ZeroConverter>
|
</Converter>
|
</GEBNodeDerivationExpressionBody>
|
</GEBNodeDerivationExpression>
|
</GEBNodeDerivation>
|
</GEBDerivationBase>
|
</GEBDerivation>
|
</GEBProcessColumn>
|
</GEBConstraintElementData>
|
</GEBConstraintElement>
|
*]
|
}
|