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;

/**
 *
 * @author lruffin
 */
@Entity
@Table(name = "USED_SETTING")
public class UsedSetting extends Setting{
    
    
    @NotNull
    @Column(name="AMOUNT")
    @Type(type="long")
    private long Amount;


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

    /**
     * Default constructor
     */
    public UsedSetting() {

    }

    public long getAmount() {
        return Amount;
    }

    public void setAmount(long Amount) {
        this.Amount = Amount;
    }

    

}

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;

/**
 *
 * @author lruffin
 */
@Entity
@Table(name = "USED_SETTING")
public class UsedSetting extends Setting{
    
    
    @NotNull
    @Column(name="AMOUNT")
    @Type(type="long")
    private long Amount;


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

    /**
     * Default constructor
     */
    public UsedSetting() {

    }

    public long getAmount() {
        return Amount;
    }

    public void setAmount(long Amount) {
        this.Amount = Amount;
    }

    

}

--- 
+++ 
@@ -23,7 +23,6 @@
     /**
      * Constructor; missing javadoc
      *
-     * @param Prepend
      * @param Prefix
      * @param TokenType
      * @param CharMap
@@ -31,7 +30,7 @@
      * @param SansVowels
      * @param Amount
      */
-    public UsedSetting(String Prepend, String Prefix, TokenType TokenType, String CharMap,
+    public UsedSetting(String Prefix, TokenType TokenType, String CharMap,
             int RootLength, boolean SansVowels, long Amount) {
         super(Prefix, TokenType, CharMap, RootLength, SansVowels);
         this.Amount = Amount;
Remove all instances of Prepend

Prepend was removed because it does not strictly contribute to the
creation of Pids; instead it is added to turn Pids into a URL specific
to the organization that created them.
