Class UserMessage.Builder<_B>
- java.lang.Object
-
- org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.UserMessage.Builder<_B>
-
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- UserMessage
public static class UserMessage.Builder<_B> extends Object implements com.kscs.util.jaxb.Buildable
-
-
Field Summary
Fields Modifier and Type Field Description protected _B_parentBuilderprotected UserMessage_storedValue
-
Constructor Summary
Constructors Constructor Description Builder(_B _parentBuilder, UserMessage _other, boolean _copy)Builder(_B _parentBuilder, UserMessage _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserMessagebuild()UserMessage.Builder<_B>copyOf(UserMessage _other)UserMessage.Builder<_B>copyOf(UserMessage.Builder _other)_Bend()protected <_P extends UserMessage>
_Pinit(_P _product)CollaborationInfo.Builder<? extends UserMessage.Builder<_B>>withCollaborationInfo()Returns the existing builder or a new builder to build the value of the "collaborationInfo" property.UserMessage.Builder<_B>withCollaborationInfo(CollaborationInfo collaborationInfo)Sets the new value of "collaborationInfo" (any previous value will be replaced)MessageInfo.Builder<? extends UserMessage.Builder<_B>>withMessageInfo()Returns the existing builder or a new builder to build the value of the "messageInfo" property.UserMessage.Builder<_B>withMessageInfo(MessageInfo messageInfo)Sets the new value of "messageInfo" (any previous value will be replaced)MessageProperties.Builder<? extends UserMessage.Builder<_B>>withMessageProperties()Returns the existing builder or a new builder to build the value of the "messageProperties" property.UserMessage.Builder<_B>withMessageProperties(MessageProperties messageProperties)Sets the new value of "messageProperties" (any previous value will be replaced)UserMessage.Builder<_B>withMpc(String mpc)Sets the new value of "mpc" (any previous value will be replaced)PartyInfo.Builder<? extends UserMessage.Builder<_B>>withPartyInfo()Returns the existing builder or a new builder to build the value of the "partyInfo" property.UserMessage.Builder<_B>withPartyInfo(PartyInfo partyInfo)Sets the new value of "partyInfo" (any previous value will be replaced)PayloadInfo.Builder<? extends UserMessage.Builder<_B>>withPayloadInfo()Returns the existing builder or a new builder to build the value of the "payloadInfo" property.UserMessage.Builder<_B>withPayloadInfo(PayloadInfo payloadInfo)Sets the new value of "payloadInfo" (any previous value will be replaced)
-
-
-
Field Detail
-
_parentBuilder
protected final _B _parentBuilder
-
_storedValue
protected final UserMessage _storedValue
-
-
Constructor Detail
-
Builder
public Builder(_B _parentBuilder, UserMessage _other, boolean _copy)
-
Builder
public Builder(_B _parentBuilder, UserMessage _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Detail
-
end
public _B end()
-
init
protected <_P extends UserMessage> _P init(_P _product)
-
withMessageInfo
public UserMessage.Builder<_B> withMessageInfo(MessageInfo messageInfo)
Sets the new value of "messageInfo" (any previous value will be replaced)- Parameters:
messageInfo- New value of the "messageInfo" property.
-
withMessageInfo
public MessageInfo.Builder<? extends UserMessage.Builder<_B>> withMessageInfo()
Returns the existing builder or a new builder to build the value of the "messageInfo" property. UseMessageInfo.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "messageInfo" property.
Use
MessageInfo.Builder.end()to return to the current builder.
-
withPartyInfo
public UserMessage.Builder<_B> withPartyInfo(PartyInfo partyInfo)
Sets the new value of "partyInfo" (any previous value will be replaced)- Parameters:
partyInfo- New value of the "partyInfo" property.
-
withPartyInfo
public PartyInfo.Builder<? extends UserMessage.Builder<_B>> withPartyInfo()
Returns the existing builder or a new builder to build the value of the "partyInfo" property. UsePartyInfo.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "partyInfo" property.
Use
PartyInfo.Builder.end()to return to the current builder.
-
withCollaborationInfo
public UserMessage.Builder<_B> withCollaborationInfo(CollaborationInfo collaborationInfo)
Sets the new value of "collaborationInfo" (any previous value will be replaced)- Parameters:
collaborationInfo- New value of the "collaborationInfo" property.
-
withCollaborationInfo
public CollaborationInfo.Builder<? extends UserMessage.Builder<_B>> withCollaborationInfo()
Returns the existing builder or a new builder to build the value of the "collaborationInfo" property. UseCollaborationInfo.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "collaborationInfo" property.
Use
CollaborationInfo.Builder.end()to return to the current builder.
-
withMessageProperties
public UserMessage.Builder<_B> withMessageProperties(MessageProperties messageProperties)
Sets the new value of "messageProperties" (any previous value will be replaced)- Parameters:
messageProperties- New value of the "messageProperties" property.
-
withMessageProperties
public MessageProperties.Builder<? extends UserMessage.Builder<_B>> withMessageProperties()
Returns the existing builder or a new builder to build the value of the "messageProperties" property. UseMessageProperties.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "messageProperties" property.
Use
MessageProperties.Builder.end()to return to the current builder.
-
withPayloadInfo
public UserMessage.Builder<_B> withPayloadInfo(PayloadInfo payloadInfo)
Sets the new value of "payloadInfo" (any previous value will be replaced)- Parameters:
payloadInfo- New value of the "payloadInfo" property.
-
withPayloadInfo
public PayloadInfo.Builder<? extends UserMessage.Builder<_B>> withPayloadInfo()
Returns the existing builder or a new builder to build the value of the "payloadInfo" property. UsePayloadInfo.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "payloadInfo" property.
Use
PayloadInfo.Builder.end()to return to the current builder.
-
withMpc
public UserMessage.Builder<_B> withMpc(String mpc)
Sets the new value of "mpc" (any previous value will be replaced)- Parameters:
mpc- New value of the "mpc" property.
-
build
public UserMessage build()
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable
-
copyOf
public UserMessage.Builder<_B> copyOf(UserMessage _other)
-
copyOf
public UserMessage.Builder<_B> copyOf(UserMessage.Builder _other)
-
-