public final class Publication extends MetaOpt implements Date, ShowReq, Name, Number, RefersOpt
The element publication is the metadata container specifying an official publication event for the FRBR expression of the document.
<xsd:element name=“publication”> <xsd:complexType> <xsd:complexContent> <xsd:extension base=“metaopt”> <xsd:attributeGroup ref=“date”/> <xsd:attributeGroup ref=“show”/> <xsd:attributeGroup ref=“name”/> <xsd:attributeGroup ref=“number”/> <xsd:attributeGroup ref=“refers”/> <xsd:extension> <xsd:complexContent> <xsd:complexType> <xsd:element>
| Constructor and Description |
|---|
Publication() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
OffsetDateTime |
getDate() |
String |
getName() |
String |
getNumber() |
ListReferenceRef |
getRefersTo() |
String |
getShortForm() |
String |
getShowAs() |
String |
name()
Name of this object (the name of the xml element)
|
void |
setDate(OffsetDateTime date) |
void |
setName(String name) |
void |
setNumber(String number) |
void |
setRefersTo(ListReferenceRef refersTo) |
void |
setShortForm(String shortForm) |
void |
setShowAs(String showAs) |
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, setEid, setEvolvingId, setGUID, setId, setWid, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributes, nestedComparepublic ListReferenceRef getRefersTo()
getRefersTo in interface Referspublic void setRefersTo(ListReferenceRef refersTo)
setRefersTo in interface Referspublic String getShortForm()
getShortForm in interface Showpublic void setShortForm(String shortForm)
setShortForm in interface Showpublic OffsetDateTime getDate()
public void setDate(OffsetDateTime date)
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 IdOptwrite in interface Externalizablewrite in class MetaOptwriter - 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 AbstractIdpublic void accept(AknVisitor visitor)
Copyright © 2017. All rights reserved.