blob: 3fb6a0a83782dedfd195c5eb4b52f69cf8db5adf [file] [log] [blame]
/**
* 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 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* 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.YBlurNotifier;
import org.eclipse.osbp.ecview.core.common.model.core.YFocusNotifier;
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:
* </p>
* <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>
*
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYDateTime()
* @model
* @generated
*/
public interface YDateTime extends YInput, YValueBindable, YFocusNotifier, YBlurNotifier {
/**
* 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