public class DateRestrictionModel extends RestrictionModel
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ENDDATE
Generated constant - Attribute key of
DateRestriction.endDate attribute defined at extension voucher. |
static java.lang.String |
STARTDATE
Generated constant - Attribute key of
DateRestriction.startDate attribute defined at extension voucher. |
_VOUCHERRESTRICTIONSRELATION, DESCRIPTION, POSITIVE, RESTRICTIONTYPE, VIOLATIONMESSAGE, VOUCHER, VOUCHERPOS_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED| Constructor and Description |
|---|
DateRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
DateRestrictionModel(java.util.Date _endDate,
java.util.Date _startDate,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
DateRestrictionModel(java.util.Date _endDate,
ItemModel _owner,
java.util.Date _startDate,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
DateRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getEndDate()
Generated method - Getter of the
DateRestriction.endDate attribute defined at extension voucher. |
java.util.Date |
getStartDate()
Generated method - Getter of the
DateRestriction.startDate attribute defined at extension voucher. |
void |
setEndDate(java.util.Date value)
Generated method - Setter of
DateRestriction.endDate attribute defined at extension voucher. |
void |
setStartDate(java.util.Date value)
Generated method - Setter of
DateRestriction.startDate attribute defined at extension voucher. |
getDescription, getDescription, getPositive, getRestrictionType, getRestrictionType, getViolationMessage, getViolationMessage, getVoucher, setDescription, setDescription, setPositive, setViolationMessage, setViolationMessage, setVouchergetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerpublic static final java.lang.String _TYPECODE
public static final java.lang.String STARTDATE
DateRestriction.startDate attribute defined at extension voucher.public static final java.lang.String ENDDATE
DateRestriction.endDate attribute defined at extension voucher.public DateRestrictionModel()
public DateRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public DateRestrictionModel(java.util.Date _endDate,
java.util.Date _startDate,
VoucherModel _voucher)
_endDate - initial attribute declared by type DateRestriction at extension voucher_startDate - initial attribute declared by type DateRestriction at extension voucher_voucher - initial attribute declared by type Restriction at extension voucher@Deprecated
public DateRestrictionModel(java.util.Date _endDate,
ItemModel _owner,
java.util.Date _startDate,
VoucherModel _voucher)
_endDate - initial attribute declared by type DateRestriction at extension voucher_owner - initial attribute declared by type Item at extension core_startDate - initial attribute declared by type DateRestriction at extension voucher_voucher - initial attribute declared by type Restriction at extension voucherpublic java.util.Date getEndDate()
DateRestriction.endDate attribute defined at extension voucher.public java.util.Date getStartDate()
DateRestriction.startDate attribute defined at extension voucher.public void setEndDate(java.util.Date value)
DateRestriction.endDate attribute defined at extension voucher.value - the endDate - the date until the given voucher is valid.public void setStartDate(java.util.Date value)
DateRestriction.startDate attribute defined at extension voucher.value - the startDate - the date past which the given voucher is valid.Copyright © 2018 SAP SE. All Rights Reserved.