| /** |
| * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), 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 |
| * |
| * Contributors: |
| * Florian Pirchner - Initial implementation |
| */ |
| package org.eclipse.osbp.ecview.core.extension.model.extension; |
| |
| import java.util.Date; |
| |
| import org.eclipse.osbp.ecview.core.common.model.core.YValueBindable; |
| import org.eclipse.osbp.ecview.core.common.model.datatypes.YDatadescription; |
| import org.eclipse.osbp.ecview.core.extension.model.datatypes.YDateTimeDatatype; |
| import org.eclipse.osbp.ecview.core.extension.model.datatypes.YDateTimeFormat; |
| import org.eclipse.osbp.ecview.core.extension.model.datatypes.YDateTimeResolution; |
| |
| // TODO: Auto-generated Javadoc |
| /** |
| * <!-- begin-user-doc --> A representation of the model object ' |
| * <em><b>YDate Time</b></em>'. <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDateTime#getDatatype <em>Datatype</em>}</li> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDateTime#getDatadescription <em>Datadescription</em>}</li> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDateTime#getValue <em>Value</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYDateTime() |
| * @model |
| * @generated |
| */ |
| public interface YDateTime extends YInput, YValueBindable { |
| /** |
| * Returns the value of the '<em><b>Datatype</b></em>' reference. <!-- |
| * begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Datatype</em>' reference isn't clear, there |
| * really should be more of a description here... |
| * |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Datatype</em>' reference. |
| * @see #setDatatype(YDateTimeDatatype) |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYDateTime_Datatype() |
| * @model |
| * @generated |
| */ |
| YDateTimeDatatype getDatatype(); |
| |
| /** |
| * Sets the value of the ' |
| * {@link org.eclipse.osbp.ecview.core.extension.model.extension.YDateTime#getDatatype |
| * <em>Datatype</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc |
| * --> |
| * |
| * @param value |
| * the new value of the '<em>Datatype</em>' reference. |
| * @see #getDatatype() |
| * @generated |
| */ |
| void setDatatype(YDateTimeDatatype value); |
| |
| /** |
| * Returns the value of the '<em><b>Datadescription</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Datadescription</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Datadescription</em>' reference. |
| * @see #setDatadescription(YDatadescription) |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYDateTime_Datadescription() |
| * @model |
| * @generated |
| */ |
| YDatadescription getDatadescription(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDateTime#getDatadescription <em>Datadescription</em>}' reference. |
| * <!-- begin-user-doc --> <!-- |
| * end-user-doc --> |
| * @param value the new value of the '<em>Datadescription</em>' reference. |
| * @see #getDatadescription() |
| * @generated |
| */ |
| void setDatadescription(YDatadescription value); |
| |
| /** |
| * Returns the value of the '<em><b>Value</b></em>' attribute. <!-- |
| * begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Value</em>' attribute isn't clear, there |
| * really should be more of a description here... |
| * |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Value</em>' attribute. |
| * @see #setValue(Date) |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYDateTime_Value() |
| * @model transient="true" |
| * @generated |
| */ |
| Date getValue(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDateTime#getValue <em>Value</em>}' attribute. |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @param value the new value of the '<em>Value</em>' attribute. |
| * @see #getValue() |
| * @generated |
| */ |
| void setValue(Date value); |
| |
| /** |
| * Sets the date format of the field. |
| * |
| * @param format |
| * the new date format |
| */ |
| void setDateFormat(YDateTimeFormat format); |
| |
| /** |
| * Sets the date time resolution of the field. |
| * |
| * @param resolution |
| * the new resolution |
| */ |
| void setResolution(YDateTimeResolution resolution); |
| |
| /** |
| * Returns the date format of the field. |
| * |
| * @return format |
| */ |
| YDateTimeFormat getDateFormat(); |
| |
| /** |
| * Returns the date time resolution of the field. |
| * |
| * @return resolution |
| */ |
| YDateTimeResolution getResolution(); |
| |
| } // YDateTime |