/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You 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 org.apache.camel.tools.apt.model; public final class ComponentModel { private String scheme; private String extendsScheme; private String syntax; private String alternativeSyntax; private String javaType; private String title; private String description; private String firstVersion; private String groupId; private String artifactId; private String versionId; private String label; private String verifiers; private boolean consumerOnly; private boolean producerOnly; private boolean deprecated; private boolean lenientProperties; private boolean async; public ComponentModel(String scheme) { this.scheme = scheme; } public String getScheme() { return scheme; } public String getExtendsScheme() { return extendsScheme; } public void setExtendsScheme(String extendsScheme) { this.extendsScheme = extendsScheme; } public String getSyntax() { return syntax; } public void setSyntax(String syntax) { this.syntax = syntax; } public String getAlternativeSyntax() { return alternativeSyntax; } public void setAlternativeSyntax(String alternativeSyntax) { this.alternativeSyntax = alternativeSyntax; } public String getJavaType() { return javaType; } public void setJavaType(String javaType) { this.javaType = javaType; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getFirstVersion() { return firstVersion; } public void setFirstVersion(String firstVersion) { this.firstVersion = firstVersion; } public String getGroupId() { return groupId; } public void setGroupId(String groupId) { this.groupId = groupId; } public String getArtifactId() { return artifactId; } public void setArtifactId(String artifactId) { this.artifactId = artifactId; } public String getVersionId() { return versionId; } public void setVersionId(String versionId) { this.versionId = versionId; } public String getLabel() { return label; } public void setLabel(String label) { this.label = label; } public String getVerifiers() { return verifiers; } public void setVerifiers(String verifiers) { this.verifiers = verifiers; } public boolean isConsumerOnly() { return consumerOnly; } public void setConsumerOnly(boolean consumerOnly) { this.consumerOnly = consumerOnly; } public boolean isProducerOnly() { return producerOnly; } public void setProducerOnly(boolean producerOnly) { this.producerOnly = producerOnly; } public boolean isDeprecated() { return deprecated; } public void setDeprecated(boolean deprecated) { this.deprecated = deprecated; } public boolean isLenientProperties() { return lenientProperties; } public void setLenientProperties(boolean lenientProperties) { this.lenientProperties = lenientProperties; } public boolean isAsync() { return async; } public void setAsync(boolean async) { this.async = async; } }