8 package cz.vutbr.fit.knot.annotations.entity.attribute;
12 import javax.persistence.DiscriminatorValue;
13 import javax.persistence.Entity;
14 import javax.persistence.NamedQueries;
15 import javax.persistence.NamedQuery;
31 @DiscriminatorValue(value=
"String")
33 @NamedQuery(name =
"Attribute.findByStringValue", query =
"SELECT a FROM Attribute a WHERE a.stringValue = :stringValue"),
52 this.simpleType =
"String";
53 this.stringValue = value;
54 this.refAnnotation = refAnnotation;
64 return stringValue == null || stringValue.equals(
"");
74 return this.stringValue;
84 this.stringValue = (String) value;
94 this.stringValue = value;
Class representing attribute of type String..
void setValue(Object value)
static final String STRING_URI
void setRawValue(String value)
Base class representing attribute of annotation.
StringAttribute(String name, String value, Annotation refAnnotation)
String getTypeOntologyUri()
Class representing annotation.