/** * Copyright © World Wide Web Consortium, (Massachusetts Institute of * Technology, Institut National de Recherche en Informatique et en * Automatique, Keio University). * * All Rights Reserved. * * Please see the full Copyright clause at * * * $Log: Property.java,v $ * Revision 1.1 1999/04/01 09:32:38 jsaarela * SiRPAC distribution release V1.11 on 1-Apr-99 * * * @author Janne Saarela */ package org.w3c.rdf; public class Property extends Resource { private String m_sPredicate; public Property() { m_sPredicate = "undefined"; } public Property (String sPredicate) { m_sPredicate = sPredicate; } public void setPredicate (String sPredicate) { m_sPredicate = sPredicate; } public String getPredicate () { return m_sPredicate; } public String toString () { return m_sPredicate; } public boolean equals (Property p) { return p.toString().equals (m_sPredicate); } }