public static class ValueLine.ValueEntry
extends java.lang.Object
| Constructor and Description |
|---|
ValueEntry(int index,
java.lang.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(java.util.Map<java.lang.Integer,java.lang.String> csvLine,
java.lang.Integer atPosition,
boolean wholeLineIsUnresolved) |
java.lang.String |
getCellValue()
Gets the source cell value.
|
int |
getIndex() |
java.lang.Object |
getTranslatedValue()
Gets the translated value.
|
java.lang.String |
getUnresolvedReason() |
boolean |
hasUnresolvedReason(java.lang.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(java.lang.String reason)
Marks the entry as unresolved caused by given reason.
|
protected void |
markUnused()
Marks the entry as unused.
|
void |
resolve(java.lang.Object newTranslatedValue)
Marks the entry as resolved and sets the translated value.
|
java.lang.String |
toString() |
public ValueEntry(int index,
java.lang.String cellValue)
index - column indexcellValue - source cell valuepublic ValueLine.ValueEntry createCopy()
public int getIndex()
public java.lang.String getCellValue()
public boolean isUnresolved()
public boolean isManuallyMarkedUnresolved()
public boolean hasUnresolvedReason(java.lang.String valueLineReason)
public java.lang.String getUnresolvedReason()
protected void markUnresolved()
public void markUnresolved(java.lang.String reason)
reason - reason for not resolving valuepublic void resolve(java.lang.Object newTranslatedValue)
newTranslatedValue - the value translated from source valueprotected void markUnused()
public boolean isUnused()
public boolean isIgnore()
public java.lang.Object getTranslatedValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic void dump(java.util.Map<java.lang.Integer,java.lang.String> csvLine,
java.lang.Integer atPosition,
boolean wholeLineIsUnresolved)
protected boolean canIgnoreValueInNextTurn()
Copyright © 2018 SAP SE. All Rights Reserved.