Class WaitingToBeResolvedProducts
- java.lang.Object
-
- com.commercetools.sync.commons.models.WaitingToBeResolvedProducts
-
- All Implemented Interfaces:
WaitingToBeResolved
public final class WaitingToBeResolvedProducts extends java.lang.Object implements WaitingToBeResolved
-
-
Constructor Summary
Constructors Constructor Description WaitingToBeResolvedProducts()
WaitingToBeResolvedProducts(com.commercetools.api.models.product.ProductDraft productDraft, java.util.Set<java.lang.String> missingReferencedProductKeys)
Represents a productDraft that is waiting for some product references, which are on this productDraft as attributes, to be resolved.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getKey()
java.util.Set<java.lang.String>
getMissingReferencedProductKeys()
com.commercetools.api.models.product.ProductDraft
getProductDraft()
int
hashCode()
void
setMissingReferencedProductKeys(java.util.Set<java.lang.String> missingReferencedProductKeys)
void
setProductDraft(com.commercetools.api.models.product.ProductDraft productDraft)
-
-
-
Constructor Detail
-
WaitingToBeResolvedProducts
public WaitingToBeResolvedProducts(@Nonnull com.commercetools.api.models.product.ProductDraft productDraft, @Nonnull java.util.Set<java.lang.String> missingReferencedProductKeys)
Represents a productDraft that is waiting for some product references, which are on this productDraft as attributes, to be resolved.- Parameters:
productDraft
- product draft which has irresolvable references as attributes.missingReferencedProductKeys
- product keys of irresolvable references.
-
WaitingToBeResolvedProducts
public WaitingToBeResolvedProducts()
-
-
Method Detail
-
getProductDraft
@Nonnull public com.commercetools.api.models.product.ProductDraft getProductDraft()
-
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interfaceWaitingToBeResolved
-
getMissingReferencedProductKeys
@Nonnull public java.util.Set<java.lang.String> getMissingReferencedProductKeys()
-
setProductDraft
public void setProductDraft(@Nonnull com.commercetools.api.models.product.ProductDraft productDraft)
-
setMissingReferencedProductKeys
public void setMissingReferencedProductKeys(@Nonnull java.util.Set<java.lang.String> missingReferencedProductKeys)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-