Annotation of java/classes/org/w3c/rdf/Triple.java, revision 1.2

1.1       jsaarela    1: /**
                      2:  * Simple Triple class
                      3:  *
1.2     ! jsaarela    4:  * $Log: Triple.java,v $
        !             5:  * Revision 1.1  1998/05/12 13:15:25  jsaarela
        !             6:  * Routines for RDF manipulation added.
        !             7:  *
1.1       jsaarela    8:  *
                      9:  * @author Janne Saarela
                     10:  */
                     11: package org.w3c.rdf;
                     12: 
                     13: public class Triple
                     14: {
                     15:   private String       m_sPropertyType = null;
                     16:   private String       m_sPropertyObject = null;
                     17:   private String       m_sPropertyValue = null;
                     18: 
                     19:   /**
                     20:    * The parameters to constructor are in the following format
                     21:    * PropertyType, PropertyObject, PropertyValue
                     22:    */
1.2     ! jsaarela   23:   public Triple (String sPropertyType, String sPropertyObject, String sPropertyValue) {
1.1       jsaarela   24:     m_sPropertyType = sPropertyType;
                     25:     m_sPropertyObject = sPropertyObject;
                     26:     m_sPropertyValue = sPropertyValue;
                     27:   }
                     28: 
                     29:   public String property () {
                     30:     return m_sPropertyType;
                     31:   }
                     32: 
                     33:   public String object () {
                     34:     return m_sPropertyObject;
                     35:   }
                     36: 
                     37:   public String value () {
                     38:     return m_sPropertyValue;
                     39:   }
                     40: }

Webmaster