diff options
Diffstat (limited to 'config-model/src/main/java/com/yahoo/searchdefinition/document/annotation/SDAnnotationType.java')
-rw-r--r-- | config-model/src/main/java/com/yahoo/searchdefinition/document/annotation/SDAnnotationType.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/document/annotation/SDAnnotationType.java b/config-model/src/main/java/com/yahoo/searchdefinition/document/annotation/SDAnnotationType.java deleted file mode 100644 index b7ba2333b3c..00000000000 --- a/config-model/src/main/java/com/yahoo/searchdefinition/document/annotation/SDAnnotationType.java +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.searchdefinition.document.annotation; - -import com.yahoo.searchdefinition.document.SDDocumentType; -import com.yahoo.document.annotation.AnnotationType; - -/** - * @author Einar M R Rosenvinge - */ -public class SDAnnotationType extends AnnotationType { - - private SDDocumentType sdDocType; - private String inherits; - - public SDAnnotationType(String name) { - super(name); - } - - public SDAnnotationType(String name, SDDocumentType dataType, String inherits) { - super(name); - this.sdDocType = dataType; - this.inherits = inherits; - } - - public SDDocumentType getSdDocType() { - return sdDocType; - } - - public void setSdDocType(SDDocumentType value) { - assert(sdDocType == null); - sdDocType = value; - } - - public String getInherits() { - return inherits; - } - - public void inherit(String inherits) { - this.inherits = inherits; - } - -} |