Class SignalMessage.Builder<_B>
- java.lang.Object
-
- org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.SignalMessage.Builder<_B>
-
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- SignalMessage
public static class SignalMessage.Builder<_B> extends Object implements com.kscs.util.jaxb.Buildable
-
-
Field Summary
Fields Modifier and Type Field Description protected _B_parentBuilderprotected SignalMessage_storedValue
-
Constructor Summary
Constructors Constructor Description Builder(_B _parentBuilder, SignalMessage _other, boolean _copy)Builder(_B _parentBuilder, SignalMessage _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 SignalMessage.Builder<_B>addAny(Iterable<?> any)Adds the given items to the value of "any"SignalMessage.Builder<_B>addAny(Object... any)Adds the given items to the value of "any"Error.Builder<? extends SignalMessage.Builder<_B>>addError()Returns a new builder to build an additional value of the "Error" property.SignalMessage.Builder<_B>addError(Iterable<? extends Error> error)Adds the given items to the value of "error"SignalMessage.Builder<_B>addError(Error... error)Adds the given items to the value of "error"SignalMessagebuild()SignalMessage.Builder<_B>copyOf(SignalMessage _other)SignalMessage.Builder<_B>copyOf(SignalMessage.Builder _other)_Bend()protected <_P extends SignalMessage>
_Pinit(_P _product)SignalMessage.Builder<_B>withAny(Iterable<?> any)Sets the new value of "any" (any previous value will be replaced)SignalMessage.Builder<_B>withAny(Object... any)Sets the new value of "any" (any previous value will be replaced)SignalMessage.Builder<_B>withError(Iterable<? extends Error> error)Sets the new value of "error" (any previous value will be replaced)SignalMessage.Builder<_B>withError(Error... error)Sets the new value of "error" (any previous value will be replaced)MessageInfo.Builder<? extends SignalMessage.Builder<_B>>withMessageInfo()Returns the existing builder or a new builder to build the value of the "messageInfo" property.SignalMessage.Builder<_B>withMessageInfo(MessageInfo messageInfo)Sets the new value of "messageInfo" (any previous value will be replaced)PullRequest.Builder<? extends SignalMessage.Builder<_B>>withPullRequest()Returns the existing builder or a new builder to build the value of the "pullRequest" property.SignalMessage.Builder<_B>withPullRequest(PullRequest pullRequest)Sets the new value of "pullRequest" (any previous value will be replaced)Receipt.Builder<? extends SignalMessage.Builder<_B>>withReceipt()Returns the existing builder or a new builder to build the value of the "receipt" property.SignalMessage.Builder<_B>withReceipt(Receipt receipt)Sets the new value of "receipt" (any previous value will be replaced)
-
-
-
Field Detail
-
_parentBuilder
protected final _B _parentBuilder
-
_storedValue
protected final SignalMessage _storedValue
-
-
Constructor Detail
-
Builder
public Builder(_B _parentBuilder, SignalMessage _other, boolean _copy)
-
Builder
public Builder(_B _parentBuilder, SignalMessage _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 SignalMessage> _P init(_P _product)
-
withMessageInfo
public SignalMessage.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 SignalMessage.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.
-
withPullRequest
public SignalMessage.Builder<_B> withPullRequest(PullRequest pullRequest)
Sets the new value of "pullRequest" (any previous value will be replaced)- Parameters:
pullRequest- New value of the "pullRequest" property.
-
withPullRequest
public PullRequest.Builder<? extends SignalMessage.Builder<_B>> withPullRequest()
Returns the existing builder or a new builder to build the value of the "pullRequest" property. UsePullRequest.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "pullRequest" property.
Use
PullRequest.Builder.end()to return to the current builder.
-
withReceipt
public SignalMessage.Builder<_B> withReceipt(Receipt receipt)
Sets the new value of "receipt" (any previous value will be replaced)- Parameters:
receipt- New value of the "receipt" property.
-
withReceipt
public Receipt.Builder<? extends SignalMessage.Builder<_B>> withReceipt()
Returns the existing builder or a new builder to build the value of the "receipt" property. UseReceipt.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "receipt" property.
Use
Receipt.Builder.end()to return to the current builder.
-
addError
public SignalMessage.Builder<_B> addError(Iterable<? extends Error> error)
Adds the given items to the value of "error"- Parameters:
error- Items to add to the value of the "error" property
-
withError
public SignalMessage.Builder<_B> withError(Iterable<? extends Error> error)
Sets the new value of "error" (any previous value will be replaced)- Parameters:
error- New value of the "error" property.
-
addError
public SignalMessage.Builder<_B> addError(Error... error)
Adds the given items to the value of "error"- Parameters:
error- Items to add to the value of the "error" property
-
withError
public SignalMessage.Builder<_B> withError(Error... error)
Sets the new value of "error" (any previous value will be replaced)- Parameters:
error- New value of the "error" property.
-
addError
public Error.Builder<? extends SignalMessage.Builder<_B>> addError()
Returns a new builder to build an additional value of the "Error" property. UseError.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Error" property.
Use
Error.Builder.end()to return to the current builder.
-
addAny
public SignalMessage.Builder<_B> addAny(Iterable<?> any)
Adds the given items to the value of "any"- Parameters:
any- Items to add to the value of the "any" property
-
withAny
public SignalMessage.Builder<_B> withAny(Iterable<?> any)
Sets the new value of "any" (any previous value will be replaced)- Parameters:
any- New value of the "any" property.
-
addAny
public SignalMessage.Builder<_B> addAny(Object... any)
Adds the given items to the value of "any"- Parameters:
any- Items to add to the value of the "any" property
-
withAny
public SignalMessage.Builder<_B> withAny(Object... any)
Sets the new value of "any" (any previous value will be replaced)- Parameters:
any- New value of the "any" property.
-
build
public SignalMessage build()
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable
-
copyOf
public SignalMessage.Builder<_B> copyOf(SignalMessage _other)
-
copyOf
public SignalMessage.Builder<_B> copyOf(SignalMessage.Builder _other)
-
-