Package weave.config

Examples of weave.config.DataConfig$DataType


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetDataType() {
    DATATYPE oldDataType = dataType;
    boolean oldDataTypeESet = dataTypeESet;
    dataType = DATA_TYPE_EDEFAULT;
    dataTypeESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, _40Package.DATA_FIELD_TYPE__DATA_TYPE, oldDataType, DATA_TYPE_EDEFAULT, oldDataTypeESet));
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setDataType(DATATYPE newDataType) {
    DATATYPE oldDataType = dataType;
    dataType = newDataType == null ? DATA_TYPE_EDEFAULT : newDataType;
    boolean oldDataTypeESet = dataTypeESet;
    dataTypeESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, _40Package.DEFINE_FUNCTION_TYPE__DATA_TYPE, oldDataType, dataType, !oldDataTypeESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetDataType() {
    DATATYPE oldDataType = dataType;
    boolean oldDataTypeESet = dataTypeESet;
    dataType = DATA_TYPE_EDEFAULT;
    dataTypeESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, _40Package.DEFINE_FUNCTION_TYPE__DATA_TYPE, oldDataType, DATA_TYPE_EDEFAULT, oldDataTypeESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setDataType(DATATYPE newDataType) {
    DATATYPE oldDataType = dataType;
    dataType = newDataType == null ? DATA_TYPE_EDEFAULT : newDataType;
    boolean oldDataTypeESet = dataTypeESet;
    dataTypeESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, _40Package.OUTPUT_FIELD_TYPE__DATA_TYPE, oldDataType, dataType, !oldDataTypeESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetDataType() {
    DATATYPE oldDataType = dataType;
    boolean oldDataTypeESet = dataTypeESet;
    dataType = DATA_TYPE_EDEFAULT;
    dataTypeESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, _40Package.OUTPUT_FIELD_TYPE__DATA_TYPE, oldDataType, DATA_TYPE_EDEFAULT, oldDataTypeESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setDataType(DATATYPE newDataType) {
    DATATYPE oldDataType = dataType;
    dataType = newDataType == null ? DATA_TYPE_EDEFAULT : newDataType;
    boolean oldDataTypeESet = dataTypeESet;
    dataTypeESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, _40Package.CONSTANT_TYPE__DATA_TYPE, oldDataType, dataType, !oldDataTypeESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetDataType() {
    DATATYPE oldDataType = dataType;
    boolean oldDataTypeESet = dataTypeESet;
    dataType = DATA_TYPE_EDEFAULT;
    dataTypeESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, _40Package.CONSTANT_TYPE__DATA_TYPE, oldDataType, DATA_TYPE_EDEFAULT, oldDataTypeESet));
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public String getText(Object object) {
    DATATYPE labelValue = ((MapValuesType)object).getDataType();
    String label = labelValue == null ? null : labelValue.toString();
    return label == null || label.length() == 0 ?
      getString("_UI_MapValuesType_type") :
      getString("_UI_MapValuesType_type") + " " + label;
  }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public String getText(Object object) {
    DATATYPE labelValue = ((DiscretizeType)object).getDataType();
    String label = labelValue == null ? null : labelValue.toString();
    return label == null || label.length() == 0 ?
      getString("_UI_DiscretizeType_type") :
      getString("_UI_DiscretizeType_type") + " " + label;
  }
View Full Code Here

    }
  }
   
 
  public static DATATYPE associateDatatype(String strDataType) {
    DATATYPE dataType = null;
    if (strDataType.equals("string")) dataType = DATATYPE.STRING;
    if (strDataType.equals("integer")) dataType = DATATYPE.INTEGER;
    if (strDataType.equals("float")) dataType = DATATYPE.FLOAT;
    if (strDataType.equals("double")) dataType = DATATYPE.DOUBLE;
    if (strDataType.equals("boolean")) dataType = DATATYPE.BOOLEAN;
View Full Code Here

TOP

Related Classes of weave.config.DataConfig$DataType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.