Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
07/17/08 15:20:10 (6 months ago)
Author:
catullus
Message:

sync-bidrectional: partly merge

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/data_synchronization_bidirectional

    • Property svn:ignore changed from
      build*
      dist*
      ${env.CATALINA_HOME}
      docs
      .metadata
      setup.inf
      setup.rpt
      to
      build*
      dist*
      ${env.CATALINA_HOME}
      docs
      .metadata
      setup.inf
      setup.rpt
      *.iws
      *.ipr
      *.iml
  • openmrs/branches/data_synchronization_bidirectional/src/api/org/openmrs/ConceptName.java

    r4295 r4969  
    2828 
    2929        // Fields 
     30 
    3031        private Integer conceptNameId; 
    3132        private Concept concept; 
     
    6162        } 
    6263         
     64        /** 
     65         * Convenience constructor to create a ConceptName object by primary key 
     66         *  
     67         * @param conceptNameId 
     68         */ 
     69        public ConceptName(Integer conceptNameId) { 
     70                this.conceptNameId = conceptNameId; 
     71        } 
     72         
     73        /** 
     74         * Convenience constructor taking in the required properties 
     75         *  
     76         * @param name 
     77         * @param shortName 
     78         * @param description 
     79         * @param locale 
     80         */ 
    6381        public ConceptName(String name, String shortName, String description, Locale locale) { 
    6482                setName(name); 
     
    6886        } 
    6987 
     88        /** 
     89         * @see java.lang.Object#equals(java.lang.Object) 
     90         */ 
    7091        public boolean equals(Object obj) { 
    7192                if (obj instanceof ConceptName) { 
     
    7899        } 
    79100 
     101        /** 
     102         * @see java.lang.Object#hashCode() 
     103         */ 
    80104        public int hashCode() { 
    81105                if (this.getConcept() == null || this.getName() == null 
     
    89113        } 
    90114         
     115        /** 
     116         * Auto generated method comment 
     117         *  
     118         * @return 
     119         */ 
    91120        public String getShortestName() { 
    92121                String ret = getShortName(); 
     
    98127        } 
    99128 
    100         // Property accessors 
    101  
    102         /** 
    103          * @return Returns the conceptId. 
    104          */ 
    105         public Integer getConceptNameId() { 
    106                 return conceptNameId; 
    107         } 
     129        /** 
     130     * @return the conceptNameId 
     131     */ 
     132    public Integer getConceptNameId() { 
     133        return conceptNameId; 
     134    } 
    108135 
    109136        /** 
     
    206233        } 
    207234 
     235        /** 
     236         * @see java.lang.Object#toString() 
     237         */ 
    208238        public String toString() { 
    209239                return this.name;