9 package cz.vutbr.fit.knot.annotations.entity.attribute;
 
   12 import java.util.Iterator;
 
   13 import javax.persistence.MappedSuperclass;
 
   61     String ontoString = 
"";
 
   67       Iterator<AnnotTypeAttr> typeAttrIt = refAnnotation.getAnnotType().getAttributes().iterator();
 
   68       while(typeAttrIt.hasNext()){
 
   72                 ontoString += 
" ontologyUri=\"" + actualAttr.getUriInOntology() + 
"\"";
 
   77     return "<a:attribute name=\"" + 
name + 
"\"" + ontoString + 
" type=\"" + 
simpleType + 
"\">";
 
   96     return "</a:attribute>";
 
  126   public String 
toXMLString(
boolean proto11, 
boolean tmpIdForNested, 
boolean withOntology) {
 
  129       return super.toXMLString(proto11, tmpIdForNested, 
false);
 
  146   public void setRawValue(String value) 
throws IllegalArgumentException {
 
  147     throw new UnsupportedOperationException(
"Structured attributes are not represented by single value.");
 
  166   public abstract void setRawValues(Object values) 
throws IllegalArgumentException;
 
  193         return this.attributeType.getUriInOntology();
 
abstract String getXmlBody()
String getTypeOntologyUri()
String toXMLString(boolean proto11, boolean tmpIdForNested, boolean withOntology)
Class representing attribute of type of annotation. 
Abstract class representing more complex attribute. 
String getCommentXmlPart(boolean proto11)
String getXmlStart(boolean withOntology)
abstract String getXmlAttributeName()
String getUriInOntology()
Base class representing attribute of annotation. 
abstract void setRawValues(Object values)
String getUriInOntology()
void setRawValue(String value)
abstract Object getValue()