Class DefaultTranslatorMapping
- java.lang.Object
-
- de.hybris.platform.importcockpit.model.mappingview.mappingline.impl.DefaultMappingLine
-
- de.hybris.platform.importcockpit.model.mappingview.mappingline.impl.DefaultTranslatorMapping
-
- All Implemented Interfaces:
MappingLineModel,MappingLineObservable,TranslatorMappingLine
- Direct Known Subclasses:
LocalizedTranslatorMapping
public class DefaultTranslatorMapping extends DefaultMappingLine implements TranslatorMappingLine
-
-
Constructor Summary
Constructors Constructor Description DefaultTranslatorMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAttributeCode()Returns the code of the attribute represented by the mapping mappingLineModel.ClassificationAttributeModelgetClassificationAttribute()ClassificationClassModelgetClassificationClass()protected ClassificationSystemServicegetClassificationSystemService()protected ClassificationSystemVersionModelgetClassificationSystemVersion()protected AttributeCollectionMappingLinegetCollectionMappingLine4Attributes(MappingLineModel mappingLine)java.lang.StringgetDisplayName()Returns the attribute name of the mapping mappingLineModel for display in the mapping area.java.lang.StringgetTranslatorQualifier()java.lang.StringgetType()Returns the type of this attribute.java.lang.StringgetUnitCode()booleanisLocalized()booleanisMultivalue()protected voidresolveClassificationClassAndAttribute()voidsetMultivalue(boolean isMultivalue)voidsetTranslatorQualifier(ClassificationClassModel classificationClass, ClassificationAttributeModel classificationAttribute)voidsetTranslatorQualifier(java.lang.String translatorQualifier)voidsetUnitCode(java.lang.String unitCode)-
Methods inherited from class de.hybris.platform.importcockpit.model.mappingview.mappingline.impl.DefaultMappingLine
addChild, addObserver, getAttributeDescriptor, getChildren, getCollectionElementType, getFormatPattern, getLevel, getMapping, getParent, getPropDescriptorQualifier, getSource, getTranslator, getTypeCode, getValue, hasChildren, hasSource, isAllowNull, isAtomic, isCollapsed, isCollectionElement, isComposed, 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, getAttributeDescriptor, getChildren, getCollectionElementType, getFormatPattern, getLevel, getMapping, getParent, getPropDescriptorQualifier, getSource, getTranslator, getTypeCode, getValue, hasChildren, hasSource, isAllowNull, isAtomic, isCollapsed, isCollectionElement, isComposed, 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
-
getClassificationSystemService
protected ClassificationSystemService getClassificationSystemService()
-
getAttributeCode
public java.lang.String getAttributeCode()
Description copied from interface:MappingLineModelReturns the code of the attribute represented by the mapping mappingLineModel.- Specified by:
getAttributeCodein interfaceMappingLineModel- Overrides:
getAttributeCodein classDefaultMappingLine- Returns:
- attribute code
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:MappingLineModelReturns the attribute name of the mapping mappingLineModel for display in the mapping area.- Specified by:
getDisplayNamein interfaceMappingLineModel- Overrides:
getDisplayNamein classDefaultMappingLine- Returns:
- display name of the attribute represented by the mapping mappingLineModel
-
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
-
getTranslatorQualifier
public java.lang.String getTranslatorQualifier()
- Specified by:
getTranslatorQualifierin interfaceTranslatorMappingLine
-
setTranslatorQualifier
public void setTranslatorQualifier(java.lang.String translatorQualifier)
- Specified by:
setTranslatorQualifierin interfaceTranslatorMappingLine
-
setTranslatorQualifier
public void setTranslatorQualifier(ClassificationClassModel classificationClass, ClassificationAttributeModel classificationAttribute)
- Specified by:
setTranslatorQualifierin interfaceTranslatorMappingLine
-
getClassificationClass
public ClassificationClassModel getClassificationClass()
- Specified by:
getClassificationClassin interfaceTranslatorMappingLine
-
getClassificationAttribute
public ClassificationAttributeModel getClassificationAttribute()
- Specified by:
getClassificationAttributein interfaceTranslatorMappingLine
-
resolveClassificationClassAndAttribute
protected void resolveClassificationClassAndAttribute()
-
getClassificationSystemVersion
protected ClassificationSystemVersionModel getClassificationSystemVersion()
-
getCollectionMappingLine4Attributes
protected AttributeCollectionMappingLine getCollectionMappingLine4Attributes(MappingLineModel mappingLine)
-
isLocalized
public boolean isLocalized()
- Specified by:
isLocalizedin interfaceTranslatorMappingLine
-
isMultivalue
public boolean isMultivalue()
- Specified by:
isMultivaluein interfaceTranslatorMappingLine
-
setMultivalue
public void setMultivalue(boolean isMultivalue)
- Specified by:
setMultivaluein interfaceTranslatorMappingLine
-
getUnitCode
public java.lang.String getUnitCode()
- Specified by:
getUnitCodein interfaceTranslatorMappingLine
-
setUnitCode
public void setUnitCode(java.lang.String unitCode)
- Specified by:
setUnitCodein interfaceTranslatorMappingLine
-
-