4A Server -
2.0
|
Class representing attribute of unknown type of annotation. More...
Public Member Functions | |
TypeAttrOnto () | |
TypeAttrOnto (Integer id) | |
TypeAttrOnto (UserGroup group, String name, String simpleType) | |
TypeAttrOnto (UserGroup group, String name, AnnotType structuredType) | |
Integer | getId () |
void | setId (Integer id) |
UserGroup | getGroup () |
void | setGroup (UserGroup group) |
String | getName () |
void | setName (String name) |
String | getSimpleType () |
void | setSimpleType (String simpleType) |
Integer | getType () |
void | setType (Integer type) |
AnnotType | getAttributeType () |
void | setAttributeType (AnnotType attributeType) |
String | getUriInOntology () |
void | setUriInOntology (String uriInOntology) |
String | getComment () |
void | setComment (String comment) |
int | hashCode () |
boolean | equals (Object object) |
boolean | contentEquals (Object obj) |
String | toString () |
String | toXMLString () |
String | toXMLStringV2 () |
Private Member Functions | |
String | simpleTypeToString () |
Private Attributes | |
Integer | id |
Integer | groupId |
String | name |
String | simpleType |
Integer | type |
String | uriInOntology |
String | comment |
AnnotType | attributeType |
UserGroup | group |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
Class representing attribute of unknown type of annotation.
Class representing attribute of unknown type of annotation imported from ontology
Definition at line 51 of file TypeAttrOnto.java.
cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.TypeAttrOnto | ( | ) |
Constructor
Definition at line 98 of file TypeAttrOnto.java.
cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.TypeAttrOnto | ( | Integer | id | ) |
Constructor
id | id of attribute of type of annotation |
Definition at line 106 of file TypeAttrOnto.java.
cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.TypeAttrOnto | ( | UserGroup | group, |
String | name, | ||
String | simpleType | ||
) |
Constructor of attribute of simple type
group | User group to which attribute belongs |
name | Name of attribute |
simpleType | Name of simple type of attribute |
Definition at line 117 of file TypeAttrOnto.java.
cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.TypeAttrOnto | ( | UserGroup | group, |
String | name, | ||
AnnotType | structuredType | ||
) |
Constructor of attribute of structured type
group | User group to which attribute belongs |
name | Name of attribute |
structuredType | Type of structured attribute (type of annotation) |
Definition at line 134 of file TypeAttrOnto.java.
boolean cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.contentEquals | ( | Object | obj | ) |
Compares this with other object and returns, whether objects are same type and have same content (id is irelevant).
obj | Object to compare with |
Definition at line 324 of file TypeAttrOnto.java.
boolean cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.equals | ( | Object | object | ) |
Compares this with other object and returns, whether objects are same type and have same id.
object | Object to compare with |
Definition at line 306 of file TypeAttrOnto.java.
AnnotType cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.getAttributeType | ( | ) |
Gets type of attribute in case that this is attribute of structured type (type of annotation)
Definition at line 242 of file TypeAttrOnto.java.
String cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.getComment | ( | ) |
Gets textual comment
Definition at line 278 of file TypeAttrOnto.java.
UserGroup cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.getGroup | ( | ) |
Gets user group to which attribute belongs
Definition at line 167 of file TypeAttrOnto.java.
Integer cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.getId | ( | ) |
Gets id of attribute of type of annotation
Definition at line 149 of file TypeAttrOnto.java.
String cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.getName | ( | ) |
Gets name of attribute of type of annotation
Definition at line 185 of file TypeAttrOnto.java.
String cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.getSimpleType | ( | ) |
Gets name of simple type of annotation
Definition at line 203 of file TypeAttrOnto.java.
Integer cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.getType | ( | ) |
Gets id of type of attribute in case that this is attribute of structured type (type of annotation)
Definition at line 222 of file TypeAttrOnto.java.
String cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.getUriInOntology | ( | ) |
Gets URI in original ontology
Definition at line 260 of file TypeAttrOnto.java.
int cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.hashCode | ( | ) |
Definition at line 292 of file TypeAttrOnto.java.
void cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.setAttributeType | ( | AnnotType | attributeType | ) |
Sets structured type of attribute (only for attribute of structured type)
attributeType | Structured type of attribute (type of annotation), or null for simple type |
Definition at line 251 of file TypeAttrOnto.java.
void cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.setComment | ( | String | comment | ) |
Sets textual comment
comment | Textual comment |
Definition at line 287 of file TypeAttrOnto.java.
void cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.setGroup | ( | UserGroup | group | ) |
Sets user group to which attribute belongs
group | User group to which attribute belongs |
Definition at line 176 of file TypeAttrOnto.java.
void cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.setId | ( | Integer | id | ) |
Sets id of attribute of type of annotation
id | Id of attribute of type of annotation |
Definition at line 158 of file TypeAttrOnto.java.
void cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.setName | ( | String | name | ) |
Sets name of attribute of type of annotation
name | Name of attribute of type of annotation |
Definition at line 194 of file TypeAttrOnto.java.
void cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.setSimpleType | ( | String | simpleType | ) |
Sets name of simple type of annotation (only for attributes of simple type)
simpleType | Name of simple type of annotation ("" for structured type) |
Definition at line 212 of file TypeAttrOnto.java.
void cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.setType | ( | Integer | type | ) |
Sets id of type of attribute in case that this is attribute of structured type (type of annotation)
type | new type |
Definition at line 232 of file TypeAttrOnto.java.
void cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.setUriInOntology | ( | String | uriInOntology | ) |
Sets URI in original ontology
uriInOntology | URI in original ontology |
Definition at line 269 of file TypeAttrOnto.java.
|
private |
Returns serialized informations about attribute of simple type in XML
Definition at line 360 of file TypeAttrOnto.java.
String cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.toString | ( | ) |
Definition at line 351 of file TypeAttrOnto.java.
String cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.toXMLString | ( | ) |
Returns serialized informations about attribute of type of annotation in XML
Definition at line 389 of file TypeAttrOnto.java.
String cz.vutbr.fit.knot.annotations.entity.TypeAttrOnto.toXMLStringV2 | ( | ) |
Returns serialized informations about attribute of type of annotation in XML for protocol V2
Definition at line 414 of file TypeAttrOnto.java.
|
private |
Type of attribute in case that this is attribute of structured type (type of annotation)
Definition at line 89 of file TypeAttrOnto.java.
|
private |
Comment
Definition at line 84 of file TypeAttrOnto.java.
|
private |
User group to which this attribute belongs
Definition at line 93 of file TypeAttrOnto.java.
|
private |
Id of user group to which this attribute belongs
Definition at line 62 of file TypeAttrOnto.java.
|
private |
Id of attribute of type of annotation
Definition at line 58 of file TypeAttrOnto.java.
|
private |
Name of attribute
Definition at line 66 of file TypeAttrOnto.java.
|
staticprivate |
Definition at line 52 of file TypeAttrOnto.java.
|
private |
Name of simple type of attribute
Definition at line 69 of file TypeAttrOnto.java.
|
private |
Id of type of attribute in case that this is attribute of structured type (type of annotation)
Definition at line 75 of file TypeAttrOnto.java.
|
private |
URI in original ontology
Definition at line 79 of file TypeAttrOnto.java.