All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl Maven / Gradle / Ivy

There is a newer version: 6.12.0
Show newest version
/**
 * generated by Xtext 2.21.0
 */
package org.contextmapper.tactic.dsl.tacticdsl.impl;

import org.contextmapper.tactic.dsl.tacticdsl.DtoAttribute;
import org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage;

import org.eclipse.emf.common.notify.Notification;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.ecore.impl.ENotificationImpl;

/**
 * 
 * An implementation of the model object 'Dto Attribute'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getType Type}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#isAssertFalse Assert False}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getAssertFalseMessage Assert False Message}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#isAssertTrue Assert True}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getAssertTrueMessage Assert True Message}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#isCreditCardNumber Credit Card Number}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getCreditCardNumberMessage Credit Card Number Message}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getDigits Digits}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#isEmail Email}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getEmailMessage Email Message}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#isFuture Future}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getFutureMessage Future Message}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#isPast Past}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getPastMessage Past Message}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getMax Max}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getMin Min}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getDecimalMax Decimal Max}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getDecimalMin Decimal Min}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#isNotBlank Not Blank}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getNotBlankMessage Not Blank Message}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getPattern Pattern}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getRange Range}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getLength Length}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getScriptAssert Script Assert}
  • *
  • {@link org.contextmapper.tactic.dsl.tacticdsl.impl.DtoAttributeImpl#getUrl Url}
  • *
* * @generated */ public class DtoAttributeImpl extends DtoPropertyImpl implements DtoAttribute { /** * The default value of the '{@link #getType() Type}' attribute. * * * @see #getType() * @generated * @ordered */ protected static final String TYPE_EDEFAULT = null; /** * The cached value of the '{@link #getType() Type}' attribute. * * * @see #getType() * @generated * @ordered */ protected String type = TYPE_EDEFAULT; /** * The default value of the '{@link #isAssertFalse() Assert False}' attribute. * * * @see #isAssertFalse() * @generated * @ordered */ protected static final boolean ASSERT_FALSE_EDEFAULT = false; /** * The cached value of the '{@link #isAssertFalse() Assert False}' attribute. * * * @see #isAssertFalse() * @generated * @ordered */ protected boolean assertFalse = ASSERT_FALSE_EDEFAULT; /** * The default value of the '{@link #getAssertFalseMessage() Assert False Message}' attribute. * * * @see #getAssertFalseMessage() * @generated * @ordered */ protected static final String ASSERT_FALSE_MESSAGE_EDEFAULT = null; /** * The cached value of the '{@link #getAssertFalseMessage() Assert False Message}' attribute. * * * @see #getAssertFalseMessage() * @generated * @ordered */ protected String assertFalseMessage = ASSERT_FALSE_MESSAGE_EDEFAULT; /** * The default value of the '{@link #isAssertTrue() Assert True}' attribute. * * * @see #isAssertTrue() * @generated * @ordered */ protected static final boolean ASSERT_TRUE_EDEFAULT = false; /** * The cached value of the '{@link #isAssertTrue() Assert True}' attribute. * * * @see #isAssertTrue() * @generated * @ordered */ protected boolean assertTrue = ASSERT_TRUE_EDEFAULT; /** * The default value of the '{@link #getAssertTrueMessage() Assert True Message}' attribute. * * * @see #getAssertTrueMessage() * @generated * @ordered */ protected static final String ASSERT_TRUE_MESSAGE_EDEFAULT = null; /** * The cached value of the '{@link #getAssertTrueMessage() Assert True Message}' attribute. * * * @see #getAssertTrueMessage() * @generated * @ordered */ protected String assertTrueMessage = ASSERT_TRUE_MESSAGE_EDEFAULT; /** * The default value of the '{@link #isCreditCardNumber() Credit Card Number}' attribute. * * * @see #isCreditCardNumber() * @generated * @ordered */ protected static final boolean CREDIT_CARD_NUMBER_EDEFAULT = false; /** * The cached value of the '{@link #isCreditCardNumber() Credit Card Number}' attribute. * * * @see #isCreditCardNumber() * @generated * @ordered */ protected boolean creditCardNumber = CREDIT_CARD_NUMBER_EDEFAULT; /** * The default value of the '{@link #getCreditCardNumberMessage() Credit Card Number Message}' attribute. * * * @see #getCreditCardNumberMessage() * @generated * @ordered */ protected static final String CREDIT_CARD_NUMBER_MESSAGE_EDEFAULT = null; /** * The cached value of the '{@link #getCreditCardNumberMessage() Credit Card Number Message}' attribute. * * * @see #getCreditCardNumberMessage() * @generated * @ordered */ protected String creditCardNumberMessage = CREDIT_CARD_NUMBER_MESSAGE_EDEFAULT; /** * The default value of the '{@link #getDigits() Digits}' attribute. * * * @see #getDigits() * @generated * @ordered */ protected static final String DIGITS_EDEFAULT = null; /** * The cached value of the '{@link #getDigits() Digits}' attribute. * * * @see #getDigits() * @generated * @ordered */ protected String digits = DIGITS_EDEFAULT; /** * The default value of the '{@link #isEmail() Email}' attribute. * * * @see #isEmail() * @generated * @ordered */ protected static final boolean EMAIL_EDEFAULT = false; /** * The cached value of the '{@link #isEmail() Email}' attribute. * * * @see #isEmail() * @generated * @ordered */ protected boolean email = EMAIL_EDEFAULT; /** * The default value of the '{@link #getEmailMessage() Email Message}' attribute. * * * @see #getEmailMessage() * @generated * @ordered */ protected static final String EMAIL_MESSAGE_EDEFAULT = null; /** * The cached value of the '{@link #getEmailMessage() Email Message}' attribute. * * * @see #getEmailMessage() * @generated * @ordered */ protected String emailMessage = EMAIL_MESSAGE_EDEFAULT; /** * The default value of the '{@link #isFuture() Future}' attribute. * * * @see #isFuture() * @generated * @ordered */ protected static final boolean FUTURE_EDEFAULT = false; /** * The cached value of the '{@link #isFuture() Future}' attribute. * * * @see #isFuture() * @generated * @ordered */ protected boolean future = FUTURE_EDEFAULT; /** * The default value of the '{@link #getFutureMessage() Future Message}' attribute. * * * @see #getFutureMessage() * @generated * @ordered */ protected static final String FUTURE_MESSAGE_EDEFAULT = null; /** * The cached value of the '{@link #getFutureMessage() Future Message}' attribute. * * * @see #getFutureMessage() * @generated * @ordered */ protected String futureMessage = FUTURE_MESSAGE_EDEFAULT; /** * The default value of the '{@link #isPast() Past}' attribute. * * * @see #isPast() * @generated * @ordered */ protected static final boolean PAST_EDEFAULT = false; /** * The cached value of the '{@link #isPast() Past}' attribute. * * * @see #isPast() * @generated * @ordered */ protected boolean past = PAST_EDEFAULT; /** * The default value of the '{@link #getPastMessage() Past Message}' attribute. * * * @see #getPastMessage() * @generated * @ordered */ protected static final String PAST_MESSAGE_EDEFAULT = null; /** * The cached value of the '{@link #getPastMessage() Past Message}' attribute. * * * @see #getPastMessage() * @generated * @ordered */ protected String pastMessage = PAST_MESSAGE_EDEFAULT; /** * The default value of the '{@link #getMax() Max}' attribute. * * * @see #getMax() * @generated * @ordered */ protected static final String MAX_EDEFAULT = null; /** * The cached value of the '{@link #getMax() Max}' attribute. * * * @see #getMax() * @generated * @ordered */ protected String max = MAX_EDEFAULT; /** * The default value of the '{@link #getMin() Min}' attribute. * * * @see #getMin() * @generated * @ordered */ protected static final String MIN_EDEFAULT = null; /** * The cached value of the '{@link #getMin() Min}' attribute. * * * @see #getMin() * @generated * @ordered */ protected String min = MIN_EDEFAULT; /** * The default value of the '{@link #getDecimalMax() Decimal Max}' attribute. * * * @see #getDecimalMax() * @generated * @ordered */ protected static final String DECIMAL_MAX_EDEFAULT = null; /** * The cached value of the '{@link #getDecimalMax() Decimal Max}' attribute. * * * @see #getDecimalMax() * @generated * @ordered */ protected String decimalMax = DECIMAL_MAX_EDEFAULT; /** * The default value of the '{@link #getDecimalMin() Decimal Min}' attribute. * * * @see #getDecimalMin() * @generated * @ordered */ protected static final String DECIMAL_MIN_EDEFAULT = null; /** * The cached value of the '{@link #getDecimalMin() Decimal Min}' attribute. * * * @see #getDecimalMin() * @generated * @ordered */ protected String decimalMin = DECIMAL_MIN_EDEFAULT; /** * The default value of the '{@link #isNotBlank() Not Blank}' attribute. * * * @see #isNotBlank() * @generated * @ordered */ protected static final boolean NOT_BLANK_EDEFAULT = false; /** * The cached value of the '{@link #isNotBlank() Not Blank}' attribute. * * * @see #isNotBlank() * @generated * @ordered */ protected boolean notBlank = NOT_BLANK_EDEFAULT; /** * The default value of the '{@link #getNotBlankMessage() Not Blank Message}' attribute. * * * @see #getNotBlankMessage() * @generated * @ordered */ protected static final String NOT_BLANK_MESSAGE_EDEFAULT = null; /** * The cached value of the '{@link #getNotBlankMessage() Not Blank Message}' attribute. * * * @see #getNotBlankMessage() * @generated * @ordered */ protected String notBlankMessage = NOT_BLANK_MESSAGE_EDEFAULT; /** * The default value of the '{@link #getPattern() Pattern}' attribute. * * * @see #getPattern() * @generated * @ordered */ protected static final String PATTERN_EDEFAULT = null; /** * The cached value of the '{@link #getPattern() Pattern}' attribute. * * * @see #getPattern() * @generated * @ordered */ protected String pattern = PATTERN_EDEFAULT; /** * The default value of the '{@link #getRange() Range}' attribute. * * * @see #getRange() * @generated * @ordered */ protected static final String RANGE_EDEFAULT = null; /** * The cached value of the '{@link #getRange() Range}' attribute. * * * @see #getRange() * @generated * @ordered */ protected String range = RANGE_EDEFAULT; /** * The default value of the '{@link #getLength() Length}' attribute. * * * @see #getLength() * @generated * @ordered */ protected static final String LENGTH_EDEFAULT = null; /** * The cached value of the '{@link #getLength() Length}' attribute. * * * @see #getLength() * @generated * @ordered */ protected String length = LENGTH_EDEFAULT; /** * The default value of the '{@link #getScriptAssert() Script Assert}' attribute. * * * @see #getScriptAssert() * @generated * @ordered */ protected static final String SCRIPT_ASSERT_EDEFAULT = null; /** * The cached value of the '{@link #getScriptAssert() Script Assert}' attribute. * * * @see #getScriptAssert() * @generated * @ordered */ protected String scriptAssert = SCRIPT_ASSERT_EDEFAULT; /** * The default value of the '{@link #getUrl() Url}' attribute. * * * @see #getUrl() * @generated * @ordered */ protected static final String URL_EDEFAULT = null; /** * The cached value of the '{@link #getUrl() Url}' attribute. * * * @see #getUrl() * @generated * @ordered */ protected String url = URL_EDEFAULT; /** * * * @generated */ protected DtoAttributeImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return TacticdslPackage.Literals.DTO_ATTRIBUTE; } /** * * * @generated */ @Override public String getType() { return type; } /** * * * @generated */ @Override public void setType(String newType) { String oldType = type; type = newType; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__TYPE, oldType, type)); } /** * * * @generated */ @Override public boolean isAssertFalse() { return assertFalse; } /** * * * @generated */ @Override public void setAssertFalse(boolean newAssertFalse) { boolean oldAssertFalse = assertFalse; assertFalse = newAssertFalse; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE, oldAssertFalse, assertFalse)); } /** * * * @generated */ @Override public String getAssertFalseMessage() { return assertFalseMessage; } /** * * * @generated */ @Override public void setAssertFalseMessage(String newAssertFalseMessage) { String oldAssertFalseMessage = assertFalseMessage; assertFalseMessage = newAssertFalseMessage; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE_MESSAGE, oldAssertFalseMessage, assertFalseMessage)); } /** * * * @generated */ @Override public boolean isAssertTrue() { return assertTrue; } /** * * * @generated */ @Override public void setAssertTrue(boolean newAssertTrue) { boolean oldAssertTrue = assertTrue; assertTrue = newAssertTrue; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE, oldAssertTrue, assertTrue)); } /** * * * @generated */ @Override public String getAssertTrueMessage() { return assertTrueMessage; } /** * * * @generated */ @Override public void setAssertTrueMessage(String newAssertTrueMessage) { String oldAssertTrueMessage = assertTrueMessage; assertTrueMessage = newAssertTrueMessage; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE_MESSAGE, oldAssertTrueMessage, assertTrueMessage)); } /** * * * @generated */ @Override public boolean isCreditCardNumber() { return creditCardNumber; } /** * * * @generated */ @Override public void setCreditCardNumber(boolean newCreditCardNumber) { boolean oldCreditCardNumber = creditCardNumber; creditCardNumber = newCreditCardNumber; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER, oldCreditCardNumber, creditCardNumber)); } /** * * * @generated */ @Override public String getCreditCardNumberMessage() { return creditCardNumberMessage; } /** * * * @generated */ @Override public void setCreditCardNumberMessage(String newCreditCardNumberMessage) { String oldCreditCardNumberMessage = creditCardNumberMessage; creditCardNumberMessage = newCreditCardNumberMessage; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER_MESSAGE, oldCreditCardNumberMessage, creditCardNumberMessage)); } /** * * * @generated */ @Override public String getDigits() { return digits; } /** * * * @generated */ @Override public void setDigits(String newDigits) { String oldDigits = digits; digits = newDigits; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__DIGITS, oldDigits, digits)); } /** * * * @generated */ @Override public boolean isEmail() { return email; } /** * * * @generated */ @Override public void setEmail(boolean newEmail) { boolean oldEmail = email; email = newEmail; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__EMAIL, oldEmail, email)); } /** * * * @generated */ @Override public String getEmailMessage() { return emailMessage; } /** * * * @generated */ @Override public void setEmailMessage(String newEmailMessage) { String oldEmailMessage = emailMessage; emailMessage = newEmailMessage; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__EMAIL_MESSAGE, oldEmailMessage, emailMessage)); } /** * * * @generated */ @Override public boolean isFuture() { return future; } /** * * * @generated */ @Override public void setFuture(boolean newFuture) { boolean oldFuture = future; future = newFuture; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__FUTURE, oldFuture, future)); } /** * * * @generated */ @Override public String getFutureMessage() { return futureMessage; } /** * * * @generated */ @Override public void setFutureMessage(String newFutureMessage) { String oldFutureMessage = futureMessage; futureMessage = newFutureMessage; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__FUTURE_MESSAGE, oldFutureMessage, futureMessage)); } /** * * * @generated */ @Override public boolean isPast() { return past; } /** * * * @generated */ @Override public void setPast(boolean newPast) { boolean oldPast = past; past = newPast; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__PAST, oldPast, past)); } /** * * * @generated */ @Override public String getPastMessage() { return pastMessage; } /** * * * @generated */ @Override public void setPastMessage(String newPastMessage) { String oldPastMessage = pastMessage; pastMessage = newPastMessage; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__PAST_MESSAGE, oldPastMessage, pastMessage)); } /** * * * @generated */ @Override public String getMax() { return max; } /** * * * @generated */ @Override public void setMax(String newMax) { String oldMax = max; max = newMax; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__MAX, oldMax, max)); } /** * * * @generated */ @Override public String getMin() { return min; } /** * * * @generated */ @Override public void setMin(String newMin) { String oldMin = min; min = newMin; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__MIN, oldMin, min)); } /** * * * @generated */ @Override public String getDecimalMax() { return decimalMax; } /** * * * @generated */ @Override public void setDecimalMax(String newDecimalMax) { String oldDecimalMax = decimalMax; decimalMax = newDecimalMax; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MAX, oldDecimalMax, decimalMax)); } /** * * * @generated */ @Override public String getDecimalMin() { return decimalMin; } /** * * * @generated */ @Override public void setDecimalMin(String newDecimalMin) { String oldDecimalMin = decimalMin; decimalMin = newDecimalMin; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MIN, oldDecimalMin, decimalMin)); } /** * * * @generated */ @Override public boolean isNotBlank() { return notBlank; } /** * * * @generated */ @Override public void setNotBlank(boolean newNotBlank) { boolean oldNotBlank = notBlank; notBlank = newNotBlank; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK, oldNotBlank, notBlank)); } /** * * * @generated */ @Override public String getNotBlankMessage() { return notBlankMessage; } /** * * * @generated */ @Override public void setNotBlankMessage(String newNotBlankMessage) { String oldNotBlankMessage = notBlankMessage; notBlankMessage = newNotBlankMessage; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK_MESSAGE, oldNotBlankMessage, notBlankMessage)); } /** * * * @generated */ @Override public String getPattern() { return pattern; } /** * * * @generated */ @Override public void setPattern(String newPattern) { String oldPattern = pattern; pattern = newPattern; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__PATTERN, oldPattern, pattern)); } /** * * * @generated */ @Override public String getRange() { return range; } /** * * * @generated */ @Override public void setRange(String newRange) { String oldRange = range; range = newRange; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__RANGE, oldRange, range)); } /** * * * @generated */ @Override public String getLength() { return length; } /** * * * @generated */ @Override public void setLength(String newLength) { String oldLength = length; length = newLength; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__LENGTH, oldLength, length)); } /** * * * @generated */ @Override public String getScriptAssert() { return scriptAssert; } /** * * * @generated */ @Override public void setScriptAssert(String newScriptAssert) { String oldScriptAssert = scriptAssert; scriptAssert = newScriptAssert; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__SCRIPT_ASSERT, oldScriptAssert, scriptAssert)); } /** * * * @generated */ @Override public String getUrl() { return url; } /** * * * @generated */ @Override public void setUrl(String newUrl) { String oldUrl = url; url = newUrl; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TacticdslPackage.DTO_ATTRIBUTE__URL, oldUrl, url)); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case TacticdslPackage.DTO_ATTRIBUTE__TYPE: return getType(); case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE: return isAssertFalse(); case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE_MESSAGE: return getAssertFalseMessage(); case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE: return isAssertTrue(); case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE_MESSAGE: return getAssertTrueMessage(); case TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER: return isCreditCardNumber(); case TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER_MESSAGE: return getCreditCardNumberMessage(); case TacticdslPackage.DTO_ATTRIBUTE__DIGITS: return getDigits(); case TacticdslPackage.DTO_ATTRIBUTE__EMAIL: return isEmail(); case TacticdslPackage.DTO_ATTRIBUTE__EMAIL_MESSAGE: return getEmailMessage(); case TacticdslPackage.DTO_ATTRIBUTE__FUTURE: return isFuture(); case TacticdslPackage.DTO_ATTRIBUTE__FUTURE_MESSAGE: return getFutureMessage(); case TacticdslPackage.DTO_ATTRIBUTE__PAST: return isPast(); case TacticdslPackage.DTO_ATTRIBUTE__PAST_MESSAGE: return getPastMessage(); case TacticdslPackage.DTO_ATTRIBUTE__MAX: return getMax(); case TacticdslPackage.DTO_ATTRIBUTE__MIN: return getMin(); case TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MAX: return getDecimalMax(); case TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MIN: return getDecimalMin(); case TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK: return isNotBlank(); case TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK_MESSAGE: return getNotBlankMessage(); case TacticdslPackage.DTO_ATTRIBUTE__PATTERN: return getPattern(); case TacticdslPackage.DTO_ATTRIBUTE__RANGE: return getRange(); case TacticdslPackage.DTO_ATTRIBUTE__LENGTH: return getLength(); case TacticdslPackage.DTO_ATTRIBUTE__SCRIPT_ASSERT: return getScriptAssert(); case TacticdslPackage.DTO_ATTRIBUTE__URL: return getUrl(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case TacticdslPackage.DTO_ATTRIBUTE__TYPE: setType((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE: setAssertFalse((Boolean)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE_MESSAGE: setAssertFalseMessage((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE: setAssertTrue((Boolean)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE_MESSAGE: setAssertTrueMessage((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER: setCreditCardNumber((Boolean)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER_MESSAGE: setCreditCardNumberMessage((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__DIGITS: setDigits((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__EMAIL: setEmail((Boolean)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__EMAIL_MESSAGE: setEmailMessage((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__FUTURE: setFuture((Boolean)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__FUTURE_MESSAGE: setFutureMessage((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__PAST: setPast((Boolean)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__PAST_MESSAGE: setPastMessage((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__MAX: setMax((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__MIN: setMin((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MAX: setDecimalMax((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MIN: setDecimalMin((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK: setNotBlank((Boolean)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK_MESSAGE: setNotBlankMessage((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__PATTERN: setPattern((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__RANGE: setRange((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__LENGTH: setLength((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__SCRIPT_ASSERT: setScriptAssert((String)newValue); return; case TacticdslPackage.DTO_ATTRIBUTE__URL: setUrl((String)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case TacticdslPackage.DTO_ATTRIBUTE__TYPE: setType(TYPE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE: setAssertFalse(ASSERT_FALSE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE_MESSAGE: setAssertFalseMessage(ASSERT_FALSE_MESSAGE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE: setAssertTrue(ASSERT_TRUE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE_MESSAGE: setAssertTrueMessage(ASSERT_TRUE_MESSAGE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER: setCreditCardNumber(CREDIT_CARD_NUMBER_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER_MESSAGE: setCreditCardNumberMessage(CREDIT_CARD_NUMBER_MESSAGE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__DIGITS: setDigits(DIGITS_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__EMAIL: setEmail(EMAIL_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__EMAIL_MESSAGE: setEmailMessage(EMAIL_MESSAGE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__FUTURE: setFuture(FUTURE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__FUTURE_MESSAGE: setFutureMessage(FUTURE_MESSAGE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__PAST: setPast(PAST_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__PAST_MESSAGE: setPastMessage(PAST_MESSAGE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__MAX: setMax(MAX_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__MIN: setMin(MIN_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MAX: setDecimalMax(DECIMAL_MAX_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MIN: setDecimalMin(DECIMAL_MIN_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK: setNotBlank(NOT_BLANK_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK_MESSAGE: setNotBlankMessage(NOT_BLANK_MESSAGE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__PATTERN: setPattern(PATTERN_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__RANGE: setRange(RANGE_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__LENGTH: setLength(LENGTH_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__SCRIPT_ASSERT: setScriptAssert(SCRIPT_ASSERT_EDEFAULT); return; case TacticdslPackage.DTO_ATTRIBUTE__URL: setUrl(URL_EDEFAULT); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case TacticdslPackage.DTO_ATTRIBUTE__TYPE: return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE: return assertFalse != ASSERT_FALSE_EDEFAULT; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_FALSE_MESSAGE: return ASSERT_FALSE_MESSAGE_EDEFAULT == null ? assertFalseMessage != null : !ASSERT_FALSE_MESSAGE_EDEFAULT.equals(assertFalseMessage); case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE: return assertTrue != ASSERT_TRUE_EDEFAULT; case TacticdslPackage.DTO_ATTRIBUTE__ASSERT_TRUE_MESSAGE: return ASSERT_TRUE_MESSAGE_EDEFAULT == null ? assertTrueMessage != null : !ASSERT_TRUE_MESSAGE_EDEFAULT.equals(assertTrueMessage); case TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER: return creditCardNumber != CREDIT_CARD_NUMBER_EDEFAULT; case TacticdslPackage.DTO_ATTRIBUTE__CREDIT_CARD_NUMBER_MESSAGE: return CREDIT_CARD_NUMBER_MESSAGE_EDEFAULT == null ? creditCardNumberMessage != null : !CREDIT_CARD_NUMBER_MESSAGE_EDEFAULT.equals(creditCardNumberMessage); case TacticdslPackage.DTO_ATTRIBUTE__DIGITS: return DIGITS_EDEFAULT == null ? digits != null : !DIGITS_EDEFAULT.equals(digits); case TacticdslPackage.DTO_ATTRIBUTE__EMAIL: return email != EMAIL_EDEFAULT; case TacticdslPackage.DTO_ATTRIBUTE__EMAIL_MESSAGE: return EMAIL_MESSAGE_EDEFAULT == null ? emailMessage != null : !EMAIL_MESSAGE_EDEFAULT.equals(emailMessage); case TacticdslPackage.DTO_ATTRIBUTE__FUTURE: return future != FUTURE_EDEFAULT; case TacticdslPackage.DTO_ATTRIBUTE__FUTURE_MESSAGE: return FUTURE_MESSAGE_EDEFAULT == null ? futureMessage != null : !FUTURE_MESSAGE_EDEFAULT.equals(futureMessage); case TacticdslPackage.DTO_ATTRIBUTE__PAST: return past != PAST_EDEFAULT; case TacticdslPackage.DTO_ATTRIBUTE__PAST_MESSAGE: return PAST_MESSAGE_EDEFAULT == null ? pastMessage != null : !PAST_MESSAGE_EDEFAULT.equals(pastMessage); case TacticdslPackage.DTO_ATTRIBUTE__MAX: return MAX_EDEFAULT == null ? max != null : !MAX_EDEFAULT.equals(max); case TacticdslPackage.DTO_ATTRIBUTE__MIN: return MIN_EDEFAULT == null ? min != null : !MIN_EDEFAULT.equals(min); case TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MAX: return DECIMAL_MAX_EDEFAULT == null ? decimalMax != null : !DECIMAL_MAX_EDEFAULT.equals(decimalMax); case TacticdslPackage.DTO_ATTRIBUTE__DECIMAL_MIN: return DECIMAL_MIN_EDEFAULT == null ? decimalMin != null : !DECIMAL_MIN_EDEFAULT.equals(decimalMin); case TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK: return notBlank != NOT_BLANK_EDEFAULT; case TacticdslPackage.DTO_ATTRIBUTE__NOT_BLANK_MESSAGE: return NOT_BLANK_MESSAGE_EDEFAULT == null ? notBlankMessage != null : !NOT_BLANK_MESSAGE_EDEFAULT.equals(notBlankMessage); case TacticdslPackage.DTO_ATTRIBUTE__PATTERN: return PATTERN_EDEFAULT == null ? pattern != null : !PATTERN_EDEFAULT.equals(pattern); case TacticdslPackage.DTO_ATTRIBUTE__RANGE: return RANGE_EDEFAULT == null ? range != null : !RANGE_EDEFAULT.equals(range); case TacticdslPackage.DTO_ATTRIBUTE__LENGTH: return LENGTH_EDEFAULT == null ? length != null : !LENGTH_EDEFAULT.equals(length); case TacticdslPackage.DTO_ATTRIBUTE__SCRIPT_ASSERT: return SCRIPT_ASSERT_EDEFAULT == null ? scriptAssert != null : !SCRIPT_ASSERT_EDEFAULT.equals(scriptAssert); case TacticdslPackage.DTO_ATTRIBUTE__URL: return URL_EDEFAULT == null ? url != null : !URL_EDEFAULT.equals(url); } return super.eIsSet(featureID); } /** * * * @generated */ @Override public String toString() { if (eIsProxy()) return super.toString(); StringBuilder result = new StringBuilder(super.toString()); result.append(" (type: "); result.append(type); result.append(", assertFalse: "); result.append(assertFalse); result.append(", assertFalseMessage: "); result.append(assertFalseMessage); result.append(", assertTrue: "); result.append(assertTrue); result.append(", assertTrueMessage: "); result.append(assertTrueMessage); result.append(", creditCardNumber: "); result.append(creditCardNumber); result.append(", creditCardNumberMessage: "); result.append(creditCardNumberMessage); result.append(", digits: "); result.append(digits); result.append(", email: "); result.append(email); result.append(", emailMessage: "); result.append(emailMessage); result.append(", future: "); result.append(future); result.append(", futureMessage: "); result.append(futureMessage); result.append(", past: "); result.append(past); result.append(", pastMessage: "); result.append(pastMessage); result.append(", max: "); result.append(max); result.append(", min: "); result.append(min); result.append(", decimalMax: "); result.append(decimalMax); result.append(", decimalMin: "); result.append(decimalMin); result.append(", notBlank: "); result.append(notBlank); result.append(", notBlankMessage: "); result.append(notBlankMessage); result.append(", pattern: "); result.append(pattern); result.append(", range: "); result.append(range); result.append(", length: "); result.append(length); result.append(", scriptAssert: "); result.append(scriptAssert); result.append(", url: "); result.append(url); result.append(')'); return result.toString(); } } //DtoAttributeImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy