4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute Class Reference

Class representing attribute of type AnnotationLink for prupose of suggestion. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute:
Collaboration graph

Public Member Functions

void setValue (Object value)
 
Object getValue ()
 
String toXMLString (boolean proto11, boolean withOntology)
 
String toXMLStringWHV2 (String ontologyUri)
 
void setRawValue (String value) throws IllegalArgumentException
 
String getTmpId ()
 
void setTmpId (String tmpId)
 
String getTypeOntologyUri ()
 
- Public Member Functions inherited from cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute
 SugBaseAttribute ()
 
 SugBaseAttribute (Integer id)
 
String getTypeOntologyUri ()
 
String toXMLString (boolean proto11, boolean withOntology)
 
String toXMLStringV2 ()
 
SugEntityAdditionalAttribute toSugEntityAdditionalAttribute ()
 
int compareTo (Object o)
 
boolean contentEquals (Object obj)
 
boolean contentEquals (Object obj, boolean refAnnot)
 
abstract Object getValue ()
 
abstract void setValue (Object value)
 
abstract void setRawValue (String value) throws IllegalArgumentException
 
boolean isEmpty ()
 
boolean equals (Object object)
 
String getComment ()
 
void setComment (String comment)
 
String toString ()
 
int hashCode ()
 
String getName ()
 
void setName (String name)
 
String getSimpleType ()
 
void setSimpleType (String simpleType)
 
int getSuggestion ()
 
void setSuggestion (int suggestion)
 
Suggestion getRefSuggestion ()
 
void setRefSuggestion (Suggestion value)
 
void setRefSecSuggestion (SecSuggestion value)
 
AnnotType getAttributeType ()
 
void setAttributeType (AnnotType attributeType)
 
Suggestion getNestedSuggestion ()
 
Annotation getNestedAnnotation ()
 
String getNestedSuggID ()
 
void setNestedSuggID (String nest)
 
String getNestedAnnotID ()
 
void setNestedAnnotID (String nestAnnot)
 
void setNestedSuggestion (Suggestion nestedSuggestion)
 
void setNestedAnnotation (Annotation nestedAnnotation)
 
Integer getId ()
 
void setId (Integer id)
 
Integer getType ()
 
void setType (Integer type)
 
boolean isStructured ()
 
void setUser (User user)
 
User getUser ()
 
void setUri (String uri)
 
String getUri ()
 
void setUriInOntology (String uriInOntology)
 
String getUriInOntology ()
 
String toJSONString ()
 
void updateFromBaseAttribut (BaseAttribute ba)
 
void updateFromAlternativeAttribut (AlternativeAttribute attr)
 
String getEntityType ()
 
void setEntityType (String entityType)
 
String getEntityVisualURI ()
 
void setEntityVisualURI (String entityVisualURI)
 
Boolean getBoolValue ()
 
byte[] getBinValue ()
 
Date getDateValue ()
 
BigDecimal getDecValue ()
 
BigDecimal getGeoLat ()
 
BigDecimal getGeoLong ()
 
Integer getIntValue ()
 
String getStringValue ()
 
String getTextValue ()
 
Integer getUserValue ()
 
Annotation getLinkedAnnotation ()
 
Suggestion getLinkedSuggestion ()
 
void setLinkedSuggestion (Suggestion suggestion)
 
Integer getPriority ()
 
void setPriority (Integer priority)
 
List
< SugEntityAdditionalAttribute
getEntityAdditionalAttributes ()
 
void setEntityAdditionalAttributes (List< SugEntityAdditionalAttribute > entityAdditionalAttributes)
 
void updateFromBaseAttributeAll (SugBaseAttribute ba)
 
void setBoolVAlue (Boolean boolVAlue)
 

Private Attributes

String tmpId = null
 

Additional Inherited Members

- Protected Member Functions inherited from cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute
String getCommentXmlPart (boolean proto11)
 
String xmlFormatValue ()
 
- Protected Attributes inherited from cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute
Integer id
 
int suggestion
 
String name
 
String simpleType
 
Integer type
 
String uri
 
String nestedSugg
 
String nestedAnnot
 
Integer linkedSugg
 
Integer linkedAnnot
 
String stringValue
 
String textValue
 
Date dateValue
 
Integer intValue
 
BigDecimal decValue
 
Boolean boolVAlue
 
byte[] binValue
 
Integer userValue
 
BigDecimal geoLat
 
BigDecimal geoLong
 
String entityType
 
String entityVisualURI
 
String comment
 
Integer priority
 
Suggestion refSuggestion
 
AnnotType attributeType
 
Suggestion nestedSuggestion
 
Annotation nestedAnnotation
 
Suggestion linkedSuggestion
 
Annotation linkedAnnotation
 
User user
 
List
< SugEntityAdditionalAttribute
entityAdditionalAttributes
 
- Static Protected Attributes inherited from cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugBaseAttribute
static final long serialVersionUID = 1L
 

Detailed Description

Class representing attribute of type AnnotationLink for prupose of suggestion.

Class representing attribute of type AnnotationLink for prupose of suggestion

Definition at line 40 of file SugLinkedAttribute.java.

Member Function Documentation

String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.getTmpId ( )

Gets tmpId of suggestion

Returns
Returns tmpId of suggestion

Definition at line 365 of file SugLinkedAttribute.java.

String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.getTypeOntologyUri ( )

Gets URI addres in ontology for this type of attribute

Returns
Return URI addres in ontology for this type of attribute.

Definition at line 384 of file SugLinkedAttribute.java.

Object cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.getValue ( )

Gets value of the attribute

Returns
value of the attribute

Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.

Definition at line 85 of file SugLinkedAttribute.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.setRawValue ( String  value) throws IllegalArgumentException

Parses provided value and sets that value as a value of attribute

Parameters
valuenew value of the attribute in raw form from XML

Definition at line 323 of file SugLinkedAttribute.java.

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.setTmpId ( String  tmpId)

Sets tmpId of suggestion

Parameters
tmpIdNew tmpId of suggestion.

Definition at line 374 of file SugLinkedAttribute.java.

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.setValue ( Object  value)

Sets value of the attribute. Value should already be a native java value.

Parameters
valueNew value of the attribute

Implements cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative.SecAttribute.

Definition at line 52 of file SugLinkedAttribute.java.

String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.toXMLString ( boolean  proto11,
boolean  withOntology 
)

Returns serialized informations about attribute of annotation in XML

Parameters
proto11If true, protocol version is greater then 1.0
withOntologyIf true, URI in ontology will be serialized, if false, it will be omitted
Returns
Returns serialized informations about attribute of annotation in XML

Definition at line 103 of file SugLinkedAttribute.java.

Here is the call graph for this function:

String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.toXMLStringWHV2 ( String  ontologyUri)

Returns serialized informations about attribute of suggestion in XML for protocol v. 2.0 without header (target and attribute specification triples)

Parameters
ontologyUriURI of attribute in ontology
Returns
Returns serialized informations about attribute of suggestion in XML

Definition at line 167 of file SugLinkedAttribute.java.

Member Data Documentation

String cz.vutbr.fit.knot.annotations.modules.suggestionManager.attributes.SugLinkedAttribute.tmpId = null
private

Temporary id for links between suggestions from client

Definition at line 44 of file SugLinkedAttribute.java.


The documentation for this class was generated from the following file: