aboutsummaryrefslogtreecommitdiffstats
path: root/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/entities/uri/AAIFluentSingleType.java
blob: 519e49335d78cb12cce6a4fc211f1a9a33942fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.onap.aaiclient.client.aai.entities.uri;

import org.onap.aaiclient.client.aai.AAIObjectName;
import org.onap.aaiclient.client.aai.AAIObjectType;
import org.onap.aaiclient.client.graphinventory.GraphInventoryFluentType;
import com.google.common.base.CaseFormat;

public interface AAIFluentSingleType extends GraphInventoryFluentType<AAIObjectType> {

    public interface Info extends GraphInventoryFluentType.Info, AAIObjectName {

        public default String typeName() {
            return this.getName();
        }

        public default String typeName(CaseFormat format) {
            return CaseFormat.LOWER_HYPHEN.to(format, this.getName());
        }

        public interface UriParams extends GraphInventoryFluentType.Info.UriParams {

        }

    }
}