Interface BaseEntity
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Bundle
,Country
,License
,Licensee
,LicenseTemplate
,Notification
,PaymentMethod
,Product
,ProductModule
,Token
,Transaction
- All Known Implementing Classes:
BaseEntityImpl
,BundleImpl
,CountryImpl
,LicenseeImpl
,LicenseImpl
,LicenseTemplateImpl
,NotificationImpl
,PaymentMethodImpl
,ProductImpl
,ProductModuleImpl
,TokenImpl
,TransactionImpl
Defines properties common to all (or most) of other entities.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(String property, String value) javax.ws.rs.core.Form
Converts properties of the entity to the body of POST requestvoid
removeProperty
(String property) void
void
-
Method Details
-
getNumber
String getNumber() -
setNumber
-
getActive
Boolean getActive() -
setActive
-
getProperties
-
addProperty
-
removeProperty
-
asRequestForm
javax.ws.rs.core.Form asRequestForm()Converts properties of the entity to the body of POST request- Returns:
- object that represents HTML form data request encoded using the "application/x-www-form-urlencoded" content type
-