From 9bb622bbe6afdd8e7908b2ed8bd31b0ead0313d2 Mon Sep 17 00:00:00 2001 From: eparovyshnaya Date: Wed, 11 Nov 2020 14:01:07 +0300 Subject: [PATCH] Bug 568711 Design model for grant acquisition Add missing license headers Signed-off-by: eparovyshnaya --- .../GrantAcqisitionItemProvider.java | 19 ++- .../floating/model/api/GrantAcqisition.java | 100 ++++++----- .../model/impl/GrantAcqisitionImpl.java | 160 ++++++++++-------- 3 files changed, 157 insertions(+), 122 deletions(-) diff --git a/bundles/org.eclipse.passage.lic.floating.edit/src-gen/org/eclipse/passage/lic/floating/edit/providers/GrantAcqisitionItemProvider.java b/bundles/org.eclipse.passage.lic.floating.edit/src-gen/org/eclipse/passage/lic/floating/edit/providers/GrantAcqisitionItemProvider.java index 3241f57b2..e9e87f8ed 100644 --- a/bundles/org.eclipse.passage.lic.floating.edit/src-gen/org/eclipse/passage/lic/floating/edit/providers/GrantAcqisitionItemProvider.java +++ b/bundles/org.eclipse.passage.lic.floating.edit/src-gen/org/eclipse/passage/lic/floating/edit/providers/GrantAcqisitionItemProvider.java @@ -1,5 +1,15 @@ -/** - */ +/******************************************************************************* + * Copyright (c) 2020 ArSysOp + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * https://www.eclipse.org/legal/epl-2.0/. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ package org.eclipse.passage.lic.floating.edit.providers; import java.util.Collection; @@ -7,9 +17,7 @@ import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.common.util.ResourceLocator; - import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; import org.eclipse.emf.edit.provider.IItemLabelProvider; @@ -20,11 +28,8 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - import org.eclipse.passage.lic.floating.edit.FLoatingLicensesEditPlugin; - import org.eclipse.passage.lic.floating.model.api.GrantAcqisition; - import org.eclipse.passage.lic.floating.model.meta.FloatingPackage; /** diff --git a/bundles/org.eclipse.passage.lic.floating.model/src-gen/org/eclipse/passage/lic/floating/model/api/GrantAcqisition.java b/bundles/org.eclipse.passage.lic.floating.model/src-gen/org/eclipse/passage/lic/floating/model/api/GrantAcqisition.java index 4dda622b2..ef108c83e 100644 --- a/bundles/org.eclipse.passage.lic.floating.model/src-gen/org/eclipse/passage/lic/floating/model/api/GrantAcqisition.java +++ b/bundles/org.eclipse.passage.lic.floating.model/src-gen/org/eclipse/passage/lic/floating/model/api/GrantAcqisition.java @@ -1,5 +1,15 @@ -/** - */ +/******************************************************************************* + * Copyright (c) 2020 ArSysOp + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * https://www.eclipse.org/legal/epl-2.0/. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ package org.eclipse.passage.lic.floating.model.api; import java.util.Date; @@ -7,19 +17,23 @@ import org.eclipse.emf.ecore.EObject; /** - * - * A representation of the model object 'Grant Acqisition'. - * + * A representation of the model object 'Grant + * Acqisition'. * *

* The following features are supported: *

* * * @see org.eclipse.passage.lic.floating.model.meta.FloatingPackage#getGrantAcqisition() @@ -28,9 +42,9 @@ */ public interface GrantAcqisition extends EObject { /** - * Returns the value of the 'Identifier' attribute. - * - * + * Returns the value of the 'Identifier' attribute. + * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) * @see org.eclipse.passage.lic.floating.model.meta.FloatingPackage#getGrantAcqisition_Identifier() @@ -40,9 +54,11 @@ public interface GrantAcqisition extends EObject { String getIdentifier(); /** - * Sets the value of the '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getIdentifier Identifier}' attribute. - * - * + * Sets the value of the + * '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getIdentifier + * Identifier}' attribute. + * * @param value the new value of the 'Identifier' attribute. * @see #getIdentifier() * @generated @@ -50,9 +66,9 @@ public interface GrantAcqisition extends EObject { void setIdentifier(String value); /** - * Returns the value of the 'Feature' attribute. - * - * + * Returns the value of the 'Feature' attribute. + * * @return the value of the 'Feature' attribute. * @see #setFeature(String) * @see org.eclipse.passage.lic.floating.model.meta.FloatingPackage#getGrantAcqisition_Feature() @@ -62,9 +78,10 @@ public interface GrantAcqisition extends EObject { String getFeature(); /** - * Sets the value of the '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getFeature Feature}' attribute. - * - * + * Sets the value of the + * '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getFeature + * Feature}' attribute. + * * @param value the new value of the 'Feature' attribute. * @see #getFeature() * @generated @@ -72,9 +89,9 @@ public interface GrantAcqisition extends EObject { void setFeature(String value); /** - * Returns the value of the 'Grant' attribute. - * - * + * Returns the value of the 'Grant' attribute. + * * @return the value of the 'Grant' attribute. * @see #setGrant(String) * @see org.eclipse.passage.lic.floating.model.meta.FloatingPackage#getGrantAcqisition_Grant() @@ -84,9 +101,10 @@ public interface GrantAcqisition extends EObject { String getGrant(); /** - * Sets the value of the '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getGrant Grant}' attribute. - * - * + * Sets the value of the + * '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getGrant + * Grant}' attribute. + * * @param value the new value of the 'Grant' attribute. * @see #getGrant() * @generated @@ -94,9 +112,9 @@ public interface GrantAcqisition extends EObject { void setGrant(String value); /** - * Returns the value of the 'User' attribute. - * - * + * Returns the value of the 'User' attribute. + * * @return the value of the 'User' attribute. * @see #setUser(String) * @see org.eclipse.passage.lic.floating.model.meta.FloatingPackage#getGrantAcqisition_User() @@ -106,9 +124,10 @@ public interface GrantAcqisition extends EObject { String getUser(); /** - * Sets the value of the '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getUser User}' attribute. - * - * + * Sets the value of the + * '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getUser + * User}' attribute. + * * @param value the new value of the 'User' attribute. * @see #getUser() * @generated @@ -116,9 +135,9 @@ public interface GrantAcqisition extends EObject { void setUser(String value); /** - * Returns the value of the 'Created' attribute. - * - * + * Returns the value of the 'Created' attribute. + * * @return the value of the 'Created' attribute. * @see #setCreated(Date) * @see org.eclipse.passage.lic.floating.model.meta.FloatingPackage#getGrantAcqisition_Created() @@ -128,9 +147,10 @@ public interface GrantAcqisition extends EObject { Date getCreated(); /** - * Sets the value of the '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getCreated Created}' attribute. - * - * + * Sets the value of the + * '{@link org.eclipse.passage.lic.floating.model.api.GrantAcqisition#getCreated + * Created}' attribute. + * * @param value the new value of the 'Created' attribute. * @see #getCreated() * @generated diff --git a/bundles/org.eclipse.passage.lic.floating.model/src-gen/org/eclipse/passage/lic/floating/model/impl/GrantAcqisitionImpl.java b/bundles/org.eclipse.passage.lic.floating.model/src-gen/org/eclipse/passage/lic/floating/model/impl/GrantAcqisitionImpl.java index 3ff456c01..21c89fec7 100644 --- a/bundles/org.eclipse.passage.lic.floating.model/src-gen/org/eclipse/passage/lic/floating/model/impl/GrantAcqisitionImpl.java +++ b/bundles/org.eclipse.passage.lic.floating.model/src-gen/org/eclipse/passage/lic/floating/model/impl/GrantAcqisitionImpl.java @@ -1,43 +1,53 @@ -/** - */ +/******************************************************************************* + * Copyright (c) 2020 ArSysOp + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * https://www.eclipse.org/legal/epl-2.0/. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ package org.eclipse.passage.lic.floating.model.impl; import java.util.Date; import java.util.Objects; import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.ecore.EClass; - import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - import org.eclipse.passage.lic.floating.model.api.GrantAcqisition; - import org.eclipse.passage.lic.floating.model.meta.FloatingPackage; /** - * - * An implementation of the model object 'Grant Acqisition'. - * + * An implementation of the model object 'Grant + * Acqisition'. *

* The following features are implemented: *

* * * @generated */ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements GrantAcqisition { /** - * The default value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The default value of the '{@link #getIdentifier() Identifier}' + * attribute. + * * @see #getIdentifier() * @generated * @ordered @@ -45,9 +55,9 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements protected static final String IDENTIFIER_EDEFAULT = null; /** - * The cached value of the '{@link #getIdentifier() Identifier}' attribute. - * - * + * The cached value of the '{@link #getIdentifier() Identifier}' + * attribute. + * * @see #getIdentifier() * @generated * @ordered @@ -56,8 +66,8 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements /** * The default value of the '{@link #getFeature() Feature}' attribute. - * - * + * + * * @see #getFeature() * @generated * @ordered @@ -66,8 +76,8 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements /** * The cached value of the '{@link #getFeature() Feature}' attribute. - * - * + * + * * @see #getFeature() * @generated * @ordered @@ -75,9 +85,9 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements private String feature = FEATURE_EDEFAULT; /** - * The default value of the '{@link #getGrant() Grant}' attribute. - * - * + * The default value of the '{@link #getGrant() Grant}' attribute. + * * @see #getGrant() * @generated * @ordered @@ -85,9 +95,9 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements protected static final String GRANT_EDEFAULT = null; /** - * The cached value of the '{@link #getGrant() Grant}' attribute. - * - * + * The cached value of the '{@link #getGrant() Grant}' attribute. + * * @see #getGrant() * @generated * @ordered @@ -95,9 +105,9 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements private String grant = GRANT_EDEFAULT; /** - * The default value of the '{@link #getUser() User}' attribute. - * - * + * The default value of the '{@link #getUser() User}' attribute. + * * @see #getUser() * @generated * @ordered @@ -105,9 +115,9 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements protected static final String USER_EDEFAULT = null; /** - * The cached value of the '{@link #getUser() User}' attribute. - * - * + * The cached value of the '{@link #getUser() User}' attribute. + * * @see #getUser() * @generated * @ordered @@ -116,8 +126,8 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements /** * The default value of the '{@link #getCreated() Created}' attribute. - * - * + * + * * @see #getCreated() * @generated * @ordered @@ -126,8 +136,8 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements /** * The cached value of the '{@link #getCreated() Created}' attribute. - * - * + * + * * @see #getCreated() * @generated * @ordered @@ -135,8 +145,8 @@ public class GrantAcqisitionImpl extends MinimalEObjectImpl.Container implements private Date created = CREATED_EDEFAULT; /** - * - * + * + * * @generated */ protected GrantAcqisitionImpl() { @@ -144,8 +154,8 @@ protected GrantAcqisitionImpl() { } /** - * - * + * + * * @generated */ @Override @@ -154,8 +164,8 @@ protected EClass eStaticClass() { } /** - * - * + * + * * @generated */ @Override @@ -164,8 +174,8 @@ public String getIdentifier() { } /** - * - * + * + * * @generated */ @Override @@ -179,8 +189,8 @@ public void setIdentifier(String newIdentifier) { } /** - * - * + * + * * @generated */ @Override @@ -189,8 +199,8 @@ public String getFeature() { } /** - * - * + * + * * @generated */ @Override @@ -204,8 +214,8 @@ public void setFeature(String newFeature) { } /** - * - * + * + * * @generated */ @Override @@ -214,8 +224,8 @@ public String getGrant() { } /** - * - * + * + * * @generated */ @Override @@ -229,8 +239,8 @@ public void setGrant(String newGrant) { } /** - * - * + * + * * @generated */ @Override @@ -239,8 +249,8 @@ public String getUser() { } /** - * - * + * + * * @generated */ @Override @@ -254,8 +264,8 @@ public void setUser(String newUser) { } /** - * - * + * + * * @generated */ @Override @@ -264,8 +274,8 @@ public Date getCreated() { } /** - * - * + * + * * @generated */ @Override @@ -279,8 +289,8 @@ public void setCreated(Date newCreated) { } /** - * - * + * + * * @generated */ @Override @@ -302,8 +312,8 @@ public Object eGet(int featureID, boolean resolve, boolean coreType) { } /** - * - * + * + * * @generated */ @Override @@ -331,8 +341,8 @@ public void eSet(int featureID, Object newValue) { } /** - * - * + * + * * @generated */ @Override @@ -360,8 +370,8 @@ public void eUnset(int featureID) { } /** - * - * + * + * * @generated */ @Override @@ -383,8 +393,8 @@ public boolean eIsSet(int featureID) { } /** - * - * + * + * * @generated */ @Override @@ -407,4 +417,4 @@ public String toString() { return result.toString(); } -} //GrantAcqisitionImpl +} // GrantAcqisitionImpl