Package fr.becpg.config.mapping
Class CharacteristicMapping
java.lang.Object
fr.becpg.config.mapping.AbstractAttributeMapping
fr.becpg.config.mapping.CharacteristicMapping
Class that represent the mapping for importing a characteristic
<column id="coutMP" path="bcpg:productLists/bcpg:costList" charactQName="bcpg:costListCost" valueQName="bcpg:costListValue"
charactNodeRef="" charactName="Coût emballage" />.
- Version:
- $Id: $Id
- Author:
- querephi
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.alfresco.service.cmr.repository.NodeRefThe charact node ref.private org.alfresco.service.namespace.QNameThe charact q name.private org.alfresco.service.namespace.QNameThe data list q name.Fields inherited from class fr.becpg.config.mapping.AbstractAttributeMapping
attribute, id -
Constructor Summary
ConstructorsConstructorDescriptionCharacteristicMapping(String id, org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute, org.alfresco.service.namespace.QName dataListQName, org.alfresco.service.namespace.QName charactQName, org.alfresco.service.cmr.repository.NodeRef charactNodeRef) Instantiates a new characteristic mapping. -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.alfresco.service.cmr.repository.NodeRefGets the charact node ref.org.alfresco.service.namespace.QNameGets the charact q name.org.alfresco.service.namespace.QNameGets the data list q name.inthashCode()voidsetCharactNodeRef(org.alfresco.service.cmr.repository.NodeRef charactNodeRef) Sets the charact node ref.voidsetCharactQName(org.alfresco.service.namespace.QName charactQName) Sets the charact q name.voidsetDataListQName(org.alfresco.service.namespace.QName dataListQName) Sets the data list q name.toString()Methods inherited from class fr.becpg.config.mapping.AbstractAttributeMapping
getAttribute, getId, setAttribute, setId
-
Field Details
-
dataListQName
private org.alfresco.service.namespace.QName dataListQNameThe data list q name. -
charactQName
private org.alfresco.service.namespace.QName charactQNameThe charact q name. -
charactNodeRef
private org.alfresco.service.cmr.repository.NodeRef charactNodeRefThe charact node ref.
-
-
Constructor Details
-
CharacteristicMapping
public CharacteristicMapping(String id, org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute, org.alfresco.service.namespace.QName dataListQName, org.alfresco.service.namespace.QName charactQName, org.alfresco.service.cmr.repository.NodeRef charactNodeRef) Instantiates a new characteristic mapping.- Parameters:
id- the idattribute- the attributedataListQName- the data list q namecharactQName- the charact q namecharactNodeRef- the charact node ref
-
-
Method Details
-
getDataListQName
public org.alfresco.service.namespace.QName getDataListQName()Gets the data list q name.- Returns:
- the data list q name
-
setDataListQName
public void setDataListQName(org.alfresco.service.namespace.QName dataListQName) Sets the data list q name.- Parameters:
dataListQName- the new data list q name
-
getCharactQName
public org.alfresco.service.namespace.QName getCharactQName()Gets the charact q name.- Returns:
- the charact q name
-
setCharactQName
public void setCharactQName(org.alfresco.service.namespace.QName charactQName) Sets the charact q name.- Parameters:
charactQName- the new charact q name
-
getCharactNodeRef
public org.alfresco.service.cmr.repository.NodeRef getCharactNodeRef()Gets the charact node ref.- Returns:
- the charact node ref
-
setCharactNodeRef
public void setCharactNodeRef(org.alfresco.service.cmr.repository.NodeRef charactNodeRef) Sets the charact node ref.- Parameters:
charactNodeRef- the new charact node ref
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAttributeMapping
-
equals
- Overrides:
equalsin classAbstractAttributeMapping
-
toString
-