public static class ItemModelCloneCreator.CopyAttribute
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
CopyAttribute(ItemModelCloneCreator.CopyItem item,
AttributeDescriptorModel attributeDescriptor,
java.util.Set<de.hybris.platform.servicelayer.internal.model.impl.ItemModelCloneCreator.ModifiersFlag> modifiers,
java.lang.Object value)
Creates new copy attribute and initialize attributes
|
| Modifier and Type | Method and Description |
|---|---|
ItemModelCloneCreator.CopyItem |
getItem()
Returns owning item wrapper.
|
java.lang.Object |
getOriginalValue()
Returns the original attribute value.
|
java.lang.String |
getQualifier()
Returns attribute qualifier.
|
java.lang.Object |
getTranslatedValue()
Returns translated attribute value.
|
boolean |
isConsumed()
Tells whether the attribute has been consumed yet.
|
boolean |
isLocalized()
Returns whether or not the attribute is marked as partOf.
|
boolean |
isPartOf()
Returns whether or not the attribute is marked as partOf.
|
boolean |
isRequiredForCreation()
Tells whether or not the attribute is required for item creation.
|
boolean |
isTranslated()
Tells whether or not the attribute has been translated yet.
|
protected void |
setConsumed(boolean consumed)
Marks wrapper as consumed.
|
protected void |
setTranslatedValue(java.lang.Object translatedValue)
Registers translated value.
|
java.lang.String |
toString() |
protected CopyAttribute(ItemModelCloneCreator.CopyItem item, AttributeDescriptorModel attributeDescriptor, java.util.Set<de.hybris.platform.servicelayer.internal.model.impl.ItemModelCloneCreator.ModifiersFlag> modifiers, java.lang.Object value)
public boolean isPartOf()
public boolean isLocalized()
public boolean isRequiredForCreation()
public java.lang.Object getTranslatedValue()
java.lang.IllegalStateException - if the attribute has not been translated yetprotected void setTranslatedValue(java.lang.Object translatedValue)
public ItemModelCloneCreator.CopyItem getItem()
public java.lang.String getQualifier()
public java.lang.Object getOriginalValue()
public boolean isTranslated()
public boolean isConsumed()
protected void setConsumed(boolean consumed)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 SAP SE. All Rights Reserved.