public class OrderBlock extends ModelObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String | PROP_ORDER_BLOCK_ACTIVE
Constant for the Order Block Active property.
|
static java.lang.String | PROP_ORDER_BLOCK_COMMENT
Constant for the Order Block Comment property.
|
static java.lang.String | PROP_ORDER_BLOCK_ID
Constant for the Order Block ID property.
|
static java.lang.String | PROP_ORDER_BLOCK_LAST_MODIFIED
Constant for the Order Block Last Modified property.
|
static java.lang.String | PROP_ORDER_BLOCK_REASON_CODE
Constant for the Order Block Reason Code property.
|
Constructor and Description |
---|
OrderBlock()
Constructor for OrderBlock
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getBlockId()
This is a convenience method for getting the object's "orderBlockId" property.
|
BlockReasonCode | getBlockReasonCode()
This is a convenience method for getting the object's "orderBlockReasonCode" property.
|
java.lang.String | getComment()
This is a convenience method for getting the object's "orderBlockComment" property.
|
java.lang.String | getLastModified()
This is a convenience method for getting the object's "orderBlockLastModified" property.
|
static int | getMaximumCommentLength()
Convenience method to get the maximum length for a comment
|
java.lang.String | getReasonCodeId()
This is a convenience method for getting the Id of the BlockReasonCode object associated with this object.
|
java.lang.String | getReasonDescription()
This is a convenience method for getting the description of the BlockReasonCode object associated with this object.
|
boolean | isBlockActive()
This is a convenience method for getting the object's "orderBlockActive" property.
|
boolean | isManualType()
This is a convenience method for getting the manual type of the BlockReasonCode object associated with this object.
|
void | setBlockActive(boolean blockActive)
This is a convenience method for setting the object's "orderBlockActive" property.
|
void | setBlockId(java.lang.String id)
This is a convenience method for setting the object's "orderBlockId" property.
|
void | setBlockReasonCode(BlockReasonCode blockReasonCode)
This is a convenience method for setting the object's "orderBlockReasonCode" property.
|
void | setComment(java.lang.String comment)
This is a convenience method for setting the object's "orderBlockComment" property.
|
void | setLastModified(java.lang.String lastMod)
This is a convenience method for setting the object's "orderBlockLastModified" property.
|
void | setReasonCodeId(java.lang.String code)
This is a convenience method for setting the BlockReasonCode object associated with this object.
|
public static final java.lang.String PROP_ORDER_BLOCK_ID
The value is "orderBlockId".
public static final java.lang.String PROP_ORDER_BLOCK_REASON_CODE
The value is "orderBlockReasonCode".
public static final java.lang.String PROP_ORDER_BLOCK_ACTIVE
The value is "orderBlockActive".
public static final java.lang.String PROP_ORDER_BLOCK_COMMENT
The value is "orderBlockComment".
public static final java.lang.String PROP_ORDER_BLOCK_LAST_MODIFIED
The value is "orderBlockLastModified".
public java.lang.String getBlockId()
public void setBlockId(java.lang.String id)
public boolean isBlockActive()
public void setBlockActive(boolean blockActive)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public BlockReasonCode getBlockReasonCode()
public void setBlockReasonCode(BlockReasonCode blockReasonCode)
public java.lang.String getReasonDescription()
public java.lang.String getReasonCodeId()
public boolean isManualType()
public void setReasonCodeId(java.lang.String code)
This method accepts a String value for the code, for example "5010". This value is used to find the actual BlockReasonCode object which is then associated with this object.
public void setLastModified(java.lang.String lastMod)
public java.lang.String getLastModified()
public static int getMaximumCommentLength()