public class StockNum extends Object
Element of ForceElement, RFSystem
Example:
<StockNum> <Number>0967-01-234-6799</Number> <Type>N</Type> </StockNum>
| Constructor and Description |
|---|
StockNum() |
| Modifier and Type | Method and Description |
|---|---|
S50 |
getStockNum()
Get the stock number of the system/equipment..
|
S25 |
getType()
Get the type of stock number..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetStockNum()
Determine if the StockNum is configured.
|
boolean |
isSetType()
Determine if the Type is configured.
|
void |
setStockNum(S50 value)
Set the stock number of the system/equipment..
|
void |
setType(S25 value)
Set the type of stock number..
|
String |
toString()
Get a string representation of this StockNum instance configuration.
|
StockNum |
withStockNum(String value)
Set the stock number of the system/equipment.
|
StockNum |
withType(String value)
Set the type of stock number.
|
public S50 getStockNum()
S50 instancepublic void setStockNum(S50 value)
value - a S50 instancepublic boolean isSetStockNum()
public void setType(S25 value)
value - a S25 instancepublic boolean isSetType()
public StockNum withStockNum(String value)
value - An instances of type String.public StockNum withType(String value)
value - An instances of type String.public String toString()
public boolean isSet()
Note that this method only checks for the presence of required information; this method does not validate the information format.
Copyright © 2016 OpenSSRF.org. All rights reserved.