forked from gooddata/gooddata-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathObj.java
More file actions
21 lines (17 loc) · 654 Bytes
/
Copy pathObj.java
File metadata and controls
21 lines (17 loc) · 654 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
* Copyright (C) 2004-2016, GoodData(R) Corporation. All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
package com.gooddata.md;
import org.springframework.web.util.UriTemplate;
/**
* First class metadata object - only dto objects, which have URI pointing to themselves should implement this.
*/
public interface Obj {
String URI = "/gdc/md/{projectId}/obj";
String CREATE_URI = URI + "?createAndGet=true";
String OBJ_URI = URI + "/{objId}";
UriTemplate OBJ_TEMPLATE = new UriTemplate(OBJ_URI);
String getUri();
}