blob: 9111d4797fbc203e5f634f0e0b6ca33cd00d3ad0 [file] [log] [blame]
/**
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Based on ideas from Xtext, Xtend, Xcore
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation
*
*/
package org.eclipse.osbp.xtext.entitymock;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Date</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.osbp.xtext.entitymock.Date#isYesterday <em>Yesterday</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.Date#isToday <em>Today</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.Date#isTomorrow <em>Tomorrow</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.Date#getOffsetCount <em>Offset Count</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.Date#getOffsetType <em>Offset Type</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.Date#getYear <em>Year</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.Date#getMonth <em>Month</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.Date#getDay <em>Day</em>}</li>
* </ul>
*
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getDate()
* @model
* @generated
*/
public interface Date extends EObject {
/**
* Returns the value of the '<em><b>Yesterday</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Yesterday</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Yesterday</em>' attribute.
* @see #setYesterday(boolean)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getDate_Yesterday()
* @model unique="false"
* @generated
*/
boolean isYesterday();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.Date#isYesterday <em>Yesterday</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Yesterday</em>' attribute.
* @see #isYesterday()
* @generated
*/
void setYesterday(boolean value);
/**
* Returns the value of the '<em><b>Today</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Today</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Today</em>' attribute.
* @see #setToday(boolean)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getDate_Today()
* @model unique="false"
* @generated
*/
boolean isToday();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.Date#isToday <em>Today</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Today</em>' attribute.
* @see #isToday()
* @generated
*/
void setToday(boolean value);
/**
* Returns the value of the '<em><b>Tomorrow</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Tomorrow</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Tomorrow</em>' attribute.
* @see #setTomorrow(boolean)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getDate_Tomorrow()
* @model unique="false"
* @generated
*/
boolean isTomorrow();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.Date#isTomorrow <em>Tomorrow</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Tomorrow</em>' attribute.
* @see #isTomorrow()
* @generated
*/
void setTomorrow(boolean value);
/**
* Returns the value of the '<em><b>Offset Count</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Offset Count</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Offset Count</em>' attribute.
* @see #setOffsetCount(int)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getDate_OffsetCount()
* @model unique="false"
* @generated
*/
int getOffsetCount();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.Date#getOffsetCount <em>Offset Count</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Offset Count</em>' attribute.
* @see #getOffsetCount()
* @generated
*/
void setOffsetCount(int value);
/**
* Returns the value of the '<em><b>Offset Type</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.osbp.xtext.entitymock.EDateStepType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Offset Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Offset Type</em>' attribute.
* @see org.eclipse.osbp.xtext.entitymock.EDateStepType
* @see #setOffsetType(EDateStepType)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getDate_OffsetType()
* @model unique="false"
* @generated
*/
EDateStepType getOffsetType();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.Date#getOffsetType <em>Offset Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Offset Type</em>' attribute.
* @see org.eclipse.osbp.xtext.entitymock.EDateStepType
* @see #getOffsetType()
* @generated
*/
void setOffsetType(EDateStepType value);
/**
* Returns the value of the '<em><b>Year</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Year</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Year</em>' attribute.
* @see #setYear(int)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getDate_Year()
* @model unique="false"
* @generated
*/
int getYear();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.Date#getYear <em>Year</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Year</em>' attribute.
* @see #getYear()
* @generated
*/
void setYear(int value);
/**
* Returns the value of the '<em><b>Month</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Month</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Month</em>' attribute.
* @see #setMonth(int)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getDate_Month()
* @model unique="false"
* @generated
*/
int getMonth();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.Date#getMonth <em>Month</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Month</em>' attribute.
* @see #getMonth()
* @generated
*/
void setMonth(int value);
/**
* Returns the value of the '<em><b>Day</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Day</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Day</em>' attribute.
* @see #setDay(int)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getDate_Day()
* @model unique="false"
* @generated
*/
int getDay();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.Date#getDay <em>Day</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Day</em>' attribute.
* @see #getDay()
* @generated
*/
void setDay(int value);
} // Date