001/**
002The contents of this file are subject to the Mozilla Public License Version 1.1 
003(the "License"); you may not use this file except in compliance with the License. 
004You may obtain a copy of the License at http://www.mozilla.org/MPL/ 
005Software distributed under the License is distributed on an "AS IS" basis, 
006WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the 
007specific language governing rights and limitations under the License. 
008
009The Original Code is "ClassDefinition.java".  Description: 
010"Contains information about a RIM class, sufficient to generate source code for it" 
011
012The Initial Developer of the Original Code is University Health Network. Copyright (C) 
0132001.  All Rights Reserved. 
014
015Contributor(s): ______________________________________. 
016
017Alternatively, the contents of this file may be used under the terms of the 
018GNU General Public License (the "GPL"), in which case the provisions of the GPL are 
019applicable instead of those above.  If you wish to allow use of your version of this 
020file only under the terms of the GPL and not to allow others to use your version 
021of this file under the MPL, indicate your decision by deleting  the provisions above 
022and replace  them with the notice and other provisions required by the GPL License.  
023If you do not delete the provisions above, a recipient may use your version of 
024this file under either the MPL or the GPL. 
025
026*/
027
028package ca.uhn.hl7v3.sourcegen;
029
030/**
031 * Contains information about a RIM class, sufficient to generate source code for it.   
032 * @author Bryan Tripp
033 * @deprecated
034 */
035public class ClassDefinition {
036
037    private String superClass;  
038    private String name;
039    private String description;
040    private boolean isAbstract;
041    private AttributeDefinition[] attributes;
042    
043    public ClassDefinition() {
044    }
045    
046    public void setSuperClass(String superClass) {
047        this.superClass = superClass;
048    }
049    public String getSuperClass() {
050        return this.superClass;
051    }     
052    
053    public void setName(String name) {
054        this.name = name;
055    }
056    public String getName() {
057        return this.name;
058    }
059    
060    public void setDescription(String description) {
061        this.description  = description;
062    }
063    public String getDescription() {
064        return this.description;
065    }
066    
067    public void setIsAbstract(boolean isAbstract) {
068        this.isAbstract = isAbstract;
069    }
070    public boolean getIsAbstract() {
071        return this.isAbstract;
072    }
073    
074    public void setAttributes(AttributeDefinition[] attributes) {
075        this.attributes = attributes;
076    }
077    public AttributeDefinition[] getAttributes() {
078        return this.attributes;
079    }
080    
081}