Class DefaultComposedTypeMapping
- java.lang.Object
-
- de.hybris.platform.importcockpit.model.mappingview.mappingline.impl.DefaultMappingLine
-
- de.hybris.platform.importcockpit.model.mappingview.mappingline.impl.DefaultComposedTypeMapping
-
- All Implemented Interfaces:
ComposedTypeMappingLine,MappingLineModel,MappingLineObservable
public class DefaultComposedTypeMapping extends DefaultMappingLine implements ComposedTypeMappingLine
MappingModel mappingLineModel type that represents an attribute of a composed type (like Product, Category, Order etc.)
-
-
Constructor Summary
Constructors Constructor Description DefaultComposedTypeMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComposedAttribImportModegetComposedAttribImportMode()Returns the import mode for the composed attribute: CREATE on the fly or SELECT (default)TypeModelgetCreationType()Returns the composed type for the creation of an object through the CREATE import modejava.lang.StringgetType()Returns the type of this attribute.booleanisAtomic()Returns true if this mappingLineModel represents an atomic type with (no sub lines possible).booleanisComposed()Returns true if this mappingLineModel is a composed mappingLineModel.voidsetComposedAttribImportMode(ComposedAttribImportMode mode)Sets the import mode for the composed attribute: CREATE on the fly or SELECT (default)voidsetCreationType(TypeModel creationType)Sets the composed type for the creation of an object through the CREATE import mode-
Methods inherited from class de.hybris.platform.importcockpit.model.mappingview.mappingline.impl.DefaultMappingLine
addChild, addObserver, getAttributeCode, getAttributeDescriptor, getChildren, getCollectionElementType, getDisplayName, getFormatPattern, getLevel, getMapping, getParent, getPropDescriptorQualifier, getSource, getTranslator, getTypeCode, getValue, hasChildren, hasSource, isAllowNull, isCollapsed, isCollectionElement, isFocused, isSelectorLocked, isSourceLocked, isUnique, isValid, isValueLocked, notifyObservers, removeChild, removeObserver, setAllowNull, setAttributeDescriptor, setCollapsed, setCollectionElementType, setFocused, setFormatPattern, setMapping, setParent, setPropDescriptorQualifier, setSource, setTranslator, setUnique, setValid, setValue, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.importcockpit.model.mappingview.mappingline.MappingLineModel
addChild, getAttributeCode, getAttributeDescriptor, getChildren, getCollectionElementType, getDisplayName, getFormatPattern, getLevel, getMapping, getParent, getPropDescriptorQualifier, getSource, getTranslator, getTypeCode, getValue, hasChildren, hasSource, isAllowNull, isCollapsed, isCollectionElement, isFocused, isSelectorLocked, isSourceLocked, isUnique, isValid, isValueLocked, removeChild, setAllowNull, setAttributeDescriptor, setCollapsed, setCollectionElementType, setFocused, setFormatPattern, setMapping, setParent, setPropDescriptorQualifier, setSource, setTranslator, setUnique, setValid, setValue
-
Methods inherited from interface de.hybris.platform.importcockpit.model.mappingview.mappingline.MappingLineObservable
addObserver, notifyObservers, removeObserver
-
-
-
-
Method Detail
-
getComposedAttribImportMode
public ComposedAttribImportMode getComposedAttribImportMode()
Description copied from interface:ComposedTypeMappingLineReturns the import mode for the composed attribute: CREATE on the fly or SELECT (default)- Specified by:
getComposedAttribImportModein interfaceComposedTypeMappingLine- Returns:
- the import mode: Mode.CREATE or Mode.SELECT (default)
-
setComposedAttribImportMode
public void setComposedAttribImportMode(ComposedAttribImportMode mode)
Description copied from interface:ComposedTypeMappingLineSets the import mode for the composed attribute: CREATE on the fly or SELECT (default)- Specified by:
setComposedAttribImportModein interfaceComposedTypeMappingLine- Parameters:
mode- ,Mode.CREATE or Mode.SELECT (default)
-
isAtomic
public boolean isAtomic()
Description copied from interface:MappingLineModelReturns true if this mappingLineModel represents an atomic type with (no sub lines possible).- Specified by:
isAtomicin interfaceMappingLineModel- Overrides:
isAtomicin classDefaultMappingLine- Returns:
- true if basic
-
isComposed
public boolean isComposed()
Description copied from interface:MappingLineModelReturns true if this mappingLineModel is a composed mappingLineModel. (Sub lines possible, true for collection or composed mapping lines)- Specified by:
isComposedin interfaceMappingLineModel- Overrides:
isComposedin classDefaultMappingLine- Returns:
- true if composed
-
getCreationType
public TypeModel getCreationType()
Description copied from interface:ComposedTypeMappingLineReturns the composed type for the creation of an object through the CREATE import mode- Specified by:
getCreationTypein interfaceComposedTypeMappingLine- Returns:
- creation type TypeModel
-
setCreationType
public void setCreationType(TypeModel creationType)
Description copied from interface:ComposedTypeMappingLineSets the composed type for the creation of an object through the CREATE import mode- Specified by:
setCreationTypein interfaceComposedTypeMappingLine- Parameters:
creationType- TypeModel
-
getType
public java.lang.String getType()
Description copied from interface:MappingLineModelReturns the type of this attribute.- Specified by:
getTypein interfaceMappingLineModel- Overrides:
getTypein classDefaultMappingLine- Returns:
- type
-
-