Class BaseResourceImpl
java.lang.Object
com.commercetools.api.models.common.BaseResourceImpl
- All Implemented Interfaces:
BaseResource
,io.vrap.rmf.base.client.ModelBase
public class BaseResourceImpl
extends Object
implements BaseResource, io.vrap.rmf.base.client.ModelBase
BaseResource
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
int
hashCode()
void
setCreatedAt
(ZonedDateTime createdAt) set createdAtvoid
set idvoid
setLastModifiedAt
(ZonedDateTime lastModifiedAt) set lastModifiedAtvoid
setVersion
(Long version) set versionMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
BaseResourceImpl
public BaseResourceImpl()create empty instance
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceBaseResource
- Returns:
- id
-
getVersion
- Specified by:
getVersion
in interfaceBaseResource
- Returns:
- version
-
getCreatedAt
- Specified by:
getCreatedAt
in interfaceBaseResource
- Returns:
- createdAt
-
getLastModifiedAt
- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Returns:
- lastModifiedAt
-
setId
Description copied from interface:BaseResource
set id- Specified by:
setId
in interfaceBaseResource
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:BaseResource
set version- Specified by:
setVersion
in interfaceBaseResource
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:BaseResource
set createdAt- Specified by:
setCreatedAt
in interfaceBaseResource
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:BaseResource
set lastModifiedAt- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Parameters:
lastModifiedAt
- value to be set
-
equals
-
hashCode
public int hashCode()
-