org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704
Class To

java.lang.Object
  extended by org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.To
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class To
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for To complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="To">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="PartyId" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}PartyId" maxOccurs="unbounded"/>
         <element name="Role" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}non-empty-string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<PartyId> partyIds
           
protected  String role
           
 
Constructor Summary
To()
          Default no-arg constructor
To(List<PartyId> partyIds, String role)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 List<PartyId> getPartyIds()
          Gets the value of the partyIds property.
 String getRole()
          Gets the value of the role property.
 void setPartyIds(List<PartyId> value)
           
 void setRole(String value)
          Sets the value of the role property.
 String toString()
           
 To withPartyIds(Collection<PartyId> values)
           
 To withPartyIds(List<PartyId> value)
           
 To withPartyIds(PartyId... values)
           
 To withRole(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

partyIds

protected List<PartyId> partyIds

role

protected String role
Constructor Detail

To

public To()
Default no-arg constructor


To

public To(List<PartyId> partyIds,
          String role)
Fully-initialising value constructor

Method Detail

getPartyIds

public List<PartyId> getPartyIds()
Gets the value of the partyIds property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the partyIds property.

For example, to add a new item, do as follows:

    getPartyIds().add(newItem);
 

Objects of the following type(s) are allowed in the list PartyId


getRole

public String getRole()
Gets the value of the role property.

Returns:
possible object is String

setRole

public void setRole(String value)
Sets the value of the role property.

Parameters:
value - allowed object is String

setPartyIds

public void setPartyIds(List<PartyId> value)

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withPartyIds

public To withPartyIds(PartyId... values)

withPartyIds

public To withPartyIds(Collection<PartyId> values)

withRole

public To withRole(String value)

withPartyIds

public To withPartyIds(List<PartyId> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.