public class OrderVersion extends Session
The default properties of the OrderVersion object is described in this class. You can add additional properties by choosing a unique property name for use with the setData and getData methods.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | PROP_CHANGES
Constant for the changes property name.
|
static java.lang.String | PROP_VERSION
Constant for the version property name.
|
Constructor and Description |
---|
OrderVersion()
Constructor for OrderVersion
|
Modifier and Type | Method and Description |
---|---|
void | addChangesObject(OrderChangeInformation orderChange)
This method is a convenience method for setting the "changes" property.
|
ModelObjectList | getChangesList()
This method is a convenience method for retrieving the current setting of the "changes" property.
|
java.lang.Short | getVersion()
This method is a convenience method for retrieving the current setting of the "version" property.
|
void | setVersion(java.lang.Short version)
This method is a convenience method for setting the "version" property.
|
public static final java.lang.String PROP_VERSION
The value is "version".
The data stored under the "version" property is a Short integer, representing the order version number of an order.
public static final java.lang.String PROP_CHANGES
The value is "changes".
The data stored under the "changes" property is a ModelObjectList that contains the list of OrderChangeInformation objects.
public java.lang.Short getVersion()
public void setVersion(java.lang.Short version)
public ModelObjectList getChangesList()
public void addChangesObject(OrderChangeInformation orderChange)