public static class ItemCloneCreator.CopyAttribute extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
CopyAttribute(ItemCloneCreator.CopyItem item,
AttributeDescriptor ad,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
ItemCloneCreator.CopyItem |
getItem()
Returns owning item wrapper.
|
Object |
getOriginalValue()
Returns the original attribute value.
|
String |
getQualifier()
Returns attribute qualifier.
|
Object |
getTranslatedValue()
Returns translated attribute value.
|
boolean |
isConsumed()
Tells whether the attribute has been consumed yet.
|
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) |
protected void |
setTranslatedValue(Object translatedValue) |
String |
toString() |
protected CopyAttribute(ItemCloneCreator.CopyItem item, AttributeDescriptor ad, Object value)
public boolean isPartOf()
public boolean isRequiredForCreation()
public Object getTranslatedValue()
IllegalStateException - if the attribute has not been translated yetprotected void setTranslatedValue(Object translatedValue)
public ItemCloneCreator.CopyItem getItem()
public String getQualifier()
public Object getOriginalValue()
public boolean isTranslated()
public boolean isConsumed()
protected void setConsumed(boolean consumed)
Copyright © 2017 SAP SE. All Rights Reserved.