blob: e3a91692ca81a800fd458b77f4aec58390e74e42 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentmodel;
/**
* API for a type declared in a specific document
*
* @author arnej
**/
public interface OwnedType {
String getOwnerName();
String getUniqueName();
default int getUniqueId() {
return getUniqueName().hashCode();
}
}
|