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 booleanbooleanbooleangetCustomProperty(String key) getId()The ID of the entity.inthashCode()voidsetCustomProperties(Map<String, Object> customProperties) voidsetCustomProperty(String key, Object value) voidThe ID of the entity.toString()Methods inherited from class com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
getCorrelationId, getJsonPath, getParentCorrelationId, isNewlyCreated, setCorrelationId, setJsonPath, setNewlyCreated, setParentCorrelationIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.dataexchange.domain.ExchangeObject
getContextState, setContextState
-
Constructor Details
-
EntityExchangeObject
public EntityExchangeObject()
-
-
Method Details
-
setCustomProperty
- Specified by:
setCustomPropertyin interfacePassthroughProperties- Overrides:
setCustomPropertyin classAbstractPassthroughProperties
-
getCustomProperty
- Specified by:
getCustomPropertyin interfacePassthroughProperties- Overrides:
getCustomPropertyin classAbstractPassthroughProperties
-
containsCustomProperty
- Specified by:
containsCustomPropertyin interfacePassthroughProperties- Overrides:
containsCustomPropertyin classAbstractPassthroughProperties
-
getCustomProperties
- Overrides:
getCustomPropertiesin classAbstractPassthroughProperties
-
setCustomProperties
- Specified by:
setCustomPropertiesin interfacePassthroughProperties- Overrides:
setCustomPropertiesin classAbstractPassthroughProperties
-
getId
The ID of the entity.- Specified by:
getIdin interfaceExchangeObject- Returns:
- the id of the entity
-
setId
The ID of the entity.- Specified by:
setIdin interfaceExchangeObject- Parameters:
id- the id of the entity
-
toString
- Overrides:
toStringin classAbstractExchangeObject
-
equals
- Overrides:
equalsin classAbstractExchangeObject
-
canEqual
- Overrides:
canEqualin classAbstractExchangeObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractExchangeObject
-