public class DefaultMappingLineTypeService extends Object implements MappingLineTypeService
| Constructor and Description |
|---|
DefaultMappingLineTypeService() |
| Modifier and Type | Method and Description |
|---|---|
ComposedTypeModel |
getComposedTypeModel(String code)
Return a composed type model for an item type code.
|
protected MappingLineConfigService |
getMappingLineConfigService() |
TypeModel |
getTypeModel(ItemAttributePropertyDescriptor propertyDescriptor)
Returns the type model for the attribute type of the supplied property descriptor.
|
protected TypeService |
getTypeService() |
boolean |
isAtomicType(ItemAttributePropertyDescriptor propertyDescriptor) |
boolean |
isAtomicType(TypeModel model) |
boolean |
isCollectionType(ItemAttributePropertyDescriptor propertyDescriptor) |
boolean |
isCollectionType(TypeModel model) |
boolean |
isComposedType(ItemAttributePropertyDescriptor propertyDescriptor) |
boolean |
isComposedType(TypeModel model) |
boolean |
isEnumerationType(ItemAttributePropertyDescriptor propertyDescriptor) |
boolean |
isEnumerationType(TypeModel model) |
boolean |
isLocalizedType(ItemAttributePropertyDescriptor propertyDescriptor)
Checks if the specified property descriptor refers to a property of a localized type (i.e.
|
boolean |
isLocalizedType(TypeModel model) |
boolean |
isUnique(ItemAttributePropertyDescriptor propertyDescriptor,
ObjectType type,
boolean includeConfigFile)
Use for selecting.
|
void |
setMappingLineConfigService(MappingLineConfigService mappingLineConfigService) |
void |
setTypeService(TypeService typeService) |
void |
updateCreationType(ComposedTypeMappingLine mappingLineModel,
ObjectType type)
Sets the type (ObjectType) as a creation type for the composed mapping mappingLineModel.
|
public void setTypeService(TypeService typeService)
protected TypeService getTypeService()
public void setMappingLineConfigService(MappingLineConfigService mappingLineConfigService)
protected MappingLineConfigService getMappingLineConfigService()
public void updateCreationType(ComposedTypeMappingLine mappingLineModel, ObjectType type)
MappingLineTypeServiceupdateCreationType in interface MappingLineTypeServicepublic boolean isAtomicType(ItemAttributePropertyDescriptor propertyDescriptor)
isAtomicType in interface MappingLineTypeServicepublic boolean isAtomicType(TypeModel model)
isAtomicType in interface MappingLineTypeServicepublic boolean isComposedType(ItemAttributePropertyDescriptor propertyDescriptor)
isComposedType in interface MappingLineTypeServicepublic boolean isComposedType(TypeModel model)
isComposedType in interface MappingLineTypeServicepublic boolean isCollectionType(ItemAttributePropertyDescriptor propertyDescriptor)
isCollectionType in interface MappingLineTypeServicepublic boolean isCollectionType(TypeModel model)
isCollectionType in interface MappingLineTypeServicepublic boolean isEnumerationType(ItemAttributePropertyDescriptor propertyDescriptor)
isEnumerationType in interface MappingLineTypeServicepublic boolean isEnumerationType(TypeModel model)
isEnumerationType in interface MappingLineTypeServicepublic boolean isLocalizedType(ItemAttributePropertyDescriptor propertyDescriptor)
MappingLineTypeServiceisLocalizedType in interface MappingLineTypeServicepublic boolean isLocalizedType(TypeModel model)
isLocalizedType in interface MappingLineTypeServicepublic TypeModel getTypeModel(ItemAttributePropertyDescriptor propertyDescriptor)
MappingLineTypeServicegetTypeModel in interface MappingLineTypeServicepropertyDescriptor - property descriptorpublic ComposedTypeModel getComposedTypeModel(String code)
MappingLineTypeServicegetComposedTypeModel in interface MappingLineTypeServicecode - item type codepublic boolean isUnique(ItemAttributePropertyDescriptor propertyDescriptor, ObjectType type, boolean includeConfigFile)
MappingLineTypeServiceisUnique in interface MappingLineTypeServiceincludeConfigFile - include the attributes from the mapping config file or notCopyright © 2017 SAP SE. All Rights Reserved.