2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.be.model;
24 * Specifies an implementation artifact for interfaces or operations of a
25 * {@link NodeType node type} or {@link RelationshipType relation type}.
29 public class ImplementationArtifact {
32 * Specifies the type of this artifact.
35 private String artifactType;
39 * Identifies an Artifact Template to be used as implementation artifact.
40 * This Artifact Template can be defined in the same Definitions document or
41 * in a separate, imported document.
45 * The type of Artifact Template referenced by the artifactRef attribute
46 * MUST be the same type or a sub-type of the type specified in the
47 * artifactType attribute.
51 * Note: if no Artifact Template is referenced, the artifact type specific
52 * content of the ImplementationArtifact element alone is assumed to
53 * represent the actual artifact. For example, a simple script could be
54 * defined in place within the ImplementationArtifact element.
57 private String artifactRef;
60 * The name of the archive in which the artifact lies.
62 private String archiveName;
64 * The version of the archive in which the artifact lies.
66 private String archiveVersion;