package com.hida.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import org.hibernate.annotations.Type;

/**
 * missing javadoc
 *
 * @author lruffin
 */
@Entity
@Table(name = "USED_SETTING")
public class UsedSetting extends Setting {

    @NotNull    
    @Column(name = "AMOUNT", nullable = false)
    @Type(type = "long")
    private long Amount;
    
    /**
     * Default constructor
     */
    public UsedSetting() {

    }

    /**
     * missing javadoc
     *
     * @param Prepend
     * @param Prefix
     * @param TokenType
     * @param CharMap
     * @param RootLength
     * @param SansVowels
     * @param Auto
     * @param Random
     */
    public UsedSetting(String Prepend, String Prefix, TokenType TokenType, String CharMap,
            int RootLength, boolean SansVowels, long RequestedAmount) {
        super(Prefix, TokenType, CharMap, RootLength, SansVowels);
        this.Amount = RequestedAmount;
        
    }
    
    

}

@@ -17,17 +17,16 @@
 .model;%0A
-%0A
 import j
@@ -204,35 +204,16 @@
 e;%0A%0A/**%0A
- * missing javadoc%0A
  *%0A * @a
@@ -308,19 +308,27 @@
  Setting
- 
 %7B%0A
+    %0A    
 %0A    @No
@@ -332,20 +332,16 @@
 @NotNull
-    
 %0A    @Co
@@ -353,19 +353,17 @@
 name
- = 
+=
 %22AMOUNT%22
 , nu
@@ -362,26 +362,8 @@
 UNT%22
-, nullable = false
 )%0A  
@@ -374,19 +374,17 @@
 ype(type
- = 
+=
 %22long%22)%0A
@@ -408,20 +408,17 @@
 Amount;%0A
-    
+%0A
 %0A    /**
@@ -429,17 +429,9 @@
   * 
-Default c
+C
 onst
@@ -440,66 +440,9 @@
 ctor
-%0A     */%0A    public UsedSetting() %7B%0A%0A    %7D%0A%0A    /**%0A     *
+;
  mis
@@ -619,32 +619,13 @@
 am A
-uto%0A     * @param Random
+mount
 %0A   
@@ -773,25 +773,16 @@
 s, long 
-Requested
 Amount) 
@@ -876,17 +876,163 @@
 t = 
-Requested
+Amount;%0A                %0A    %7D%0A%0A    /**%0A     * Default constructor%0A     */%0A    public UsedSetting() %7B%0A%0A    %7D%0A%0A    public long getAmount() %7B%0A        return 
 Amou
@@ -1043,23 +1043,88 @@
     
+%7D%0A%0A
     
+public void setAmount(long Amount) %7B%0A        this.Amount = Amount;
 %0A    %7D%0A
-    
 %0A   

Create class UsedSetting