/**
* @param creditCard The creditCard to set.
*/
public void setCreditCard(boolean creditCard) {
if (isNotValidStringType()) {
throw new MissingPropertyException("CreditCard constraint only applies to a String property",
CREDIT_CARD_CONSTRAINT,owningClass);
}
Constraint c = appliedConstraints.get(CREDIT_CARD_CONSTRAINT);
if (creditCard) {