public final class ScopeMod extends ModificationType implements ScopeModType, AmendmentsElement
The element scopeMod is a metadata element specifying an (active or passive) modification in scope for the document.
<xsd:element name=“scopeMod”> <xsd:complexType> <xsd:complexContent> <xsd:extension base=“modificationType”> <xsd:sequence> <xsd:element ref=“domain” minOccurs=“0” maxOccurs=“1”/> <xsd:sequence> <xsd:attributeGroup ref=“scopeModType”/> <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 |
|---|
ScopeMod() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
Domain |
getDomain() |
ScopeMods |
getType() |
String |
name()
Name of this object (the name of the xml element)
|
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
void |
setDomain(Domain domain) |
void |
setType(ScopeMods type) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
addDestination, addSource, getExclusion, getIncomplete, getPeriod, getRefersTo, getStatus, setExclusion, setIncomplete, setPeriod, setRefersTo, setStatusgetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWid, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompare, nestedCompareadd, getAttributes, nestedCompareprotected static final com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> ATTRIBUTES
public ScopeMods getType()
getType in interface ScopeModTypepublic void setType(ScopeMods type)
setType in interface ScopeModTypepublic Domain getDomain()
public void setDomain(Domain domain)
public 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 ModificationTypewriter - the stream to write the object toIOExceptionpublic void read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
read in interface Externalizableread in class ModificationTypereader - the stream to read data from in order to restore the objectpublic String name()
Name of this object (the name of the xml element)
public com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> attributes()
ModificationTypeTo read attributes.
attributes in interface AknObjectattributes in class ModificationTypeCopyright © 2017. All rights reserved.