All Downloads are FREE. Search and download functionalities are using the official Maven repository.

science.aist.bpmn.model.BPMNHelper Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2020 the original author or authors.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */

package science.aist.bpmn.model;

import lombok.experimental.UtilityClass;

import javax.xml.namespace.QName;

/**
 * 

Helper class for BPMN related stuff

* * @author Andreas Pointner * @since 1.0 */ @UtilityClass public class BPMNHelper { public final String BPMN_MODEL_NAMESPACE = "http://www.omg.org/spec/BPMN/20100524/MODEL"; /** * Creates a Qname in the BPMN namespace * * @param localPart the local part of the qname * @return the resulting qname element with namespace = bpmn and localpart = localPart parameter */ public QName createQName(String localPart) { return new QName(BPMN_MODEL_NAMESPACE, localPart); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy