Package org.dmg.pmml._40

Examples of org.dmg.pmml._40.ValueType


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetTrend() {
    TrendType oldTrend = trend;
    boolean oldTrendESet = trendESet;
    trend = TREND_EDEFAULT;
    trendESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, _40Package.TREND_TYPE1__TREND, oldTrend, TREND_EDEFAULT, oldTrendESet));
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTrue(TrueType newTrue, NotificationChain msgs) {
    TrueType oldTrue = true_;
    true_ = newTrue;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.SEGMENT_TYPE__TRUE, oldTrue, newTrue);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTrue(TrueType newTrue, NotificationChain msgs) {
    TrueType oldTrue = true_;
    true_ = newTrue;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.COMPOUND_RULE_TYPE__TRUE, oldTrue, newTrue);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setType(VALIDTIMESPEC newType) {
    VALIDTIMESPEC oldType = type;
    type = newType == null ? TYPE_EDEFAULT : newType;
    boolean oldTypeESet = typeESet;
    typeESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, _40Package.TIME_CYCLE_TYPE__TYPE, oldType, type, !oldTypeESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetType() {
    VALIDTIMESPEC oldType = type;
    boolean oldTypeESet = typeESet;
    type = TYPE_EDEFAULT;
    typeESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, _40Package.TIME_CYCLE_TYPE__TYPE, oldType, TYPE_EDEFAULT, oldTypeESet));
View Full Code Here

    dataDictionary.getDataField().add(dataField);
    Attribute classAttr = data.classAttribute();
    Enumeration values = classAttr.enumerateValues();

    while (values.hasMoreElements()) {
      ValueType valueType = _40Factory.eINSTANCE.createValueType();
      valueType.setValue(values.nextElement().toString());
      dataField.getValue().add(valueType);
    }

    Enumeration<?> helpInstances = data.enumerateInstances();
    while (helpInstances.hasMoreElements()) {
View Full Code Here

            dataFieldType.setDataType(associateDatatype(helpBox[2]))//DATATYPE
            dataFieldType.setName(helpBox[0])//String
            dataFieldType.setOptype(associateOptype(helpBox[1]))//OPTYPE
            if (dataFieldType.getOptype().equals(OPTYPE.CATEGORICAL)) {
              for (int j=3; j<helpBox.length; j++) {
                ValueType valueType = _40Factory.eINSTANCE.createValueType();
                valueType.setValue(helpBox[j]);
                dataFieldType.getValue().add(valueType);
              }
            }
            dataDictionary.getDataField().add(dataFieldType);
        }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetVectorFields(VectorFieldsType newVectorFields, NotificationChain msgs) {
    VectorFieldsType oldVectorFields = vectorFields;
    vectorFields = newVectorFields;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.VECTOR_DICTIONARY_TYPE__VECTOR_FIELDS, oldVectorFields, newVectorFields);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetXCoordinates(XCoordinatesType newXCoordinates, NotificationChain msgs) {
    XCoordinatesType oldXCoordinates = xCoordinates;
    xCoordinates = newXCoordinates;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.ROC_GRAPH_TYPE__XCOORDINATES, oldXCoordinates, newXCoordinates);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetYCoordinates(YCoordinatesType newYCoordinates, NotificationChain msgs) {
    YCoordinatesType oldYCoordinates = yCoordinates;
    yCoordinates = newYCoordinates;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.ROC_GRAPH_TYPE__YCOORDINATES, oldYCoordinates, newYCoordinates);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

TOP

Related Classes of org.dmg.pmml._40.ValueType

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.