/** Objects of class PRanking are used to * store the ranking information. * * @author Gregor Panzer * qversion 0.1 */ public class PRanking { /** The variable contains the ranking term */ private String rTerm; /** The variable contains the weight for the ranking */ private int weight; /** The variable contains the name of a meta tag */ private String metaName; /** The variable contains the value of a meta tag */ private String metaValue; /** The String should only contain AND, OR, NOT as values */ private String boolOp; /** The variable contains a reference to the next ranking * expression */ private PRanking nextRanking; /** Set up a new PRanking object. */ public PRanking () { } /** Selectors */ public String getTerm() {return rTerm;} public int getWeight() {return weight;} public String getMetaName() {return metaName;} public String getMetaValue() {return metaValue;} public String getBoolOp() {return boolOp;} public PRanking getNextRanking() {return nextRanking;} }