public interface MappingLineModel extends MappingLineObservable
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(MappingLineModel mappingLineModel)
Adds a new sub mappingLineModel (child) to the mapping mappingLineModel.
|
String |
getAttributeCode()
Returns the code of the attribute represented by the mapping mappingLineModel.
|
AttributeDescriptorModel |
getAttributeDescriptor()
Returns the attribute descriptor of this mapping mappingLineModel.
|
List<MappingLineModel> |
getChildren()
Returns the list of child/sub lines.
|
TypeModel |
getCollectionElementType()
Returns the type of this collection element.
|
String |
getDisplayName()
Returns the attribute name of the mapping mappingLineModel for display in the mapping area.
|
AbstractImportFormat |
getFormatPattern()
Gets the format pattern of the mappingLineModel if there is one (for numbers and dates).
|
int |
getLevel()
Returns the level of this mappingLineModel in the mapping.
|
MappingModel |
getMapping()
Returns the mapping to which this mappingLineModel belongs to.
|
MappingLineModel |
getParent()
Returns the parent of this mapping mappingLineModel or null if the mappingLineModel is on the top level.
|
String |
getPropDescriptorQualifier()
Returns the property descriptor qualifier of the mapping lin
|
SourceColumnModel |
getSource()
Returns the assigned source column.
|
String |
getTranslator()
Returns the translator that should be used for importing the mapped attribute values of this mapping mappingLineModel.
|
String |
getType()
Returns the type of this attribute.
|
String |
getTypeCode()
Returns the code of the attribute type of the mapping mappingLineModel.
|
String |
getValue()
Returns the content of the value field of the mapping mappingLineModel.
|
boolean |
hasChildren()
Returns true if this mappingLineModel has children/sub lines.
|
boolean |
hasSource()
Returns true if this mappingLineModel has a source
|
boolean |
isAllowNull()
Returns true if this mappingLineModel is marked to allow null values.
|
boolean |
isAtomic()
Returns true if this mappingLineModel represents an atomic type with (no sub lines possible).
|
boolean |
isCollapsed()
Returns true if the mapping mappingLineModel is opened (in the mapping view) after next update
|
boolean |
isCollectionElement()
Returns true if the mapping mappingLineModel is a collection element.
|
boolean |
isComposed()
Returns true if this mappingLineModel is a composed mappingLineModel.
|
boolean |
isFocused()
Returns true if the mapping mappingLineModel is focused after next update
|
boolean |
isSelectorLocked()
Returns true if the unique selector is locked for changes.
|
boolean |
isSourceLocked()
Returns true if the source cell field is locked for changes.
|
boolean |
isUnique()
Returns true if this mappingLineModel is marked as unique.
|
boolean |
isValid()
Returns whether the mapping mappingLineModel is valid according to result of the mapping validation.
|
boolean |
isValueLocked()
Returns true if the value field is locked for changes.
|
void |
removeChild(MappingLineModel mappingLineModel)
Removes a mappingLineModel from the list of children.
|
void |
setAllowNull(boolean isAllowNull)
Sets true if the mapping mappingLineModel should allow null values during import.
|
void |
setAttributeDescriptor(AttributeDescriptorModel attributeDescriptor)
Sets the attribute descriptor to the mapping mappingLineModel.
|
void |
setCollapsed(boolean collapsed)
Sets the variable that defines if the mapping mappingLineModel is opened or closed (in the mapping view) after next update
|
void |
setCollectionElementType(TypeModel model)
Sets the type of the collection element.
|
void |
setFocused(boolean focused)
Sets the variable that defines if the mapping mappingLineModel is focused after next update
|
void |
setFormatPattern(AbstractImportFormat formatPattern)
Sets the format patter to the mapping mappingLineModel (for numbers or dates).
|
void |
setMapping(MappingModel mapping)
Sets the mapping of the mapping mappingLineModel.
|
void |
setParent(MappingLineModel mappingLineModel)
Sets the parent of the mapping mappingLineModel
|
void |
setPropDescriptorQualifier(String propDescriptorQualifier)
Sets the property descriptor qualifier to the mapping mappingLineModel.
|
void |
setSource(SourceColumnModel source)
Sets the mapped source column (SourceColumnListitemModel object) to the mapping mappingLineModel.
|
void |
setTranslator(String translator)
Sets the translator that should be used for importing the mapped attribute values of this mapping mappingLineModel.
|
void |
setUnique(boolean unique) |
void |
setValid(boolean isValid)
Sets whether the mapping mappingLineModel is valid according to the mapping validation logic.
|
void |
setValue(String value)
Sets the content to the value field of the mapping mappingLineModel.
|
addObserver, notifyObservers, removeObservervoid setFocused(boolean focused)
focused - boolean isFocused()
void setCollapsed(boolean collapsed)
collapsed - boolean isCollapsed()
int getLevel()
MappingModel getMapping()
void setMapping(MappingModel mapping)
mapping - boolean isAtomic()
boolean isComposed()
boolean isSourceLocked()
boolean isValueLocked()
boolean hasChildren()
List<MappingLineModel> getChildren()
void addChild(MappingLineModel mappingLineModel)
mappingLineModel - additional mappingLineModelvoid removeChild(MappingLineModel mappingLineModel)
mappingLineModel - mappingLineModel to removeString getValue()
void setValue(String value)
value - String getTranslator()
void setTranslator(String translator)
translator - MappingLineModel getParent()
void setParent(MappingLineModel mappingLineModel)
mappingLineModel - parent mapping mappingLineModelSourceColumnModel getSource()
void setSource(SourceColumnModel source)
source - SourceColumnListitemModel objectAttributeDescriptorModel getAttributeDescriptor()
void setAttributeDescriptor(AttributeDescriptorModel attributeDescriptor)
attributeDescriptor - boolean hasSource()
String getType()
boolean isUnique()
void setUnique(boolean unique)
boolean isAllowNull()
void setAllowNull(boolean isAllowNull)
isAllowNull - boolean isSelectorLocked()
boolean isCollectionElement()
TypeModel getCollectionElementType()
void setCollectionElementType(TypeModel model)
model - TypeModelvoid setPropDescriptorQualifier(String propDescriptorQualifier)
propDescriptorQualifier - String getPropDescriptorQualifier()
void setValid(boolean isValid)
isValid - boolean isValid()
AbstractImportFormat getFormatPattern()
void setFormatPattern(AbstractImportFormat formatPattern)
formatPattern - String getDisplayName()
String getAttributeCode()
String getTypeCode()
Copyright © 2017 SAP SE. All Rights Reserved.