001/*
002 * Copyright (c) 2004-2012, Willem Cazander
003 * All rights reserved.
004 *
005 * Redistribution and use in source and binary forms, with or without modification, are permitted provided
006 * that the following conditions are met:
007 * 
008 * * Redistributions of source code must retain the above copyright notice, this list of conditions and the
009 *   following disclaimer.
010 * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
011 *   the following disclaimer in the documentation and/or other materials provided with the distribution.
012 * 
013 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
014 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
015 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
016 * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
017 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
018 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
019 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
020 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
021 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
022 */
023
024package org.x4o.xml.element;
025
026/**
027 * AbstractElementMetaBase stores the id and description.
028 * 
029 * 
030 * @author Willem Cazander
031 * @version 1.0 Jan 18, 2009
032 */
033public abstract class AbstractElementMetaBase implements ElementMetaBase {
034        
035        /** The description */
036        private String id = null;
037        
038        /** The description */
039        private String description = null;
040
041        /**
042         * @see org.x4o.xml.element.ElementMetaBase#setId(java.lang.String)
043         */
044        public void setId(String id) {
045                this.id=id;
046        }
047
048        /**
049         * @see org.x4o.xml.element.ElementMetaBase#getId()
050         */
051        public String getId() {
052                return id;
053        }
054
055        /**
056         * @see org.x4o.xml.element.ElementConfigurator#getDescription()
057         */
058        public String getDescription() {
059                return description;
060        }
061
062        /**
063         * @see org.x4o.xml.element.ElementConfigurator#setDescription(java.lang.String)
064         */
065        public void setDescription(String description) {
066                this.description=description;
067        }
068}