Class ExchangeEntityAsset
java.lang.Object
com.broadleafcommerce.asset.consumer.domain.EntityAsset
com.broadleafcommerce.dataexchange.domain.asset.ExchangeEntityAsset
- All Implemented Interfaces:
com.broadleafcommerce.asset.consumer.domain.AssetSourceAware,ExchangeObject,Serializable
- Direct Known Subclasses:
ProductAsset
public abstract class ExchangeEntityAsset
extends com.broadleafcommerce.asset.consumer.domain.EntityAsset
implements ExchangeObject
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanvoidsetCorrelationId(String correlationId) voidsetNewlyCreated(boolean newlyCreated) Set to true if the object is newly created.voidsetParentCorrelationId(String parentCorrelationId) toString()Methods inherited from class com.broadleafcommerce.asset.consumer.domain.EntityAsset
getAltText, getApplicationId, getAttributes, getEmbedCode, getProvider, getTags, getTenantId, getTitle, getType, getUrl, setAltText, setApplicationId, setAttributes, setEmbedCode, setProvider, setTags, setTenantId, setTitle, setType, setUrlMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.dataexchange.domain.ExchangeObject
getContextState, getId, setContextState, setId
-
Constructor Details
-
ExchangeEntityAsset
public ExchangeEntityAsset()
-
-
Method Details
-
getParentCorrelationId
- Specified by:
getParentCorrelationIdin interfaceExchangeObject
-
getCorrelationId
- Specified by:
getCorrelationIdin interfaceExchangeObject
-
isNewlyCreated
public boolean isNewlyCreated()- Specified by:
isNewlyCreatedin interfaceExchangeObject- Returns:
- true if the object is newly created. Note that this is not always applicable to all objects.
-
setParentCorrelationId
- Specified by:
setParentCorrelationIdin interfaceExchangeObject
-
setCorrelationId
- Specified by:
setCorrelationIdin interfaceExchangeObject
-
setNewlyCreated
public void setNewlyCreated(boolean newlyCreated) Description copied from interface:ExchangeObjectSet to true if the object is newly created. This may not be applicable to all objects.- Specified by:
setNewlyCreatedin interfaceExchangeObject- Parameters:
newlyCreated- true if the object is newly created
-
toString
- Overrides:
toStringin classcom.broadleafcommerce.asset.consumer.domain.EntityAsset
-
equals
- Overrides:
equalsin classcom.broadleafcommerce.asset.consumer.domain.EntityAsset
-
canEqual
- Overrides:
canEqualin classcom.broadleafcommerce.asset.consumer.domain.EntityAsset
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.broadleafcommerce.asset.consumer.domain.EntityAsset
-