public final class Person extends InlineReqReqType implements Role, ANsemanticInline
The element person is an inline element to identify a text fragment introducing or referring to a person in the ontology. Attribute as allows to specify a TLCrole the person is holding in the context of the document’s mention.
<xsd:element name=“person”> <xsd:complexType mixed=“true”> <xsd:complexContent> <xsd:extension base=“inlinereqreq”> <xsd:attributeGroup ref=“role”/> <xsd:extension> <xsd:complexContent> <xsd:complexType> <xsd:element>
| Constructor and Description |
|---|
Person() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
RoleRef |
getAs() |
String |
name()
Name of this object (the name of the xml element)
|
void |
setAs(RoleRef as) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
acceptadd, add, add, add, add, add, getData, read, removeadd, getAlternativeTo, getAttributes, getClazz, getPeriod, getRefersTo, getStatus, getStyle, getTitle, setAlternativeTo, setClazz, setPeriod, setRefersTo, setStatus, setStyle, setTitle, toStringgetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWid, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompare, nestedComparereadadd, getAttributes, nestedComparegetClazz, getStyle, getTitle, setClazz, setStyle, setTitlegetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWidgetRefersTo, setRefersTogetAlternativeTo, setAlternativeTopublic void write(XmlWriter writer) throws IOException
The object implements the write method to save its contents by calling the methods of Output.
write in interface Corewrite in interface CoreReqReqwrite in interface IdReqwrite in interface Externalizablewrite in class InlineReqReqTypewriter - the stream to write the object toIOExceptionpublic String name()
Name of this object (the name of the xml element)
public com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> attributes()
To read attributes.
attributes in interface AknObjectattributes in class AbstractCoreCopyright © 2017. All rights reserved.