/* * (non-Javadoc) * * @see nl.knowlogy.validation.metadata.PropertyMetadata#getMaxSize() */ public Long getMaxSize() { return (Long) metadataMap.get(PropertyMetadata.MAX_SIZE); }
public Long getMaxLength() { return (Long) metadataMap.get(PropertyMetadata.MAX_LENGTH); }
/* * (non-Javadoc) * * @see nl.knowlogy.validation.metadata.PropertyMetadata#isRequired() */ public Boolean isRequired() { Boolean value = (Boolean) metadataMap.get(PropertyMetadata.REQUIRED); return value != null ? value : Boolean.FALSE; }
public String getAllowedValues() { return (String) metadataMap.get(PropertyMetadata.ALLOWED_VALUES); }
public String getPattern() { return (String) metadataMap.get(PropertyMetadata.PATTERN); }
/* * (non-Javadoc) * * @see nl.knowlogy.validation.metadata.PropertyMetadata#getMinSize() */ public Long getMinSize() { return (Long) metadataMap.get(PropertyMetadata.MIN_SIZE); }