Ignore:
Timestamp:
Jan 14, 2010, 10:51:03 PM (14 years ago)
Author:
gav
Message:

Refactor classes for asset tree refinement.
Regenerate views and controllers to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/ExtendedAttributeType.groovy

    r267 r268  
    1 class AssetExtendedAttributeType {
     1class ExtendedAttributeType {
    22
    33    String name
     
    55    boolean isActive = true
    66
    7     static hasMany = [assetExtendedAttributes: AssetExtendedAttribute]
     7//     static hasMany = []
    88
    99//     static belongsTo = []
    1010
    11 //     static constraints = {
    12 //
    13 //     }
     11    static constraints = {
     12        name(maxSize:50,unique:true,blank:false)
     13        description(maxSize:100)
     14        isActive()
     15    }
    1416
    1517    String toString() {
Note: See TracChangeset for help on using the changeset viewer.