|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.To
public class To
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 |
|---|
protected List<PartyId> partyIds
protected String role
| Constructor Detail |
|---|
public To()
public To(List<PartyId> partyIds,
String role)
| Method Detail |
|---|
public List<PartyId> getPartyIds()
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
public String getRole()
Stringpublic void setRole(String value)
value - allowed object is
Stringpublic void setPartyIds(List<PartyId> value)
public String toString()
toString in class Object
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic To withPartyIds(PartyId... values)
public To withPartyIds(Collection<PartyId> values)
public To withRole(String value)
public To withPartyIds(List<PartyId> value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||