Subversion Repositories SmartDukaan

Rev

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

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

/**
 * Parent class of those definition objects which can be reused to create new 
 * structures. These can be identified with unique number.
 * 
 * @author naveen
 *
 */
public abstract class ReusableMetaModelComponent extends MetaModelComponent {
        /**
         * 
         */
        private static final long serialVersionUID = 1L;
        
        /**
         * Unique identifier
         */
        protected long id;
        
        /**
         * 
         * @param newID
         */
        public ReusableMetaModelComponent(long newID) {
                this.id = newID;
        }
        /**
         * 
         * @return id Unique identifier
         */
        public long getID() {
                return this.id;
        }
        /**
         * 
         * @return id Unique identifier
         */
        public void setID(long id) {
                this.id = id;
        }
        
        public ReusableMetaModelComponent() {
        }

}