public class VoucherInvalidationModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
_VOUCHERINVALIDATIONSRELATION
Generated relation code constant for relation
VoucherInvalidationsRelation defining source attribute voucher in extension voucher. |
static java.lang.String |
CODE
Generated constant - Attribute key of
VoucherInvalidation.code attribute defined at extension voucher. |
static java.lang.String |
ORDER
Generated constant - Attribute key of
VoucherInvalidation.order attribute defined at extension voucher. |
static java.lang.String |
STATUS
Generated constant - Attribute key of
VoucherInvalidation.status attribute defined at extension voucher. |
static java.lang.String |
USER
Generated constant - Attribute key of
VoucherInvalidation.user attribute defined at extension voucher. |
static java.lang.String |
VOUCHER
Generated constant - Attribute key of
VoucherInvalidation.voucher attribute defined at extension voucher. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
VoucherInvalidationModel()
Generated constructor - Default constructor for generic creation.
|
VoucherInvalidationModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
VoucherInvalidationModel(java.lang.String _code,
OrderModel _order,
ItemModel _owner,
UserModel _user,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
VoucherInvalidationModel(java.lang.String _code,
OrderModel _order,
UserModel _user,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Generated method - Getter of the
VoucherInvalidation.code attribute defined at extension voucher. |
OrderModel |
getOrder()
Generated method - Getter of the
VoucherInvalidation.order attribute defined at extension voucher. |
java.lang.String |
getStatus()
Generated method - Getter of the
VoucherInvalidation.status attribute defined at extension voucher. |
UserModel |
getUser()
Generated method - Getter of the
VoucherInvalidation.user attribute defined at extension voucher. |
VoucherModel |
getVoucher()
Generated method - Getter of the
VoucherInvalidation.voucher attribute defined at extension voucher. |
void |
setCode(java.lang.String value)
Generated method - Initial setter of
VoucherInvalidation.code attribute defined at extension voucher. |
void |
setOrder(OrderModel value)
Generated method - Initial setter of
VoucherInvalidation.order attribute defined at extension voucher. |
void |
setStatus(java.lang.String value)
Generated method - Setter of
VoucherInvalidation.status attribute defined at extension voucher. |
void |
setUser(UserModel value)
Generated method - Initial setter of
VoucherInvalidation.user attribute defined at extension voucher. |
void |
setVoucher(VoucherModel value)
Generated method - Initial setter of
VoucherInvalidation.voucher attribute defined at extension voucher. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String _VOUCHERINVALIDATIONSRELATION
VoucherInvalidationsRelation defining source attribute voucher in extension voucher.public static final java.lang.String CODE
VoucherInvalidation.code attribute defined at extension voucher.public static final java.lang.String USER
VoucherInvalidation.user attribute defined at extension voucher.public static final java.lang.String ORDER
VoucherInvalidation.order attribute defined at extension voucher.public static final java.lang.String STATUS
VoucherInvalidation.status attribute defined at extension voucher.public static final java.lang.String VOUCHER
VoucherInvalidation.voucher attribute defined at extension voucher.public VoucherInvalidationModel()
public VoucherInvalidationModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public VoucherInvalidationModel(java.lang.String _code,
OrderModel _order,
UserModel _user,
VoucherModel _voucher)
_code - initial attribute declared by type VoucherInvalidation at extension voucher_order - initial attribute declared by type VoucherInvalidation at extension voucher_user - initial attribute declared by type VoucherInvalidation at extension voucher_voucher - initial attribute declared by type VoucherInvalidation at extension voucher@Deprecated
public VoucherInvalidationModel(java.lang.String _code,
OrderModel _order,
ItemModel _owner,
UserModel _user,
VoucherModel _voucher)
_code - initial attribute declared by type VoucherInvalidation at extension voucher_order - initial attribute declared by type VoucherInvalidation at extension voucher_owner - initial attribute declared by type Item at extension core_user - initial attribute declared by type VoucherInvalidation at extension voucher_voucher - initial attribute declared by type VoucherInvalidation at extension voucher@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
VoucherInvalidation.code attribute defined at extension voucher.@Accessor(qualifier="order", type=GETTER) public OrderModel getOrder()
VoucherInvalidation.order attribute defined at extension voucher.@Accessor(qualifier="status", type=GETTER) public java.lang.String getStatus()
VoucherInvalidation.status attribute defined at extension voucher.@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
VoucherInvalidation.user attribute defined at extension voucher.@Accessor(qualifier="voucher", type=GETTER) public VoucherModel getVoucher()
VoucherInvalidation.voucher attribute defined at extension voucher.@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
VoucherInvalidation.code attribute defined at extension voucher. Can only be used at creation of model - before first save.value - the code - the code used redeeming the voucher.@Accessor(qualifier="order", type=SETTER) public void setOrder(OrderModel value)
VoucherInvalidation.order attribute defined at extension voucher. Can only be used at creation of model - before first save.value - the order - the order for which the voucher code was applied.@Accessor(qualifier="status", type=SETTER) public void setStatus(java.lang.String value)
VoucherInvalidation.status attribute defined at extension voucher.value - the status - the status of the invalidation.@Accessor(qualifier="user", type=SETTER) public void setUser(UserModel value)
VoucherInvalidation.user attribute defined at extension voucher. Can only be used at creation of model - before first save.value - the user - the user who redeemed the voucher.@Accessor(qualifier="voucher", type=SETTER) public void setVoucher(VoucherModel value)
VoucherInvalidation.voucher attribute defined at extension voucher. Can only be used at creation of model - before first save.value - the voucherCopyright © 2018 SAP SE. All Rights Reserved.