Пример #1
0
 /*
  * (non-Javadoc)
  *
  * @see nl.knowlogy.validation.metadata.PropertyMetadata#getMaxSize()
  */
 public Long getMaxSize() {
   return (Long) metadataMap.get(PropertyMetadata.MAX_SIZE);
 }
Пример #2
0
  public Long getMaxLength() {

    return (Long) metadataMap.get(PropertyMetadata.MAX_LENGTH);
  }
Пример #3
0
 /*
  * (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;
 }
Пример #4
0
 public String getAllowedValues() {
   return (String) metadataMap.get(PropertyMetadata.ALLOWED_VALUES);
 }
Пример #5
0
 public String getPattern() {
   return (String) metadataMap.get(PropertyMetadata.PATTERN);
 }
Пример #6
0
 /*
  * (non-Javadoc)
  *
  * @see nl.knowlogy.validation.metadata.PropertyMetadata#getMinSize()
  */
 public Long getMinSize() {
   return (Long) metadataMap.get(PropertyMetadata.MIN_SIZE);
 }