- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Sender composite
A group of data elements which together specify the sender of an ONIX for Books message. Mandatory in any ONIX for Books message, and non-repeating.
Reference name | <Sender> |
Short tag | <sender> |
Cardinality | 1 |
- <
Header
>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixComposite
OnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,
K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.Free text giving the name, department, etc for a contact person in the sender organization who is responsible for the content of the message.A text field giving the e‑mail address for a contact person in the sender organization who is responsible for the content of the message.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
A group of data elements which together define an identifier of the sender.The name of the sender organization, which should always be stated in a standard form agreed with the addressee.A telephone number of the contact person in the sender organization, wherever possible including the plus sign and the international dialing code.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
Sender
public Sender() -
Sender
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixComposite
This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites- Specified by:
_initialize
in interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixComposite
For advanced use-cases only.- Specified by:
getXmlElement
in interfaceOnixComposite
- Returns:
- native representation of the XML element underlying to this tag
-
senderIdentifiers
public ListOfOnixDataCompositeWithKey<SenderIdentifier,JonixSenderIdentifier, senderIdentifiers()NameIdentifierTypes> A group of data elements which together define an identifier of the sender. The composite is optional, and repeatable if more than one identifier of different types is sent; but either a <SenderName> or a <SenderIdentifier> must be included.
Jonix-Comment: this list is required to contain at least one item -
senderName
The name of the sender organization, which should always be stated in a standard form agreed with the addressee. Optional and non-repeating, but either a <SenderName> element or a <SenderIdentifier> composite must be included.
Jonix-Comment: this field is optional -
contactName
Free text giving the name, department, etc for a contact person in the sender organization who is responsible for the content of the message. Optional and non-repeating.
Jonix-Comment: this field is optional -
telephoneNumber
A telephone number of the contact person in the sender organization, wherever possible including the plus sign and the international dialing code. Optional, and non-repeating.
Jonix-Comment: this field is optional -
emailAddress
A text field giving the e‑mail address for a contact person in the sender organization who is responsible for the content of the message. Optional and non-repeating.
Jonix-Comment: this field is optional
-