Class To
- java.lang.Object
-
- org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.To
-
public class To extends Object
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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTo.Builder<_B>static classTo.Selectstatic classTo.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>,TParent>
-
Constructor Summary
Constructors Constructor Description To()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static To.Builder<Void>builder()static To.Builder<Void>copyExcept(To _other, com.kscs.util.jaxb.PropertyTree _propertyTree)static <_B> To.Builder<_B>copyOf(To _other)static <_B> To.Builder<_B>copyOf(To _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)static To.Builder<Void>copyOnly(To _other, com.kscs.util.jaxb.PropertyTree _propertyTree)<_B> voidcopyTo(To.Builder<_B> _other)Copies all state of this object to a builder.<_B> voidcopyTo(To.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)Copies all state of this object to a builder.List<PartyId>getPartyId()Gets the value of the partyId property.StringgetRole()Gets the value of the role property.To.Builder<Void>newCopyBuilder()<_B> To.Builder<_B>newCopyBuilder(_B _parentBuilder)<_B> To.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)To.Builder<Void>newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)voidsetRole(String value)Sets the value of the role property.
-
-
-
Method Detail
-
getPartyId
public List<PartyId> getPartyId()
Gets the value of the partyId 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
setmethod for the partyId property.For example, to add a new item, do as follows:
getPartyId().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 isString
-
copyTo
public <_B> void copyTo(To.Builder<_B> _other)
Copies all state of this object to a builder. This method is used by thecopyOf(org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.To)method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
public <_B> To.Builder<_B> newCopyBuilder(_B _parentBuilder)
-
newCopyBuilder
public To.Builder<Void> newCopyBuilder()
-
builder
public static To.Builder<Void> builder()
-
copyOf
public static <_B> To.Builder<_B> copyOf(To _other)
-
copyTo
public <_B> void copyTo(To.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
Copies all state of this object to a builder. This method is used by thecopyOf(org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.To)method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
public <_B> To.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
newCopyBuilder
public To.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
copyOf
public static <_B> To.Builder<_B> copyOf(To _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
copyExcept
public static To.Builder<Void> copyExcept(To _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
-
copyOnly
public static To.Builder<Void> copyOnly(To _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
-
-