Class EntityExchangeObject
java.lang.Object
com.broadleafcommerce.dataexchange.domain.catalog.product.AbstractPassthroughProperties
com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
com.broadleafcommerce.dataexchange.domain.EntityExchangeObject
- All Implemented Interfaces:
PassthroughProperties
,ExchangeObject
,Serializable
- Direct Known Subclasses:
CategoryRef
,ComprehensiveProduct
,DataDrivenEnum
,ProductOption
,ProductTag
,SkuInventory
,Variant
public abstract class EntityExchangeObject
extends AbstractExchangeObject
implements PassthroughProperties
Entity representation of an exchange object. This implementation has an ID field. If no ID is
needed, use
AbstractExchangeObject
instead.- Author:
- Kelly Tisdell (ktisdell)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
boolean
getCustomProperty
(String key) getId()
The ID of the entity.int
hashCode()
void
setCustomProperties
(Map<String, Object> customProperties) void
setCustomProperty
(String key, Object value) void
The ID of the entity.toString()
Methods inherited from class com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
getCorrelationId, getJsonPath, getParentCorrelationId, isNewlyCreated, setCorrelationId, setJsonPath, setNewlyCreated, setParentCorrelationId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.dataexchange.domain.ExchangeObject
getContextState, setContextState
-
Constructor Details
-
EntityExchangeObject
public EntityExchangeObject()
-
-
Method Details
-
setCustomProperty
- Specified by:
setCustomProperty
in interfacePassthroughProperties
- Overrides:
setCustomProperty
in classAbstractPassthroughProperties
-
getCustomProperty
- Specified by:
getCustomProperty
in interfacePassthroughProperties
- Overrides:
getCustomProperty
in classAbstractPassthroughProperties
-
containsCustomProperty
- Specified by:
containsCustomProperty
in interfacePassthroughProperties
- Overrides:
containsCustomProperty
in classAbstractPassthroughProperties
-
getCustomProperties
- Overrides:
getCustomProperties
in classAbstractPassthroughProperties
-
setCustomProperties
- Specified by:
setCustomProperties
in interfacePassthroughProperties
- Overrides:
setCustomProperties
in classAbstractPassthroughProperties
-
getId
The ID of the entity.- Specified by:
getId
in interfaceExchangeObject
- Returns:
- the id of the entity
-
setId
The ID of the entity.- Specified by:
setId
in interfaceExchangeObject
- Parameters:
id
- the id of the entity
-
toString
- Overrides:
toString
in classAbstractExchangeObject
-
equals
- Overrides:
equals
in classAbstractExchangeObject
-
canEqual
- Overrides:
canEqual
in classAbstractExchangeObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractExchangeObject
-