re base code
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / ImplementationArtifact.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.openecomp.sdc.be.model;
22
23 /**
24  * Specifies an implementation artifact for interfaces or operations of a
25  * {@link NodeType node type} or {@link RelationshipType relation type}.
26  * 
27  * @author esofer
28  */
29 public class ImplementationArtifact {
30     /**
31      * <p>
32      * Specifies the type of this artifact.
33      * </p>
34      */
35     private String artifactType;
36
37     /**
38      * <p>
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.
42      * </p>
43      *
44      * <p>
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.
48      * </p>
49      *
50      * <p>
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.
55      * </p>
56      */
57     private String artifactRef;
58
59     /**
60      * The name of the archive in which the artifact lies.
61      */
62     private String archiveName;
63     /**
64      * The version of the archive in which the artifact lies.
65      */
66     private String archiveVersion;
67 }