@Test public void testCopy() { final ImportedValues source = new ImportedValues( NAMESPACE, new LocationURI(LOCATION_URI), IMPORT_TYPE, IMPORTED_ELEMENT, new ExpressionLanguage(EXPRESSION_LANGUAGE) ); final ImportedValues target = source.copy(); assertNotNull(target); assertEquals(NAMESPACE, target.getNamespace()); assertEquals(LOCATION_URI, target.getLocationURI().getValue()); assertEquals(IMPORT_TYPE, target.getImportType()); assertEquals(IMPORTED_ELEMENT, target.getImportedElement()); assertEquals(EXPRESSION_LANGUAGE, target.getExpressionLanguage().getValue()); }
public ImportedValues copy() { ImportedValues clonedImportedValues = new ImportedValues(); clonedImportedValues.id = new Id(); clonedImportedValues.namespace = namespace; clonedImportedValues.locationURI = Optional.ofNullable(locationURI).map(LocationURI::copy).orElse(null); clonedImportedValues.importType = importType; clonedImportedValues.importedElement = importedElement; clonedImportedValues.expressionLanguage = Optional.ofNullable(expressionLanguage).map(ExpressionLanguage::copy).orElse(null); return clonedImportedValues; }
ImportedValues extends Import implements DMNPropertySet,
                                                      DomainObject { public ImportedValues copy() { ImportedValues clonedImportedValues = new ImportedValues(); clonedImportedValues.id = new Id(); clonedImportedValues.namespace = namespace; clonedImportedValues.locationURI = Optional.ofNullable(locationURI).map(LocationURI::copy).orElse(null); clonedImportedValues.importType = importType; clonedImportedValues.importedElement = importedElement; clonedImportedValues.expressionLanguage = Optional.ofNullable(expressionLanguage).map(ExpressionLanguage::copy).orElse(null); return clonedImportedValues; } }
ImportedValues extends Import implements DMNPropertySet,
                                                      DomainObject { public ImportedValues copy() { ImportedValues clonedImportedValues = new ImportedValues(); clonedImportedValues.id = new Id(); clonedImportedValues.namespace = namespace; clonedImportedValues.locationURI = Optional.ofNullable(locationURI).map(LocationURI::copy).orElse(null); clonedImportedValues.importType = importType; clonedImportedValues.importedElement = importedElement; clonedImportedValues.expressionLanguage = Optional.ofNullable(expressionLanguage).map(ExpressionLanguage::copy).orElse(null); return clonedImportedValues; } ImportedValues();  ImportedValues(final String namespace,
                          final LocationURI locationURI,
                          final String importType,
                          final String importedElement,
                          final ExpressionLanguage expressionLanguage); }
ImportedValues extends Import implements DMNPropertySet,
                                                      DomainObject { public ImportedValues copy() { ImportedValues clonedImportedValues = new ImportedValues(); clonedImportedValues.id = new Id(); clonedImportedValues.namespace = namespace; clonedImportedValues.locationURI = Optional.ofNullable(locationURI).map(LocationURI::copy).orElse(null); clonedImportedValues.importType = importType; clonedImportedValues.importedElement = importedElement; clonedImportedValues.expressionLanguage = Optional.ofNullable(expressionLanguage).map(ExpressionLanguage::copy).orElse(null); return clonedImportedValues; } ImportedValues();  ImportedValues(final String namespace,
                          final LocationURI locationURI,
                          final String importType,
                          final String importedElement,
                          final ExpressionLanguage expressionLanguage); ImportedValues copy(); String getStunnerCategory(); Set<String> getStunnerLabels(); String getImportedElement(); void setImportedElement(final String importedElement); ExpressionLanguage getExpressionLanguage(); void setExpressionLanguage(final ExpressionLanguage expressionLanguage); @Override String getDomainObjectUUID(); @Override String getDomainObjectNameTranslationKey(); @Override boolean equals(final Object o); @Override int hashCode(); }
ImportedValues extends Import implements DMNPropertySet,
                                                      DomainObject { public ImportedValues copy() { ImportedValues clonedImportedValues = new ImportedValues(); clonedImportedValues.id = new Id(); clonedImportedValues.namespace = namespace; clonedImportedValues.locationURI = Optional.ofNullable(locationURI).map(LocationURI::copy).orElse(null); clonedImportedValues.importType = importType; clonedImportedValues.importedElement = importedElement; clonedImportedValues.expressionLanguage = Optional.ofNullable(expressionLanguage).map(ExpressionLanguage::copy).orElse(null); return clonedImportedValues; } ImportedValues();  ImportedValues(final String namespace,
                          final LocationURI locationURI,
                          final String importType,
                          final String importedElement,
                          final ExpressionLanguage expressionLanguage); ImportedValues copy(); String getStunnerCategory(); Set<String> getStunnerLabels(); String getImportedElement(); void setImportedElement(final String importedElement); ExpressionLanguage getExpressionLanguage(); void setExpressionLanguage(final ExpressionLanguage expressionLanguage); @Override String getDomainObjectUUID(); @Override String getDomainObjectNameTranslationKey(); @Override boolean equals(final Object o); @Override int hashCode();  }