
org.sca4j.loader.definitions.DefinitionResourceElement Maven / Gradle / Ivy
/**
* SCA4J
* Copyright (c) 2009 - 2099 Service Symphony Ltd
*
* Licensed to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. A copy of the license
* is included in this distrubtion or you may obtain a copy at
*
* http://www.opensource.org/licenses/apache2.0.php
*
* 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.
*
* This project contains code licensed from the Apache Software Foundation under
* the Apache License, Version 2.0 and original code from project contributors.
*/
package org.sca4j.loader.definitions;
import javax.xml.namespace.QName;
import org.sca4j.scdl.definitions.AbstractDefinition;
import org.sca4j.spi.services.contribution.ResourceElement;
public class DefinitionResourceElement extends ResourceElement {
private AbstractDefinition definition;
public DefinitionResourceElement(QName symbol) {
super(symbol);
}
/**
* @return the definition
*/
public AbstractDefinition getDefinition() {
return definition;
}
/**
* @param definition the definition to set
*/
public void setDefinition(AbstractDefinition definition) {
this.definition = definition;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy