Interface Attribute
- All Superinterfaces:
AnyProperty
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
,Property
A representation of the model object 'Attribute'.
The following features are supported:
Type
Unique
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:
- Model:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Assert False Message' attribute.Returns the value of the 'Assert True Message' attribute.Returns the value of the 'Credit Card Number Message' attribute.Returns the value of the 'Database Type' attribute.Returns the value of the 'Decimal Max' attribute.Returns the value of the 'Decimal Min' attribute.Returns the value of the 'Digits' attribute.Returns the value of the 'Email Message' attribute.Returns the value of the 'Future Message' attribute.Returns the value of the 'Length' attribute.getMax()
Returns the value of the 'Max' attribute.getMin()
Returns the value of the 'Min' attribute.Returns the value of the 'Not Blank Message' attribute.Returns the value of the 'Past Message' attribute.Returns the value of the 'Pattern' attribute.getRange()
Returns the value of the 'Range' attribute.Returns the value of the 'Script Assert' attribute.getType()
Returns the value of the 'Type' attribute.getUrl()
Returns the value of the 'Url' attribute.boolean
Returns the value of the 'Assert False' attribute.boolean
Returns the value of the 'Assert True' attribute.boolean
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
Returns the value of the 'Not Blank' attribute.boolean
isPast()
Returns the value of the 'Past' attribute.boolean
isUnique()
Returns the value of the 'Unique' attribute.void
setAssertFalse
(boolean value) Sets the value of the 'Assert False
' attribute.void
setAssertFalseMessage
(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
(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
(String value) Sets the value of the 'Credit Card Number Message
' attribute.void
setDatabaseType
(String value) Sets the value of the 'Database Type
' attribute.void
setDecimalMax
(String value) Sets the value of the 'Decimal Max
' attribute.void
setDecimalMin
(String value) Sets the value of the 'Decimal Min
' attribute.void
Sets the value of the 'Digits
' attribute.void
setEmail
(boolean value) Sets the value of the 'Email
' attribute.void
setEmailMessage
(String value) Sets the value of the 'Email Message
' attribute.void
setFuture
(boolean value) Sets the value of the 'Future
' attribute.void
setFutureMessage
(String value) Sets the value of the 'Future Message
' attribute.void
setIndex
(boolean value) Sets the value of the 'Index
' attribute.void
Sets the value of the 'Length
' attribute.void
Sets the value of the 'Max
' attribute.void
Sets the value of the 'Min
' attribute.void
setNotBlank
(boolean value) Sets the value of the 'Not Blank
' attribute.void
setNotBlankMessage
(String value) Sets the value of the 'Not Blank Message
' attribute.void
setPast
(boolean value) Sets the value of the 'Past
' attribute.void
setPastMessage
(String value) Sets the value of the 'Past Message
' attribute.void
setPattern
(String value) Sets the value of the 'Pattern
' attribute.void
Sets the value of the 'Range
' attribute.void
setScriptAssert
(String value) Sets the value of the 'Script Assert
' attribute.void
Sets the value of the 'Type
' attribute.void
setUnique
(boolean value) Sets the value of the 'Unique
' attribute.void
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 Details
-
getType
String getType()Returns the value of the 'Type' attribute.- Returns:
- the value of the 'Type' attribute.
- See Also:
- Model:
- Generated:
-
setType
Sets the value of the 'Type
' attribute.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
- Generated:
-
isUnique
boolean isUnique()Returns the value of the 'Unique' attribute.- Returns:
- the value of the 'Unique' attribute.
- See Also:
- Model:
- Generated:
-
setUnique
void setUnique(boolean value) Sets the value of the 'Unique
' attribute.- Parameters:
value
- the new value of the 'Unique' attribute.- See Also:
- Generated:
-
isIndex
boolean isIndex()Returns the value of the 'Index' attribute.- Returns:
- the value of the 'Index' attribute.
- See Also:
- 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:
- Generated:
-
isAssertFalse
boolean isAssertFalse()Returns the value of the 'Assert False' attribute.- Returns:
- the value of the 'Assert False' attribute.
- See Also:
- 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:
- Generated:
-
getAssertFalseMessage
String getAssertFalseMessage()Returns the value of the 'Assert False Message' attribute.- Returns:
- the value of the 'Assert False Message' attribute.
- See Also:
- Model:
- Generated:
-
setAssertFalseMessage
Sets the value of the 'Assert False Message
' attribute.- Parameters:
value
- the new value of the 'Assert False Message' attribute.- See Also:
- Generated:
-
isAssertTrue
boolean isAssertTrue()Returns the value of the 'Assert True' attribute.- Returns:
- the value of the 'Assert True' attribute.
- See Also:
- 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:
- Generated:
-
getAssertTrueMessage
String getAssertTrueMessage()Returns the value of the 'Assert True Message' attribute.- Returns:
- the value of the 'Assert True Message' attribute.
- See Also:
- Model:
- Generated:
-
setAssertTrueMessage
Sets the value of the 'Assert True Message
' attribute.- Parameters:
value
- the new value of the 'Assert True Message' attribute.- See Also:
- Generated:
-
isCreditCardNumber
boolean isCreditCardNumber()Returns the value of the 'Credit Card Number' attribute.- Returns:
- the value of the 'Credit Card Number' attribute.
- See Also:
- 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:
- Generated:
-
getCreditCardNumberMessage
String getCreditCardNumberMessage()Returns the value of the 'Credit Card Number Message' attribute.- Returns:
- the value of the 'Credit Card Number Message' attribute.
- See Also:
- Model:
- Generated:
-
setCreditCardNumberMessage
Sets the value of the 'Credit Card Number Message
' attribute.- Parameters:
value
- the new value of the 'Credit Card Number Message' attribute.- See Also:
- Generated:
-
getDigits
String getDigits()Returns the value of the 'Digits' attribute.- Returns:
- the value of the 'Digits' attribute.
- See Also:
- Model:
- Generated:
-
setDigits
Sets the value of the 'Digits
' attribute.- Parameters:
value
- the new value of the 'Digits' attribute.- See Also:
- Generated:
-
isEmail
boolean isEmail()Returns the value of the 'Email' attribute.- Returns:
- the value of the 'Email' attribute.
- See Also:
- 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:
- Generated:
-
getEmailMessage
String getEmailMessage()Returns the value of the 'Email Message' attribute.- Returns:
- the value of the 'Email Message' attribute.
- See Also:
- Model:
- Generated:
-
setEmailMessage
Sets the value of the 'Email Message
' attribute.- Parameters:
value
- the new value of the 'Email Message' attribute.- See Also:
- Generated:
-
isFuture
boolean isFuture()Returns the value of the 'Future' attribute.- Returns:
- the value of the 'Future' attribute.
- See Also:
- 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:
- Generated:
-
getFutureMessage
String getFutureMessage()Returns the value of the 'Future Message' attribute.- Returns:
- the value of the 'Future Message' attribute.
- See Also:
- Model:
- Generated:
-
setFutureMessage
Sets the value of the 'Future Message
' attribute.- Parameters:
value
- the new value of the 'Future Message' attribute.- See Also:
- Generated:
-
isPast
boolean isPast()Returns the value of the 'Past' attribute.- Returns:
- the value of the 'Past' attribute.
- See Also:
- 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:
- Generated:
-
getPastMessage
String getPastMessage()Returns the value of the 'Past Message' attribute.- Returns:
- the value of the 'Past Message' attribute.
- See Also:
- Model:
- Generated:
-
setPastMessage
Sets the value of the 'Past Message
' attribute.- Parameters:
value
- the new value of the 'Past Message' attribute.- See Also:
- Generated:
-
getMax
String getMax()Returns the value of the 'Max' attribute.- Returns:
- the value of the 'Max' attribute.
- See Also:
- Model:
- Generated:
-
setMax
Sets the value of the 'Max
' attribute.- Parameters:
value
- the new value of the 'Max' attribute.- See Also:
- Generated:
-
getMin
String getMin()Returns the value of the 'Min' attribute.- Returns:
- the value of the 'Min' attribute.
- See Also:
- Model:
- Generated:
-
setMin
Sets the value of the 'Min
' attribute.- Parameters:
value
- the new value of the 'Min' attribute.- See Also:
- Generated:
-
getDecimalMax
String getDecimalMax()Returns the value of the 'Decimal Max' attribute.- Returns:
- the value of the 'Decimal Max' attribute.
- See Also:
- Model:
- Generated:
-
setDecimalMax
Sets the value of the 'Decimal Max
' attribute.- Parameters:
value
- the new value of the 'Decimal Max' attribute.- See Also:
- Generated:
-
getDecimalMin
String getDecimalMin()Returns the value of the 'Decimal Min' attribute.- Returns:
- the value of the 'Decimal Min' attribute.
- See Also:
- Model:
- Generated:
-
setDecimalMin
Sets the value of the 'Decimal Min
' attribute.- Parameters:
value
- the new value of the 'Decimal Min' attribute.- See Also:
- Generated:
-
isNotBlank
boolean isNotBlank()Returns the value of the 'Not Blank' attribute.- Returns:
- the value of the 'Not Blank' attribute.
- See Also:
- 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:
- Generated:
-
getNotBlankMessage
String getNotBlankMessage()Returns the value of the 'Not Blank Message' attribute.- Returns:
- the value of the 'Not Blank Message' attribute.
- See Also:
- Model:
- Generated:
-
setNotBlankMessage
Sets the value of the 'Not Blank Message
' attribute.- Parameters:
value
- the new value of the 'Not Blank Message' attribute.- See Also:
- Generated:
-
getPattern
String getPattern()Returns the value of the 'Pattern' attribute.- Returns:
- the value of the 'Pattern' attribute.
- See Also:
- Model:
- Generated:
-
setPattern
Sets the value of the 'Pattern
' attribute.- Parameters:
value
- the new value of the 'Pattern' attribute.- See Also:
- Generated:
-
getRange
String getRange()Returns the value of the 'Range' attribute.- Returns:
- the value of the 'Range' attribute.
- See Also:
- Model:
- Generated:
-
setRange
Sets the value of the 'Range
' attribute.- Parameters:
value
- the new value of the 'Range' attribute.- See Also:
- Generated:
-
getLength
String getLength()Returns the value of the 'Length' attribute.- Returns:
- the value of the 'Length' attribute.
- See Also:
- Model:
- Generated:
-
setLength
Sets the value of the 'Length
' attribute.- Parameters:
value
- the new value of the 'Length' attribute.- See Also:
- Generated:
-
getScriptAssert
String getScriptAssert()Returns the value of the 'Script Assert' attribute.- Returns:
- the value of the 'Script Assert' attribute.
- See Also:
- Model:
- Generated:
-
setScriptAssert
Sets the value of the 'Script Assert
' attribute.- Parameters:
value
- the new value of the 'Script Assert' attribute.- See Also:
- Generated:
-
getUrl
String getUrl()Returns the value of the 'Url' attribute.- Returns:
- the value of the 'Url' attribute.
- See Also:
- Model:
- Generated:
-
setUrl
Sets the value of the 'Url
' attribute.- Parameters:
value
- the new value of the 'Url' attribute.- See Also:
- Generated:
-
getDatabaseType
String getDatabaseType()Returns the value of the 'Database Type' attribute.- Returns:
- the value of the 'Database Type' attribute.
- See Also:
- Model:
- Generated:
-
setDatabaseType
Sets the value of the 'Database Type
' attribute.- Parameters:
value
- the new value of the 'Database Type' attribute.- See Also:
- Generated:
-