2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 * Copyright © 2017 Amdocs
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 package org.onap.aai.sparky.sync.entity;
26 * The Class SelfLinkDescriptor.
28 public class SelfLinkDescriptor {
29 private String selfLink;
30 private String entityType;
31 private String depthModifier;
33 public String getDepthModifier() {
37 public void setDepthModifier(String depthModifier) {
38 this.depthModifier = depthModifier;
41 public String getSelfLink() {
45 public void setSelfLink(String selfLink) {
46 this.selfLink = selfLink;
49 public String getEntityType() {
53 public void setEntityType(String entityType) {
54 this.entityType = entityType;
57 public SelfLinkDescriptor(String selfLink) {
58 this(selfLink, null, null);
62 * Instantiates a new self link descriptor.
64 * @param selfLink the self link
65 * @param entityType the entity type
67 public SelfLinkDescriptor(String selfLink, String entityType) {
68 this(selfLink, null, entityType);
71 public SelfLinkDescriptor(String selfLink, String depthModifier, String entityType) {
72 this.selfLink = selfLink;
73 this.entityType = entityType;
74 this.depthModifier = depthModifier;
78 * @see java.lang.Object#toString()
81 public String toString() {
82 return "SelfLinkDescriptor [" + (selfLink != null ? "selfLink=" + selfLink + ", " : "")
83 + (entityType != null ? "entityType=" + entityType + ", " : "")
84 + (depthModifier != null ? "depthModifier=" + depthModifier : "") + "]";