Issue 12730

WritableNetworkEntity's "alias" attribute should contain an annotation preventing it to exceed 255 characters.

12730
Reporter: jcuadra
Type: Improvement
Summary: WritableNetworkEntity's "alias" attribute should contain an annotation preventing it to exceed 255 characters.
Priority: Minor
Resolution: Fixed
Status: Closed
Created: 2013-02-15 17:10:36.465
Updated: 2013-12-16 17:51:02.223
Resolved: 2013-12-11 17:38:35.755
        
Description: This comes from issue REG-218, on a suggestion made by Lars.

]]>
    


Author: kbraak@gbif.org
Created: 2013-12-11 17:38:35.784
Updated: 2013-12-11 17:39:20.236
        
And it does.

See https://code.google.com/p/gbif-common-resources/source/browse/gbif-api/trunk/src/main/java/org/gbif/api/model/registry/Dataset.java#312

{code}
  @Nullable
  @Size(min = 2, max = 50)
  public String getAlias() {
    return alias;
  }
{code}

Closing issue.