Interface Attribute
-
- All Superinterfaces:
AnyProperty
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
,Property
public interface Attribute extends Property
A representation of the model object 'Attribute'.The following features are supported:
Type
Index
Assert False
Assert False Message
Assert True
Assert True Message
Credit Card Number
Credit Card Number Message
Digits
Email
Email Message
Future
Future Message
Past
Past Message
Max
Min
Decimal Max
Decimal Min
Not Blank
Not Blank Message
Pattern
Range
Length
Script Assert
Url
Database Type
- See Also:
TacticdslPackage.getAttribute()
- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAssertFalseMessage()
Returns the value of the 'Assert False Message' attribute.java.lang.String
getAssertTrueMessage()
Returns the value of the 'Assert True Message' attribute.java.lang.String
getCreditCardNumberMessage()
Returns the value of the 'Credit Card Number Message' attribute.java.lang.String
getDatabaseType()
Returns the value of the 'Database Type' attribute.java.lang.String
getDecimalMax()
Returns the value of the 'Decimal Max' attribute.java.lang.String
getDecimalMin()
Returns the value of the 'Decimal Min' attribute.java.lang.String
getDigits()
Returns the value of the 'Digits' attribute.java.lang.String
getEmailMessage()
Returns the value of the 'Email Message' attribute.java.lang.String
getFutureMessage()
Returns the value of the 'Future Message' attribute.java.lang.String
getLength()
Returns the value of the 'Length' attribute.java.lang.String
getMax()
Returns the value of the 'Max' attribute.java.lang.String
getMin()
Returns the value of the 'Min' attribute.java.lang.String
getNotBlankMessage()
Returns the value of the 'Not Blank Message' attribute.java.lang.String
getPastMessage()
Returns the value of the 'Past Message' attribute.java.lang.String
getPattern()
Returns the value of the 'Pattern' attribute.java.lang.String
getRange()
Returns the value of the 'Range' attribute.java.lang.String
getScriptAssert()
Returns the value of the 'Script Assert' attribute.java.lang.String
getType()
Returns the value of the 'Type' attribute.java.lang.String
getUrl()
Returns the value of the 'Url' attribute.boolean
isAssertFalse()
Returns the value of the 'Assert False' attribute.boolean
isAssertTrue()
Returns the value of the 'Assert True' attribute.boolean
isCreditCardNumber()
Returns the value of the 'Credit Card Number' attribute.boolean
isEmail()
Returns the value of the 'Email' attribute.boolean
isFuture()
Returns the value of the 'Future' attribute.boolean
isIndex()
Returns the value of the 'Index' attribute.boolean
isNotBlank()
Returns the value of the 'Not Blank' attribute.boolean
isPast()
Returns the value of the 'Past' attribute.void
setAssertFalse(boolean value)
Sets the value of the 'Assert False
' attribute.void
setAssertFalseMessage(java.lang.String value)
Sets the value of the 'Assert False Message
' attribute.void
setAssertTrue(boolean value)
Sets the value of the 'Assert True
' attribute.void
setAssertTrueMessage(java.lang.String value)
Sets the value of the 'Assert True Message
' attribute.void
setCreditCardNumber(boolean value)
Sets the value of the 'Credit Card Number
' attribute.void
setCreditCardNumberMessage(java.lang.String value)
Sets the value of the 'Credit Card Number Message
' attribute.void
setDatabaseType(java.lang.String value)
Sets the value of the 'Database Type
' attribute.void
setDecimalMax(java.lang.String value)
Sets the value of the 'Decimal Max
' attribute.void
setDecimalMin(java.lang.String value)
Sets the value of the 'Decimal Min
' attribute.void
setDigits(java.lang.String value)
Sets the value of the 'Digits
' attribute.void
setEmail(boolean value)
Sets the value of the 'Email
' attribute.void
setEmailMessage(java.lang.String value)
Sets the value of the 'Email Message
' attribute.void
setFuture(boolean value)
Sets the value of the 'Future
' attribute.void
setFutureMessage(java.lang.String value)
Sets the value of the 'Future Message
' attribute.void
setIndex(boolean value)
Sets the value of the 'Index
' attribute.void
setLength(java.lang.String value)
Sets the value of the 'Length
' attribute.void
setMax(java.lang.String value)
Sets the value of the 'Max
' attribute.void
setMin(java.lang.String value)
Sets the value of the 'Min
' attribute.void
setNotBlank(boolean value)
Sets the value of the 'Not Blank
' attribute.void
setNotBlankMessage(java.lang.String value)
Sets the value of the 'Not Blank Message
' attribute.void
setPast(boolean value)
Sets the value of the 'Past
' attribute.void
setPastMessage(java.lang.String value)
Sets the value of the 'Past Message
' attribute.void
setPattern(java.lang.String value)
Sets the value of the 'Pattern
' attribute.void
setRange(java.lang.String value)
Sets the value of the 'Range
' attribute.void
setScriptAssert(java.lang.String value)
Sets the value of the 'Script Assert
' attribute.void
setType(java.lang.String value)
Sets the value of the 'Type
' attribute.void
setUrl(java.lang.String value)
Sets the value of the 'Url
' attribute.-
Methods inherited from interface org.contextmapper.tactic.dsl.tacticdsl.AnyProperty
getCollectionType, getDoc, getHint, getName, getNotEmptyMessage, getNullableMessage, getSize, getValidate, getVisibility, isKey, isNotChangeable, isNotEmpty, isNullable, isRequired, isTransient, setCollectionType, setDoc, setHint, setKey, setName, setNotChangeable, setNotEmpty, setNotEmptyMessage, setNullable, setNullableMessage, setRequired, setSize, setTransient, setValidate, setVisibility
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.contextmapper.tactic.dsl.tacticdsl.Property
getDatabaseColumn, setDatabaseColumn
-
-
-
-
Method Detail
-
getType
java.lang.String getType()
Returns the value of the 'Type' attribute.- Returns:
- the value of the 'Type' attribute.
- See Also:
setType(String)
,TacticdslPackage.getAttribute_Type()
- Model:
- Generated:
-
setType
void setType(java.lang.String value)
Sets the value of the 'Type
' attribute.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
getType()
- Generated:
-
isIndex
boolean isIndex()
Returns the value of the 'Index' attribute.- Returns:
- the value of the 'Index' attribute.
- See Also:
setIndex(boolean)
,TacticdslPackage.getAttribute_Index()
- Model:
- Generated:
-
setIndex
void setIndex(boolean value)
Sets the value of the 'Index
' attribute.- Parameters:
value
- the new value of the 'Index' attribute.- See Also:
isIndex()
- Generated:
-
isAssertFalse
boolean isAssertFalse()
Returns the value of the 'Assert False' attribute.- Returns:
- the value of the 'Assert False' attribute.
- See Also:
setAssertFalse(boolean)
,TacticdslPackage.getAttribute_AssertFalse()
- Model:
- Generated:
-
setAssertFalse
void setAssertFalse(boolean value)
Sets the value of the 'Assert False
' attribute.- Parameters:
value
- the new value of the 'Assert False' attribute.- See Also:
isAssertFalse()
- Generated:
-
getAssertFalseMessage
java.lang.String getAssertFalseMessage()
Returns the value of the 'Assert False Message' attribute.- Returns:
- the value of the 'Assert False Message' attribute.
- See Also:
setAssertFalseMessage(String)
,TacticdslPackage.getAttribute_AssertFalseMessage()
- Model:
- Generated:
-
setAssertFalseMessage
void setAssertFalseMessage(java.lang.String value)
Sets the value of the 'Assert False Message
' attribute.- Parameters:
value
- the new value of the 'Assert False Message' attribute.- See Also:
getAssertFalseMessage()
- Generated:
-
isAssertTrue
boolean isAssertTrue()
Returns the value of the 'Assert True' attribute.- Returns:
- the value of the 'Assert True' attribute.
- See Also:
setAssertTrue(boolean)
,TacticdslPackage.getAttribute_AssertTrue()
- Model:
- Generated:
-
setAssertTrue
void setAssertTrue(boolean value)
Sets the value of the 'Assert True
' attribute.- Parameters:
value
- the new value of the 'Assert True' attribute.- See Also:
isAssertTrue()
- Generated:
-
getAssertTrueMessage
java.lang.String getAssertTrueMessage()
Returns the value of the 'Assert True Message' attribute.- Returns:
- the value of the 'Assert True Message' attribute.
- See Also:
setAssertTrueMessage(String)
,TacticdslPackage.getAttribute_AssertTrueMessage()
- Model:
- Generated:
-
setAssertTrueMessage
void setAssertTrueMessage(java.lang.String value)
Sets the value of the 'Assert True Message
' attribute.- Parameters:
value
- the new value of the 'Assert True Message' attribute.- See Also:
getAssertTrueMessage()
- Generated:
-
isCreditCardNumber
boolean isCreditCardNumber()
Returns the value of the 'Credit Card Number' attribute.- Returns:
- the value of the 'Credit Card Number' attribute.
- See Also:
setCreditCardNumber(boolean)
,TacticdslPackage.getAttribute_CreditCardNumber()
- Model:
- Generated:
-
setCreditCardNumber
void setCreditCardNumber(boolean value)
Sets the value of the 'Credit Card Number
' attribute.- Parameters:
value
- the new value of the 'Credit Card Number' attribute.- See Also:
isCreditCardNumber()
- Generated:
-
getCreditCardNumberMessage
java.lang.String getCreditCardNumberMessage()
Returns the value of the 'Credit Card Number Message' attribute.- Returns:
- the value of the 'Credit Card Number Message' attribute.
- See Also:
setCreditCardNumberMessage(String)
,TacticdslPackage.getAttribute_CreditCardNumberMessage()
- Model:
- Generated:
-
setCreditCardNumberMessage
void setCreditCardNumberMessage(java.lang.String value)
Sets the value of the 'Credit Card Number Message
' attribute.- Parameters:
value
- the new value of the 'Credit Card Number Message' attribute.- See Also:
getCreditCardNumberMessage()
- Generated:
-
getDigits
java.lang.String getDigits()
Returns the value of the 'Digits' attribute.- Returns:
- the value of the 'Digits' attribute.
- See Also:
setDigits(String)
,TacticdslPackage.getAttribute_Digits()
- Model:
- Generated:
-
setDigits
void setDigits(java.lang.String value)
Sets the value of the 'Digits
' attribute.- Parameters:
value
- the new value of the 'Digits' attribute.- See Also:
getDigits()
- Generated:
-
isEmail
boolean isEmail()
Returns the value of the 'Email' attribute.- Returns:
- the value of the 'Email' attribute.
- See Also:
setEmail(boolean)
,TacticdslPackage.getAttribute_Email()
- Model:
- Generated:
-
setEmail
void setEmail(boolean value)
Sets the value of the 'Email
' attribute.- Parameters:
value
- the new value of the 'Email' attribute.- See Also:
isEmail()
- Generated:
-
getEmailMessage
java.lang.String getEmailMessage()
Returns the value of the 'Email Message' attribute.- Returns:
- the value of the 'Email Message' attribute.
- See Also:
setEmailMessage(String)
,TacticdslPackage.getAttribute_EmailMessage()
- Model:
- Generated:
-
setEmailMessage
void setEmailMessage(java.lang.String value)
Sets the value of the 'Email Message
' attribute.- Parameters:
value
- the new value of the 'Email Message' attribute.- See Also:
getEmailMessage()
- Generated:
-
isFuture
boolean isFuture()
Returns the value of the 'Future' attribute.- Returns:
- the value of the 'Future' attribute.
- See Also:
setFuture(boolean)
,TacticdslPackage.getAttribute_Future()
- Model:
- Generated:
-
setFuture
void setFuture(boolean value)
Sets the value of the 'Future
' attribute.- Parameters:
value
- the new value of the 'Future' attribute.- See Also:
isFuture()
- Generated:
-
getFutureMessage
java.lang.String getFutureMessage()
Returns the value of the 'Future Message' attribute.- Returns:
- the value of the 'Future Message' attribute.
- See Also:
setFutureMessage(String)
,TacticdslPackage.getAttribute_FutureMessage()
- Model:
- Generated:
-
setFutureMessage
void setFutureMessage(java.lang.String value)
Sets the value of the 'Future Message
' attribute.- Parameters:
value
- the new value of the 'Future Message' attribute.- See Also:
getFutureMessage()
- Generated:
-
isPast
boolean isPast()
Returns the value of the 'Past' attribute.- Returns:
- the value of the 'Past' attribute.
- See Also:
setPast(boolean)
,TacticdslPackage.getAttribute_Past()
- Model:
- Generated:
-
setPast
void setPast(boolean value)
Sets the value of the 'Past
' attribute.- Parameters:
value
- the new value of the 'Past' attribute.- See Also:
isPast()
- Generated:
-
getPastMessage
java.lang.String getPastMessage()
Returns the value of the 'Past Message' attribute.- Returns:
- the value of the 'Past Message' attribute.
- See Also:
setPastMessage(String)
,TacticdslPackage.getAttribute_PastMessage()
- Model:
- Generated:
-
setPastMessage
void setPastMessage(java.lang.String value)
Sets the value of the 'Past Message
' attribute.- Parameters:
value
- the new value of the 'Past Message' attribute.- See Also:
getPastMessage()
- Generated:
-
getMax
java.lang.String getMax()
Returns the value of the 'Max' attribute.- Returns:
- the value of the 'Max' attribute.
- See Also:
setMax(String)
,TacticdslPackage.getAttribute_Max()
- Model:
- Generated:
-
setMax
void setMax(java.lang.String value)
Sets the value of the 'Max
' attribute.- Parameters:
value
- the new value of the 'Max' attribute.- See Also:
getMax()
- Generated:
-
getMin
java.lang.String getMin()
Returns the value of the 'Min' attribute.- Returns:
- the value of the 'Min' attribute.
- See Also:
setMin(String)
,TacticdslPackage.getAttribute_Min()
- Model:
- Generated:
-
setMin
void setMin(java.lang.String value)
Sets the value of the 'Min
' attribute.- Parameters:
value
- the new value of the 'Min' attribute.- See Also:
getMin()
- Generated:
-
getDecimalMax
java.lang.String getDecimalMax()
Returns the value of the 'Decimal Max' attribute.- Returns:
- the value of the 'Decimal Max' attribute.
- See Also:
setDecimalMax(String)
,TacticdslPackage.getAttribute_DecimalMax()
- Model:
- Generated:
-
setDecimalMax
void setDecimalMax(java.lang.String value)
Sets the value of the 'Decimal Max
' attribute.- Parameters:
value
- the new value of the 'Decimal Max' attribute.- See Also:
getDecimalMax()
- Generated:
-
getDecimalMin
java.lang.String getDecimalMin()
Returns the value of the 'Decimal Min' attribute.- Returns:
- the value of the 'Decimal Min' attribute.
- See Also:
setDecimalMin(String)
,TacticdslPackage.getAttribute_DecimalMin()
- Model:
- Generated:
-
setDecimalMin
void setDecimalMin(java.lang.String value)
Sets the value of the 'Decimal Min
' attribute.- Parameters:
value
- the new value of the 'Decimal Min' attribute.- See Also:
getDecimalMin()
- Generated:
-
isNotBlank
boolean isNotBlank()
Returns the value of the 'Not Blank' attribute.- Returns:
- the value of the 'Not Blank' attribute.
- See Also:
setNotBlank(boolean)
,TacticdslPackage.getAttribute_NotBlank()
- Model:
- Generated:
-
setNotBlank
void setNotBlank(boolean value)
Sets the value of the 'Not Blank
' attribute.- Parameters:
value
- the new value of the 'Not Blank' attribute.- See Also:
isNotBlank()
- Generated:
-
getNotBlankMessage
java.lang.String getNotBlankMessage()
Returns the value of the 'Not Blank Message' attribute.- Returns:
- the value of the 'Not Blank Message' attribute.
- See Also:
setNotBlankMessage(String)
,TacticdslPackage.getAttribute_NotBlankMessage()
- Model:
- Generated:
-
setNotBlankMessage
void setNotBlankMessage(java.lang.String value)
Sets the value of the 'Not Blank Message
' attribute.- Parameters:
value
- the new value of the 'Not Blank Message' attribute.- See Also:
getNotBlankMessage()
- Generated:
-
getPattern
java.lang.String getPattern()
Returns the value of the 'Pattern' attribute.- Returns:
- the value of the 'Pattern' attribute.
- See Also:
setPattern(String)
,TacticdslPackage.getAttribute_Pattern()
- Model:
- Generated:
-
setPattern
void setPattern(java.lang.String value)
Sets the value of the 'Pattern
' attribute.- Parameters:
value
- the new value of the 'Pattern' attribute.- See Also:
getPattern()
- Generated:
-
getRange
java.lang.String getRange()
Returns the value of the 'Range' attribute.- Returns:
- the value of the 'Range' attribute.
- See Also:
setRange(String)
,TacticdslPackage.getAttribute_Range()
- Model:
- Generated:
-
setRange
void setRange(java.lang.String value)
Sets the value of the 'Range
' attribute.- Parameters:
value
- the new value of the 'Range' attribute.- See Also:
getRange()
- Generated:
-
getLength
java.lang.String getLength()
Returns the value of the 'Length' attribute.- Returns:
- the value of the 'Length' attribute.
- See Also:
setLength(String)
,TacticdslPackage.getAttribute_Length()
- Model:
- Generated:
-
setLength
void setLength(java.lang.String value)
Sets the value of the 'Length
' attribute.- Parameters:
value
- the new value of the 'Length' attribute.- See Also:
getLength()
- Generated:
-
getScriptAssert
java.lang.String getScriptAssert()
Returns the value of the 'Script Assert' attribute.- Returns:
- the value of the 'Script Assert' attribute.
- See Also:
setScriptAssert(String)
,TacticdslPackage.getAttribute_ScriptAssert()
- Model:
- Generated:
-
setScriptAssert
void setScriptAssert(java.lang.String value)
Sets the value of the 'Script Assert
' attribute.- Parameters:
value
- the new value of the 'Script Assert' attribute.- See Also:
getScriptAssert()
- Generated:
-
getUrl
java.lang.String getUrl()
Returns the value of the 'Url' attribute.- Returns:
- the value of the 'Url' attribute.
- See Also:
setUrl(String)
,TacticdslPackage.getAttribute_Url()
- Model:
- Generated:
-
setUrl
void setUrl(java.lang.String value)
Sets the value of the 'Url
' attribute.- Parameters:
value
- the new value of the 'Url' attribute.- See Also:
getUrl()
- Generated:
-
getDatabaseType
java.lang.String getDatabaseType()
Returns the value of the 'Database Type' attribute.- Returns:
- the value of the 'Database Type' attribute.
- See Also:
setDatabaseType(String)
,TacticdslPackage.getAttribute_DatabaseType()
- Model:
- Generated:
-
setDatabaseType
void setDatabaseType(java.lang.String value)
Sets the value of the 'Database Type
' attribute.- Parameters:
value
- the new value of the 'Database Type' attribute.- See Also:
getDatabaseType()
- Generated:
-
-