Skip to content

Commit

Permalink
generated code
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Hoffmann <m.hoffmann@data-in-motion.biz>
  • Loading branch information
maho7791 committed Sep 3, 2023
1 parent 2fda2e4 commit c1bfd37
Show file tree
Hide file tree
Showing 26 changed files with 6,097 additions and 1 deletion.
1 change: 0 additions & 1 deletion org.gecko.playground.model/.gitignore
@@ -1,3 +1,2 @@
/bin/
/generated/
/src/
@@ -0,0 +1,160 @@
/*
*/
package org.gecko.playground.model.person;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

import org.osgi.annotation.versioning.ProviderType;

/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Address</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.gecko.playground.model.person.Address#getId <em>Id</em>}</li>
* <li>{@link org.gecko.playground.model.person.Address#getStreet <em>Street</em>}</li>
* <li>{@link org.gecko.playground.model.person.Address#getCity <em>City</em>}</li>
* <li>{@link org.gecko.playground.model.person.Address#getZip <em>Zip</em>}</li>
* <li>{@link org.gecko.playground.model.person.Address#getContext <em>Context</em>}</li>
* <li>{@link org.gecko.playground.model.person.Address#getTag <em>Tag</em>}</li>
* </ul>
*
* @see org.gecko.playground.model.person.PersonPackage#getAddress()
* @model
* @generated
*/
@ProviderType
public interface Address extends EObject {
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see org.gecko.playground.model.person.PersonPackage#getAddress_Id()
* @model id="true"
* @generated
*/
String getId();

/**
* Sets the value of the '{@link org.gecko.playground.model.person.Address#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);

/**
* Returns the value of the '<em><b>Street</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Street</em>' attribute.
* @see #setStreet(String)
* @see org.gecko.playground.model.person.PersonPackage#getAddress_Street()
* @model
* @generated
*/
String getStreet();

/**
* Sets the value of the '{@link org.gecko.playground.model.person.Address#getStreet <em>Street</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Street</em>' attribute.
* @see #getStreet()
* @generated
*/
void setStreet(String value);

/**
* Returns the value of the '<em><b>City</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>City</em>' attribute.
* @see #setCity(String)
* @see org.gecko.playground.model.person.PersonPackage#getAddress_City()
* @model
* @generated
*/
String getCity();

/**
* Sets the value of the '{@link org.gecko.playground.model.person.Address#getCity <em>City</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>City</em>' attribute.
* @see #getCity()
* @generated
*/
void setCity(String value);

/**
* Returns the value of the '<em><b>Zip</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Zip</em>' attribute.
* @see #setZip(String)
* @see org.gecko.playground.model.person.PersonPackage#getAddress_Zip()
* @model
* @generated
*/
String getZip();

/**
* Sets the value of the '{@link org.gecko.playground.model.person.Address#getZip <em>Zip</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Zip</em>' attribute.
* @see #getZip()
* @generated
*/
void setZip(String value);

/**
* Returns the value of the '<em><b>Context</b></em>' attribute.
* The default value is <code>"OTHER"</code>.
* The literals are from the enumeration {@link org.gecko.playground.model.person.ContextType}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Context</em>' attribute.
* @see org.gecko.playground.model.person.ContextType
* @see #setContext(ContextType)
* @see org.gecko.playground.model.person.PersonPackage#getAddress_Context()
* @model default="OTHER"
* @generated
*/
ContextType getContext();

/**
* Sets the value of the '{@link org.gecko.playground.model.person.Address#getContext <em>Context</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Context</em>' attribute.
* @see org.gecko.playground.model.person.ContextType
* @see #getContext()
* @generated
*/
void setContext(ContextType value);

/**
* Returns the value of the '<em><b>Tag</b></em>' reference list.
* The list contents are of type {@link org.gecko.playground.model.person.Tag}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Tag</em>' reference list.
* @see org.gecko.playground.model.person.PersonPackage#getAddress_Tag()
* @model
* @generated
*/
EList<Tag> getTag();

} // Address
@@ -0,0 +1,136 @@
/*
*/
package org.gecko.playground.model.person;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

import org.osgi.annotation.versioning.ProviderType;

/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Address Book</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.gecko.playground.model.person.AddressBook#getId <em>Id</em>}</li>
* <li>{@link org.gecko.playground.model.person.AddressBook#getName <em>Name</em>}</li>
* <li>{@link org.gecko.playground.model.person.AddressBook#getDescription <em>Description</em>}</li>
* <li>{@link org.gecko.playground.model.person.AddressBook#getAddress <em>Address</em>}</li>
* <li>{@link org.gecko.playground.model.person.AddressBook#getPerson <em>Person</em>}</li>
* <li>{@link org.gecko.playground.model.person.AddressBook#getTag <em>Tag</em>}</li>
* </ul>
*
* @see org.gecko.playground.model.person.PersonPackage#getAddressBook()
* @model
* @generated
*/
@ProviderType
public interface AddressBook extends EObject {
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see org.gecko.playground.model.person.PersonPackage#getAddressBook_Id()
* @model id="true"
* @generated
*/
String getId();

/**
* Sets the value of the '{@link org.gecko.playground.model.person.AddressBook#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);

/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.gecko.playground.model.person.PersonPackage#getAddressBook_Name()
* @model required="true"
* @generated
*/
String getName();

/**
* Sets the value of the '{@link org.gecko.playground.model.person.AddressBook#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);

/**
* Returns the value of the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' attribute.
* @see #setDescription(String)
* @see org.gecko.playground.model.person.PersonPackage#getAddressBook_Description()
* @model
* @generated
*/
String getDescription();

/**
* Sets the value of the '{@link org.gecko.playground.model.person.AddressBook#getDescription <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Description</em>' attribute.
* @see #getDescription()
* @generated
*/
void setDescription(String value);

/**
* Returns the value of the '<em><b>Address</b></em>' containment reference list.
* The list contents are of type {@link org.gecko.playground.model.person.Address}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Address</em>' containment reference list.
* @see org.gecko.playground.model.person.PersonPackage#getAddressBook_Address()
* @model containment="true"
* @generated
*/
EList<Address> getAddress();

/**
* Returns the value of the '<em><b>Person</b></em>' containment reference list.
* The list contents are of type {@link org.gecko.playground.model.person.Person}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Person</em>' containment reference list.
* @see org.gecko.playground.model.person.PersonPackage#getAddressBook_Person()
* @model containment="true"
* @generated
*/
EList<Person> getPerson();

/**
* Returns the value of the '<em><b>Tag</b></em>' containment reference list.
* The list contents are of type {@link org.gecko.playground.model.person.Tag}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Tag</em>' containment reference list.
* @see org.gecko.playground.model.person.PersonPackage#getAddressBook_Tag()
* @model containment="true"
* @generated
*/
EList<Tag> getTag();

} // AddressBook

0 comments on commit c1bfd37

Please sign in to comment.