2 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 package org.openecomp.sdc.be.datatypes.enums;
18 public enum ComponentFieldsEnum {
20 PROPERTIES("properties"),
24 NON_EXCLUDED_GROUPS("nonExcludedGroups"),
25 COMPONENT_INSTANCES("componentInstances"),
26 COMPONENT_INSTANCES_PROPERTIES("componentInstancesProperties"),
27 CAPABILITIES("capabilities"),
28 REQUIREMENTS("requirements"),
29 ALL_VERSIONS("allVersions"),
30 ADDITIONAL_INFORMATION("additionalInformation"),
31 ARTIFACTS("artifacts"),
32 INTERFACES("interfaces"),
33 DERIVED_FROM("derivedFrom"),
34 ATTRIBUTES("attributes"),
35 COMPONENT_INSTANCES_ATTRIBUTES("componentInstancesAttributes"),
36 COMPONENT_INSTANCE_INPUTS("componentInstancesInputs"),
37 COMPONENT_INSTANCE_RELATION("componentInstancesRelations"),
38 DEPLOYMENT_ARTIFACTS("deploymentArtifacts"),
39 TOSCA_ARTIFACTS("toscaArtifacts"),
40 SERVICE_API_ARTIFACTS("serviceApiArtifacts"),
42 CATEGORIES("categories"),
43 INSTANCE_CAPABILTY_PROPERTIES("instanceCapabiltyProperties"),
44 FORWARDING_PATHS("forwardingPaths"),
46 NON_EXCLUDED_POLICIES("nonExcludedPolicies"),
47 NODE_FILTER("nodeFilter"),
48 COMPONENT_INSTANCES_INTERFACES("componentInstancesInterfaces")
54 private ComponentFieldsEnum(String value) {
58 public String getValue() {
63 public static ComponentFieldsEnum findByValue(String value) {
64 ComponentFieldsEnum ret = null;
65 for (ComponentFieldsEnum curr : ComponentFieldsEnum.values()) {
66 if (curr.getValue().equals(value)) {