NameVal.java :  » Database-DBMS » perst » org » garret » rdf » Java Open Source

Java Open Source » Database DBMS » perst 
perst » org » garret » rdf » NameVal.java
package org.garret.rdf;

/**
 * Name:value pair used to specify property value
 */

public class NameVal {
   /** 
    * Name of the property
    */ 
    public String name;
    
   /** 
    * Value of the property (may be null or pattern)
    */
    public Object val;

   /** 
    * Constructor of name:valur pair
    * 
    * @param name name of the property
    * @param val value of the property
    */
    public NameVal(String name, Object val) { 
        this.name = name;
        this.val = val;
    }
}

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.