Subversion Repositories XServices

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

/*
 *   Copyright 2012 Brian Rosenberger (Brutex Network)
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */

package net.brutex.xservices.types.scm;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


@XmlType(propOrder={"name", "status", "description", "path", "type", "revision"})
@XmlRootElement
public class ModuleType {
        String name;
        String revision;
        String status;
        String description;
        String path;
        String type;
        
        public ModuleType(String name, String status, String path, String type) {
                this.name = name;
                this.status = status;
                this.description = "";
                this.revision = "";
                this.path = "/" + path;
                this.type = type;
        }
        
        public ModuleType() {
                //JAXB
        }
        /**
         * @return the name
         */
        public String getName() {
                return name;
        }
        /**
         * @param name the name to set
         */
        public void setName(String name) {
                this.name = name;
        }
        /**
         * @return the revision
         */
        public String getRevision() {
                return revision;
        }
        /**
         * @param revision the revision to set
         */
        public void setRevision(String revision) {
                this.revision = revision;
        }
        /**
         * @return the status
         */
        public String getStatus() {
                return status;
        }
        /**
         * @param status the status to set
         */
        public void setStatus(String status) {
                this.status = status;
        }
        /**
         * @return the description
         */
        public String getDescription() {
                return description;
        }
        /**
         * @param description the description to set
         */
        public void setDescription(String description) {
                this.description = description;
        }

        /**
         * @return the path
         */
        public String getPath() {
                return path;
        }

        /**
         * @param path the path to set
         */
        public void setPath(String path) {
                this.path = path;
        }

        /**
         * @return the type
         */
        public String getType() {
                return type;
        }

        /**
         * @param type the type to set
         */
        public void setType(String type) {
                this.type = type;
        }
        
        
}