001 /*
002 * The contents of this file are subject to the Mozilla Public License
003 * Version 1.1 (the "License"); you may not use this file except in
004 * compliance with the License. You may obtain a copy of the License at
005 * http://www.mozilla.org/MPL/
006 *
007 * Software distributed under the License is distributed on an "AS IS" basis,
008 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
009 * the specific language governing rights and limitations under the License.
010 *
011 * The Original Code is Protege-2000.
012 *
013 * The Initial Developer of the Original Code is Stanford University. Portions
014 * created by Stanford University are Copyright (C) 2007. All Rights Reserved.
015 *
016 * Protege was developed by Stanford Medical Informatics
017 * (http://www.smi.stanford.edu) at the Stanford University School of Medicine
018 * with support from the National Library of Medicine, the National Science
019 * Foundation, and the Defense Advanced Research Projects Agency. Current
020 * information about Protege can be obtained at http://protege.stanford.edu.
021 *
022 */
023
024 package edu.stanford.smi.protegex.owlx.examples.javaDemo.model;
025
026 import edu.stanford.smi.protegex.owl.model.RDFIndividual;
027 import edu.stanford.smi.protegex.owl.model.RDFProperty;
028
029 import java.util.Collection;
030 import java.util.Iterator;
031
032 /**
033 * Generated by Protege-OWL (http://protege.stanford.edu/plugins/owl).
034 * Source OWL Class: http://www.owl-ontologies.com/javaDemo.owl#Customer
035 *
036 * @version generated on Sat Feb 19 17:10:28 EST 2005
037 */
038 public interface Customer_ extends RDFIndividual {
039
040 // Property http://www.owl-ontologies.com/javaDemo.owl#firstName
041
042
043 String getFirstName();
044
045
046 RDFProperty getFirstNameProperty();
047
048
049 boolean hasFirstName();
050
051
052 void setFirstName(String newFirstName);
053
054 // Property http://www.owl-ontologies.com/javaDemo.owl#lastName
055
056
057 String getLastName();
058
059
060 RDFProperty getLastNameProperty();
061
062
063 boolean hasLastName();
064
065
066 void setLastName(String newLastName);
067
068 // Property http://www.owl-ontologies.com/javaDemo.owl#purchases
069
070
071 Collection getPurchases();
072
073
074 RDFProperty getPurchasesProperty();
075
076
077 boolean hasPurchases();
078
079
080 Iterator listPurchases();
081
082
083 void addPurchases(Purchase newPurchases);
084
085
086 void removePurchases(Purchase oldPurchases);
087
088
089 void setPurchases(Collection newPurchases);
090
091 // Property http://www.owl-ontologies.com/javaDemo.owl#zipCode
092
093
094 int getZipCode();
095
096
097 RDFProperty getZipCodeProperty();
098
099
100 boolean hasZipCode();
101
102
103 void setZipCode(int newZipCode);
104 }
105