org.contextmapper.tactic.dsl.tacticdsl.Attribute Maven / Gradle / Ivy
/**
* generated by Xtext 2.20.0
*/
package org.contextmapper.tactic.dsl.tacticdsl;
/**
*
* A representation of the model object 'Attribute'.
*
*
*
* The following features are supported:
*
*
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getType Type}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isIndex Index}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isAssertFalse Assert False}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getAssertFalseMessage Assert False Message}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isAssertTrue Assert True}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getAssertTrueMessage Assert True Message}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isCreditCardNumber Credit Card Number}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getCreditCardNumberMessage Credit Card Number Message}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getDigits Digits}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isEmail Email}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getEmailMessage Email Message}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isFuture Future}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getFutureMessage Future Message}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isPast Past}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getPastMessage Past Message}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getMax Max}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getMin Min}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getDecimalMax Decimal Max}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getDecimalMin Decimal Min}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isNotBlank Not Blank}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getNotBlankMessage Not Blank Message}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getPattern Pattern}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getRange Range}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getLength Length}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getScriptAssert Script Assert}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getUrl Url}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getDatabaseType Database Type}
*
*
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute()
* @model
* @generated
*/
public interface Attribute extends Property
{
/**
* Returns the value of the 'Type' attribute.
*
*
* If the meaning of the 'Type' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Type' attribute.
* @see #setType(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Type()
* @model
* @generated
*/
String getType();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getType Type}' attribute.
*
*
* @param value the new value of the 'Type' attribute.
* @see #getType()
* @generated
*/
void setType(String value);
/**
* Returns the value of the 'Index' attribute.
*
*
* If the meaning of the 'Index' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Index' attribute.
* @see #setIndex(boolean)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Index()
* @model
* @generated
*/
boolean isIndex();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isIndex Index}' attribute.
*
*
* @param value the new value of the 'Index' attribute.
* @see #isIndex()
* @generated
*/
void setIndex(boolean value);
/**
* Returns the value of the 'Assert False' attribute.
*
*
* If the meaning of the 'Assert False' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Assert False' attribute.
* @see #setAssertFalse(boolean)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_AssertFalse()
* @model
* @generated
*/
boolean isAssertFalse();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isAssertFalse Assert False}' attribute.
*
*
* @param value the new value of the 'Assert False' attribute.
* @see #isAssertFalse()
* @generated
*/
void setAssertFalse(boolean value);
/**
* Returns the value of the 'Assert False Message' attribute.
*
*
* If the meaning of the 'Assert False Message' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Assert False Message' attribute.
* @see #setAssertFalseMessage(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_AssertFalseMessage()
* @model
* @generated
*/
String getAssertFalseMessage();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getAssertFalseMessage Assert False Message}' attribute.
*
*
* @param value the new value of the 'Assert False Message' attribute.
* @see #getAssertFalseMessage()
* @generated
*/
void setAssertFalseMessage(String value);
/**
* Returns the value of the 'Assert True' attribute.
*
*
* If the meaning of the 'Assert True' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Assert True' attribute.
* @see #setAssertTrue(boolean)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_AssertTrue()
* @model
* @generated
*/
boolean isAssertTrue();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isAssertTrue Assert True}' attribute.
*
*
* @param value the new value of the 'Assert True' attribute.
* @see #isAssertTrue()
* @generated
*/
void setAssertTrue(boolean value);
/**
* Returns the value of the 'Assert True Message' attribute.
*
*
* If the meaning of the 'Assert True Message' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Assert True Message' attribute.
* @see #setAssertTrueMessage(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_AssertTrueMessage()
* @model
* @generated
*/
String getAssertTrueMessage();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getAssertTrueMessage Assert True Message}' attribute.
*
*
* @param value the new value of the 'Assert True Message' attribute.
* @see #getAssertTrueMessage()
* @generated
*/
void setAssertTrueMessage(String value);
/**
* Returns the value of the 'Credit Card Number' attribute.
*
*
* If the meaning of the 'Credit Card Number' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Credit Card Number' attribute.
* @see #setCreditCardNumber(boolean)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_CreditCardNumber()
* @model
* @generated
*/
boolean isCreditCardNumber();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isCreditCardNumber Credit Card Number}' attribute.
*
*
* @param value the new value of the 'Credit Card Number' attribute.
* @see #isCreditCardNumber()
* @generated
*/
void setCreditCardNumber(boolean value);
/**
* Returns the value of the 'Credit Card Number Message' attribute.
*
*
* If the meaning of the 'Credit Card Number Message' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Credit Card Number Message' attribute.
* @see #setCreditCardNumberMessage(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_CreditCardNumberMessage()
* @model
* @generated
*/
String getCreditCardNumberMessage();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getCreditCardNumberMessage Credit Card Number Message}' attribute.
*
*
* @param value the new value of the 'Credit Card Number Message' attribute.
* @see #getCreditCardNumberMessage()
* @generated
*/
void setCreditCardNumberMessage(String value);
/**
* Returns the value of the 'Digits' attribute.
*
*
* If the meaning of the 'Digits' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Digits' attribute.
* @see #setDigits(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Digits()
* @model
* @generated
*/
String getDigits();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getDigits Digits}' attribute.
*
*
* @param value the new value of the 'Digits' attribute.
* @see #getDigits()
* @generated
*/
void setDigits(String value);
/**
* Returns the value of the 'Email' attribute.
*
*
* If the meaning of the 'Email' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Email' attribute.
* @see #setEmail(boolean)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Email()
* @model
* @generated
*/
boolean isEmail();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isEmail Email}' attribute.
*
*
* @param value the new value of the 'Email' attribute.
* @see #isEmail()
* @generated
*/
void setEmail(boolean value);
/**
* Returns the value of the 'Email Message' attribute.
*
*
* If the meaning of the 'Email Message' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Email Message' attribute.
* @see #setEmailMessage(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_EmailMessage()
* @model
* @generated
*/
String getEmailMessage();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getEmailMessage Email Message}' attribute.
*
*
* @param value the new value of the 'Email Message' attribute.
* @see #getEmailMessage()
* @generated
*/
void setEmailMessage(String value);
/**
* Returns the value of the 'Future' attribute.
*
*
* If the meaning of the 'Future' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Future' attribute.
* @see #setFuture(boolean)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Future()
* @model
* @generated
*/
boolean isFuture();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isFuture Future}' attribute.
*
*
* @param value the new value of the 'Future' attribute.
* @see #isFuture()
* @generated
*/
void setFuture(boolean value);
/**
* Returns the value of the 'Future Message' attribute.
*
*
* If the meaning of the 'Future Message' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Future Message' attribute.
* @see #setFutureMessage(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_FutureMessage()
* @model
* @generated
*/
String getFutureMessage();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getFutureMessage Future Message}' attribute.
*
*
* @param value the new value of the 'Future Message' attribute.
* @see #getFutureMessage()
* @generated
*/
void setFutureMessage(String value);
/**
* Returns the value of the 'Past' attribute.
*
*
* If the meaning of the 'Past' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Past' attribute.
* @see #setPast(boolean)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Past()
* @model
* @generated
*/
boolean isPast();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isPast Past}' attribute.
*
*
* @param value the new value of the 'Past' attribute.
* @see #isPast()
* @generated
*/
void setPast(boolean value);
/**
* Returns the value of the 'Past Message' attribute.
*
*
* If the meaning of the 'Past Message' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Past Message' attribute.
* @see #setPastMessage(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_PastMessage()
* @model
* @generated
*/
String getPastMessage();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getPastMessage Past Message}' attribute.
*
*
* @param value the new value of the 'Past Message' attribute.
* @see #getPastMessage()
* @generated
*/
void setPastMessage(String value);
/**
* Returns the value of the 'Max' attribute.
*
*
* If the meaning of the 'Max' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Max' attribute.
* @see #setMax(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Max()
* @model
* @generated
*/
String getMax();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getMax Max}' attribute.
*
*
* @param value the new value of the 'Max' attribute.
* @see #getMax()
* @generated
*/
void setMax(String value);
/**
* Returns the value of the 'Min' attribute.
*
*
* If the meaning of the 'Min' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Min' attribute.
* @see #setMin(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Min()
* @model
* @generated
*/
String getMin();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getMin Min}' attribute.
*
*
* @param value the new value of the 'Min' attribute.
* @see #getMin()
* @generated
*/
void setMin(String value);
/**
* Returns the value of the 'Decimal Max' attribute.
*
*
* If the meaning of the 'Decimal Max' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Decimal Max' attribute.
* @see #setDecimalMax(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_DecimalMax()
* @model
* @generated
*/
String getDecimalMax();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getDecimalMax Decimal Max}' attribute.
*
*
* @param value the new value of the 'Decimal Max' attribute.
* @see #getDecimalMax()
* @generated
*/
void setDecimalMax(String value);
/**
* Returns the value of the 'Decimal Min' attribute.
*
*
* If the meaning of the 'Decimal Min' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Decimal Min' attribute.
* @see #setDecimalMin(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_DecimalMin()
* @model
* @generated
*/
String getDecimalMin();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getDecimalMin Decimal Min}' attribute.
*
*
* @param value the new value of the 'Decimal Min' attribute.
* @see #getDecimalMin()
* @generated
*/
void setDecimalMin(String value);
/**
* Returns the value of the 'Not Blank' attribute.
*
*
* If the meaning of the 'Not Blank' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Not Blank' attribute.
* @see #setNotBlank(boolean)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_NotBlank()
* @model
* @generated
*/
boolean isNotBlank();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#isNotBlank Not Blank}' attribute.
*
*
* @param value the new value of the 'Not Blank' attribute.
* @see #isNotBlank()
* @generated
*/
void setNotBlank(boolean value);
/**
* Returns the value of the 'Not Blank Message' attribute.
*
*
* If the meaning of the 'Not Blank Message' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Not Blank Message' attribute.
* @see #setNotBlankMessage(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_NotBlankMessage()
* @model
* @generated
*/
String getNotBlankMessage();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getNotBlankMessage Not Blank Message}' attribute.
*
*
* @param value the new value of the 'Not Blank Message' attribute.
* @see #getNotBlankMessage()
* @generated
*/
void setNotBlankMessage(String value);
/**
* Returns the value of the 'Pattern' attribute.
*
*
* If the meaning of the 'Pattern' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Pattern' attribute.
* @see #setPattern(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Pattern()
* @model
* @generated
*/
String getPattern();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getPattern Pattern}' attribute.
*
*
* @param value the new value of the 'Pattern' attribute.
* @see #getPattern()
* @generated
*/
void setPattern(String value);
/**
* Returns the value of the 'Range' attribute.
*
*
* If the meaning of the 'Range' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Range' attribute.
* @see #setRange(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Range()
* @model
* @generated
*/
String getRange();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getRange Range}' attribute.
*
*
* @param value the new value of the 'Range' attribute.
* @see #getRange()
* @generated
*/
void setRange(String value);
/**
* Returns the value of the 'Length' attribute.
*
*
* If the meaning of the 'Length' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Length' attribute.
* @see #setLength(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Length()
* @model
* @generated
*/
String getLength();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getLength Length}' attribute.
*
*
* @param value the new value of the 'Length' attribute.
* @see #getLength()
* @generated
*/
void setLength(String value);
/**
* Returns the value of the 'Script Assert' attribute.
*
*
* If the meaning of the 'Script Assert' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Script Assert' attribute.
* @see #setScriptAssert(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_ScriptAssert()
* @model
* @generated
*/
String getScriptAssert();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getScriptAssert Script Assert}' attribute.
*
*
* @param value the new value of the 'Script Assert' attribute.
* @see #getScriptAssert()
* @generated
*/
void setScriptAssert(String value);
/**
* Returns the value of the 'Url' attribute.
*
*
* If the meaning of the 'Url' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Url' attribute.
* @see #setUrl(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_Url()
* @model
* @generated
*/
String getUrl();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getUrl Url}' attribute.
*
*
* @param value the new value of the 'Url' attribute.
* @see #getUrl()
* @generated
*/
void setUrl(String value);
/**
* Returns the value of the 'Database Type' attribute.
*
*
* If the meaning of the 'Database Type' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Database Type' attribute.
* @see #setDatabaseType(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getAttribute_DatabaseType()
* @model
* @generated
*/
String getDatabaseType();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.Attribute#getDatabaseType Database Type}' attribute.
*
*
* @param value the new value of the 'Database Type' attribute.
* @see #getDatabaseType()
* @generated
*/
void setDatabaseType(String value);
} // Attribute