8 package cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes;
12 import javax.persistence.DiscriminatorValue;
13 import javax.persistence.Entity;
14 import javax.persistence.NamedQueries;
15 import javax.persistence.NamedQuery;
29 @DiscriminatorValue(
"Image")
31 @NamedQuery(name =
"SuggestionAttribute.findByImageUri", query =
"SELECT a FROM SuggestionAttribute a WHERE a.uri = :uri"),
50 this.simpleType =
"Image";
52 this.refSuggestion = refSuggestion;
65 this.simpleType =
"Image";
67 this.refSuggestion = refSuggestion;
68 this.priority = priority;
88 this.uri = (String) value;
void setRawValue(String value)
Class representing attribute of type Image for pruposes of suggestion.
SugImageAttribute(String name, String value, Suggestion refSuggestion, Integer priority)
static final String IMAGE_URI
String getTypeOntologyUri()
SugImageAttribute(String name, String value, Suggestion refSuggestion)
Class representing attribute of type String for prupose of suggestion.
void setValue(Object value)
Class representing suggestion of annotation.