public class Origins
extends java.lang.Object
implements java.io.Serializable
A complex type that contains information about origins for this distribution.
| コンストラクタと説明 |
|---|
Origins() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Origin> |
getItems()
A complex type that contains origins for this distribution.
|
java.lang.Integer |
getQuantity()
The number of origins for this distribution.
|
int |
hashCode() |
void |
setItems(java.util.Collection<Origin> items)
A complex type that contains origins for this distribution.
|
void |
setQuantity(java.lang.Integer quantity)
The number of origins for this distribution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Origins |
withItems(java.util.Collection<Origin> items)
A complex type that contains origins for this distribution.
|
Origins |
withItems(Origin... items)
A complex type that contains origins for this distribution.
|
Origins |
withQuantity(java.lang.Integer quantity)
The number of origins for this distribution.
|
public java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
quantity - The number of origins for this distribution.public Origins withQuantity(java.lang.Integer quantity)
Returns a reference to this object so that method calls can be chained together.
quantity - The number of origins for this distribution.public java.util.List<Origin> getItems()
Constraints:
Length: 1 -
public void setItems(java.util.Collection<Origin> items)
Constraints:
Length: 1 -
items - A complex type that contains origins for this distribution.public Origins withItems(Origin... items)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
items - A complex type that contains origins for this distribution.public Origins withItems(java.util.Collection<Origin> items)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
items - A complex type that contains origins for this distribution.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object