Subversion Repositories SmartDukaan

Rev

Rev 323 | Blame | Compare with Previous | Last modification | View Log | RSS feed

/**
 * 
 */
package in.shop2020.metamodel.definitions;

import in.shop2020.metamodel.util.ReusableMetaModelComponent;

/**
 * Represents individual Unit in shop2020 content meta-model
 * 
 * @author naveen
 *
 */
public class Unit extends ReusableMetaModelComponent {
        /**
         * 
         */
        private static final long serialVersionUID = 1L;
        
        /**
         * Editorial comments
         */
        private String description;
        
        /**
         * Unit's Full form
         */
        private String fullForm;
        
        /**
         * Unit's short form
         */
        private String shortForm;

        /**
         * 
         * @param newID
         */
        public Unit(long newID) {
                super(newID);
        }

        /**
         * 
         * @return description
         */
        public String getDescription() {
                return this.description;
        }
        
        /**
         * 
         * @param value
         */
        public void setDescription(String value) {
                this.description = value;
        }

        /**
         * 
         * @return fullForm
         */
        public String getFullForm() {
                return this.fullForm;
        }
        
        /**
         * 
         * @param value
         */
        public void setFullForm(String value) {
                this.fullForm = value;
        }

        /**
         * 
         * @return shortForm
         */
        public String getShortForm() {
                return this.shortForm;
        }
        
        /**
         * 
         * @param value
         */
        public void setShortForm(String value) {
                this.shortForm = value;
        }

        @Override
        public String toString() {
                return "Unit [description=" + description + ", fullForm=" + fullForm
                                + ", shortForm=" + shortForm + ", id=" + id + "]";
        }
}