public interface Attribute extends Property
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
TacticdslPackage.getAttribute()
Modifier and Type | Method and 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. |
getDatabaseColumn, setDatabaseColumn
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
java.lang.String getType()
If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here...
setType(String)
,
TacticdslPackage.getAttribute_Type()
void setType(java.lang.String value)
Type
' attribute.
value
- the new value of the 'Type' attribute.getType()
boolean isIndex()
If the meaning of the 'Index' attribute isn't clear, there really should be more of a description here...
setIndex(boolean)
,
TacticdslPackage.getAttribute_Index()
void setIndex(boolean value)
Index
' attribute.
value
- the new value of the 'Index' attribute.isIndex()
boolean isAssertFalse()
If the meaning of the 'Assert False' attribute isn't clear, there really should be more of a description here...
setAssertFalse(boolean)
,
TacticdslPackage.getAttribute_AssertFalse()
void setAssertFalse(boolean value)
Assert False
' attribute.
value
- the new value of the 'Assert False' attribute.isAssertFalse()
java.lang.String getAssertFalseMessage()
If the meaning of the 'Assert False Message' attribute isn't clear, there really should be more of a description here...
setAssertFalseMessage(String)
,
TacticdslPackage.getAttribute_AssertFalseMessage()
void setAssertFalseMessage(java.lang.String value)
Assert False Message
' attribute.
value
- the new value of the 'Assert False Message' attribute.getAssertFalseMessage()
boolean isAssertTrue()
If the meaning of the 'Assert True' attribute isn't clear, there really should be more of a description here...
setAssertTrue(boolean)
,
TacticdslPackage.getAttribute_AssertTrue()
void setAssertTrue(boolean value)
Assert True
' attribute.
value
- the new value of the 'Assert True' attribute.isAssertTrue()
java.lang.String getAssertTrueMessage()
If the meaning of the 'Assert True Message' attribute isn't clear, there really should be more of a description here...
setAssertTrueMessage(String)
,
TacticdslPackage.getAttribute_AssertTrueMessage()
void setAssertTrueMessage(java.lang.String value)
Assert True Message
' attribute.
value
- the new value of the 'Assert True Message' attribute.getAssertTrueMessage()
boolean isCreditCardNumber()
If the meaning of the 'Credit Card Number' attribute isn't clear, there really should be more of a description here...
setCreditCardNumber(boolean)
,
TacticdslPackage.getAttribute_CreditCardNumber()
void setCreditCardNumber(boolean value)
Credit Card Number
' attribute.
value
- the new value of the 'Credit Card Number' attribute.isCreditCardNumber()
java.lang.String getCreditCardNumberMessage()
If the meaning of the 'Credit Card Number Message' attribute isn't clear, there really should be more of a description here...
setCreditCardNumberMessage(String)
,
TacticdslPackage.getAttribute_CreditCardNumberMessage()
void setCreditCardNumberMessage(java.lang.String value)
Credit Card Number Message
' attribute.
value
- the new value of the 'Credit Card Number Message' attribute.getCreditCardNumberMessage()
java.lang.String getDigits()
If the meaning of the 'Digits' attribute isn't clear, there really should be more of a description here...
setDigits(String)
,
TacticdslPackage.getAttribute_Digits()
void setDigits(java.lang.String value)
Digits
' attribute.
value
- the new value of the 'Digits' attribute.getDigits()
boolean isEmail()
If the meaning of the 'Email' attribute isn't clear, there really should be more of a description here...
setEmail(boolean)
,
TacticdslPackage.getAttribute_Email()
void setEmail(boolean value)
Email
' attribute.
value
- the new value of the 'Email' attribute.isEmail()
java.lang.String getEmailMessage()
If the meaning of the 'Email Message' attribute isn't clear, there really should be more of a description here...
setEmailMessage(String)
,
TacticdslPackage.getAttribute_EmailMessage()
void setEmailMessage(java.lang.String value)
Email Message
' attribute.
value
- the new value of the 'Email Message' attribute.getEmailMessage()
boolean isFuture()
If the meaning of the 'Future' attribute isn't clear, there really should be more of a description here...
setFuture(boolean)
,
TacticdslPackage.getAttribute_Future()
void setFuture(boolean value)
Future
' attribute.
value
- the new value of the 'Future' attribute.isFuture()
java.lang.String getFutureMessage()
If the meaning of the 'Future Message' attribute isn't clear, there really should be more of a description here...
setFutureMessage(String)
,
TacticdslPackage.getAttribute_FutureMessage()
void setFutureMessage(java.lang.String value)
Future Message
' attribute.
value
- the new value of the 'Future Message' attribute.getFutureMessage()
boolean isPast()
If the meaning of the 'Past' attribute isn't clear, there really should be more of a description here...
setPast(boolean)
,
TacticdslPackage.getAttribute_Past()
void setPast(boolean value)
Past
' attribute.
value
- the new value of the 'Past' attribute.isPast()
java.lang.String getPastMessage()
If the meaning of the 'Past Message' attribute isn't clear, there really should be more of a description here...
setPastMessage(String)
,
TacticdslPackage.getAttribute_PastMessage()
void setPastMessage(java.lang.String value)
Past Message
' attribute.
value
- the new value of the 'Past Message' attribute.getPastMessage()
java.lang.String getMax()
If the meaning of the 'Max' attribute isn't clear, there really should be more of a description here...
setMax(String)
,
TacticdslPackage.getAttribute_Max()
void setMax(java.lang.String value)
Max
' attribute.
value
- the new value of the 'Max' attribute.getMax()
java.lang.String getMin()
If the meaning of the 'Min' attribute isn't clear, there really should be more of a description here...
setMin(String)
,
TacticdslPackage.getAttribute_Min()
void setMin(java.lang.String value)
Min
' attribute.
value
- the new value of the 'Min' attribute.getMin()
java.lang.String getDecimalMax()
If the meaning of the 'Decimal Max' attribute isn't clear, there really should be more of a description here...
setDecimalMax(String)
,
TacticdslPackage.getAttribute_DecimalMax()
void setDecimalMax(java.lang.String value)
Decimal Max
' attribute.
value
- the new value of the 'Decimal Max' attribute.getDecimalMax()
java.lang.String getDecimalMin()
If the meaning of the 'Decimal Min' attribute isn't clear, there really should be more of a description here...
setDecimalMin(String)
,
TacticdslPackage.getAttribute_DecimalMin()
void setDecimalMin(java.lang.String value)
Decimal Min
' attribute.
value
- the new value of the 'Decimal Min' attribute.getDecimalMin()
boolean isNotBlank()
If the meaning of the 'Not Blank' attribute isn't clear, there really should be more of a description here...
setNotBlank(boolean)
,
TacticdslPackage.getAttribute_NotBlank()
void setNotBlank(boolean value)
Not Blank
' attribute.
value
- the new value of the 'Not Blank' attribute.isNotBlank()
java.lang.String getNotBlankMessage()
If the meaning of the 'Not Blank Message' attribute isn't clear, there really should be more of a description here...
setNotBlankMessage(String)
,
TacticdslPackage.getAttribute_NotBlankMessage()
void setNotBlankMessage(java.lang.String value)
Not Blank Message
' attribute.
value
- the new value of the 'Not Blank Message' attribute.getNotBlankMessage()
java.lang.String getPattern()
If the meaning of the 'Pattern' attribute isn't clear, there really should be more of a description here...
setPattern(String)
,
TacticdslPackage.getAttribute_Pattern()
void setPattern(java.lang.String value)
Pattern
' attribute.
value
- the new value of the 'Pattern' attribute.getPattern()
java.lang.String getRange()
If the meaning of the 'Range' attribute isn't clear, there really should be more of a description here...
setRange(String)
,
TacticdslPackage.getAttribute_Range()
void setRange(java.lang.String value)
Range
' attribute.
value
- the new value of the 'Range' attribute.getRange()
java.lang.String getLength()
If the meaning of the 'Length' attribute isn't clear, there really should be more of a description here...
setLength(String)
,
TacticdslPackage.getAttribute_Length()
void setLength(java.lang.String value)
Length
' attribute.
value
- the new value of the 'Length' attribute.getLength()
java.lang.String getScriptAssert()
If the meaning of the 'Script Assert' attribute isn't clear, there really should be more of a description here...
setScriptAssert(String)
,
TacticdslPackage.getAttribute_ScriptAssert()
void setScriptAssert(java.lang.String value)
Script Assert
' attribute.
value
- the new value of the 'Script Assert' attribute.getScriptAssert()
java.lang.String getUrl()
If the meaning of the 'Url' attribute isn't clear, there really should be more of a description here...
setUrl(String)
,
TacticdslPackage.getAttribute_Url()
void setUrl(java.lang.String value)
Url
' attribute.
value
- the new value of the 'Url' attribute.getUrl()
java.lang.String getDatabaseType()
If the meaning of the 'Database Type' attribute isn't clear, there really should be more of a description here...
setDatabaseType(String)
,
TacticdslPackage.getAttribute_DatabaseType()
void setDatabaseType(java.lang.String value)
Database Type
' attribute.
value
- the new value of the 'Database Type' attribute.getDatabaseType()