public final class Restriction extends AnyOtherType implements RefersOpt, RestrictionType
The element restriction specifies information about a restriction (such as a jurisdiction specification) by pointing to a specific legislative, geographic or temporal events through the refersTo attribute.
<xsd:element name=“restriction” type=“anyOtherType”> <xsd:complexType> <xsd:complexContent> <xsd:extension base=“anyOtherType”> <xsd:attributeGroup ref=“refers”/> <xsd:attributeGroup ref=“restrictionType”/> <xsd:extension> <xsd:complexContent> <xsd:complexType> <xsd:element>
| Constructor and Description |
|---|
Restriction() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
ListReferenceRef |
getRefersTo() |
RestrictionType |
getType() |
String |
name()
Name of this object (the name of the xml element)
|
void |
setRefersTo(ListReferenceRef refersTo) |
void |
setType(RestrictionType type) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
accept, add, add, getHref, read, setHrefgetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWid, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompare, nestedComparereadgetAttributes, nestedComparepublic RestrictionType getType()
getType in interface RestrictionTypepublic void setType(RestrictionType type)
setType in interface RestrictionTypepublic ListReferenceRef getRefersTo()
getRefersTo in interface Referspublic void setRefersTo(ListReferenceRef refersTo)
setRefersTo in interface Referspublic 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 IdOptwrite in interface Externalizablewrite in class AnyOtherTypewriter - 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 AnyOtherTypeCopyright © 2017. All rights reserved.