| Constructor and Description |
|---|
ValueEntry(int index,
String cellValue)
Creates a new value entry.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canIgnoreValueInNextTurn() |
ValueLine.ValueEntry |
createCopy()
Clones the entry by copying the source cell value.
|
void |
dump(Map<Integer,String> csvLine,
Integer atPosition,
boolean wholeLineIsUnresolved) |
String |
getCellValue()
Gets the source cell value.
|
int |
getIndex() |
Object |
getTranslatedValue()
Gets the translated value.
|
String |
getUnresolvedReason() |
boolean |
hasUnresolvedReason(String valueLineReason) |
boolean |
isIgnore()
Checks whether this entry will be ignored.
|
boolean |
isManuallyMarkedUnresolved() |
boolean |
isUnresolved()
Checks whether the entry is unresolved.
|
boolean |
isUnused()
Checks whether the entry is unused.
|
protected void |
markUnresolved()
Marks the entry as unresolved.
|
void |
markUnresolved(String reason)
Marks the entry as unresolved caused by given reason.
|
protected void |
markUnused()
Marks the entry as unused.
|
void |
resolve(Object newTranslatedValue)
Marks the entry as resolved and sets the translated value.
|
String |
toString() |
public ValueEntry(int index,
String cellValue)
index - column indexcellValue - source cell valuepublic ValueLine.ValueEntry createCopy()
public int getIndex()
public String getCellValue()
public boolean isUnresolved()
public boolean isManuallyMarkedUnresolved()
public boolean hasUnresolvedReason(String valueLineReason)
public String getUnresolvedReason()
protected void markUnresolved()
public void markUnresolved(String reason)
reason - reason for not resolving valuepublic void resolve(Object newTranslatedValue)
newTranslatedValue - the value translated from source valueprotected void markUnused()
public boolean isUnused()
public boolean isIgnore()
public Object getTranslatedValue()
public void dump(Map<Integer,String> csvLine, Integer atPosition, boolean wholeLineIsUnresolved)
protected boolean canIgnoreValueInNextTurn()
Copyright © 2017 SAP SE. All Rights Reserved.