public final class Mapping extends MetaReq implements MappingAtts
The element mapping contains a reference to the permanent wId (attribute original) of a structure, and to the eId (attribute current) such structure had during the time interval included between an initial temporalGroup and a final temporalGroup. This is useful for tracking the evolving ids of documents frequently renumbered (e,g., bills). Every single element whose wId does not match its eId needs to be represented here.
<xsd:element name=“mapping”> <xsd:complexType name=“valueType”> <xsd:complexContent> <xsd:extension base=“metareq”> <xsd:attributeGroup ref=“mappingAtts”/> <xsd:extension> <xsd:complexContent> <xsd:complexType> <xsd:element>
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
ATTRIBUTES |
| Constructor and Description |
|---|
Mapping() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
RoleRef |
getAs() |
AgentRef |
getBy() |
EidRef |
getCurrent() |
EventRefRef |
getEnd() |
WidRef |
getOriginal() |
EventRefRef |
getStart() |
String |
name()
Name of this object (the name of the xml element)
|
void |
setAs(RoleRef as) |
void |
setBy(AgentRef by) |
void |
setCurrent(EidRef current) |
void |
setEnd(EventRefRef end) |
void |
setOriginal(WidRef original) |
void |
setStart(EventRefRef start) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
getEid, getEvolvingId, getGUID, getId, getWid, read, setEid, setEvolvingId, setGUID, setId, setWid, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompare, nestedComparereadgetAttributes, nestedCompareprotected static final com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> ATTRIBUTES
public WidRef getOriginal()
getOriginal in interface MappingAttspublic void setOriginal(WidRef original)
setOriginal in interface MappingAttspublic EidRef getCurrent()
getCurrent in interface MappingAttspublic void setCurrent(EidRef current)
setCurrent in interface MappingAttspublic EventRefRef getStart()
getStart in interface MappingAttspublic void setStart(EventRefRef start)
setStart in interface MappingAttspublic EventRefRef getEnd()
getEnd in interface MappingAttspublic void setEnd(EventRefRef end)
setEnd in interface MappingAttspublic 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 IdReqwrite in interface Externalizablewrite in class MetaReqwriter - 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 AbstractIdCopyright © 2017. All rights reserved.