} else { Instance instance = (Instance) dicValue.eContainer().eContainer(); DictionaryAttribute dicAtt = instance.getTypeDefinition().getDictionaryType().findAttributesByID(dicValue.getName()); if (dicAtt.getDefaultValue() != null && !dicAtt.getDefaultValue().equals("")) { valueToInject = dicAtt.getDefaultValue();
private void debug(Value value) { Instance instance = (Instance) value.eContainer().eContainer(); DictionaryAttribute attr = instance.getTypeDefinition().getDictionaryType().findAttributesByID(value.getName()); if (attr.getFragmentDependant()) { Log.debug("Update param for {}.{}/{} = '{}'", instance.getName(), value.getName(), ((NamedElement) value.eContainer()).getName(), value.getValue()); } else { Log.debug("Update param for {}.{} = '{}'", instance.getName(), value.getName(), value.getValue()); } }
if (target.getTypeDefinition().getDictionaryType() != null) { final DictionaryAttribute dicAtt = target.getTypeDefinition().getDictionaryType() .findAttributesByID(propName); if (dicAtt == null) { throw new KevScriptError( if (target.getTypeDefinition().getDictionaryType() != null) { final DictionaryAttribute dicAtt = target.getTypeDefinition().getDictionaryType() .findAttributesByID(propName); if (dicAtt == null) { throw new KevScriptError(
if (target.getTypeDefinition().getDictionaryType() != null) { final DictionaryAttribute dicAtt = target.getTypeDefinition().getDictionaryType() .findAttributesByID(propName); if (dicAtt == null) { throw new KevScriptException( if (target.getTypeDefinition().getDictionaryType() != null) { final DictionaryAttribute dicAtt = target.getTypeDefinition().getDictionaryType() .findAttributesByID(propName); if (dicAtt == null) { throw new KevScriptException(
if (previousInstance != null) { DictionaryType dt = instance.getTypeDefinition().getDictionaryType(); DictionaryAttribute dicAtt = dt.findAttributesByID(dicValue.getName()); if (dicAtt != null && dicAtt.getDefaultValue() != null && dicAtt.getDefaultValue().equals(dicValue.getValue())) {