Class CharacteristicMapping

java.lang.Object
fr.becpg.config.mapping.AbstractAttributeMapping
fr.becpg.config.mapping.CharacteristicMapping

public class CharacteristicMapping extends AbstractAttributeMapping
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

    Fields
    Modifier and Type
    Field
    Description
    private org.alfresco.service.cmr.repository.NodeRef
    The charact node ref.
    private org.alfresco.service.namespace.QName
    The charact q name.
    private org.alfresco.service.namespace.QName
    The data list q name.

    Fields inherited from class fr.becpg.config.mapping.AbstractAttributeMapping

    attribute, id
  • Constructor Summary

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    org.alfresco.service.cmr.repository.NodeRef
    Gets the charact node ref.
    org.alfresco.service.namespace.QName
    Gets the charact q name.
    org.alfresco.service.namespace.QName
    Gets the data list q name.
    int
    void
    setCharactNodeRef(org.alfresco.service.cmr.repository.NodeRef charactNodeRef)
    Sets the charact node ref.
    void
    setCharactQName(org.alfresco.service.namespace.QName charactQName)
    Sets the charact q name.
    void
    setDataListQName(org.alfresco.service.namespace.QName dataListQName)
    Sets the data list q name.

    Methods inherited from class fr.becpg.config.mapping.AbstractAttributeMapping

    getAttribute, getId, setAttribute, setId

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • dataListQName

      private org.alfresco.service.namespace.QName dataListQName
      The data list q name.
    • charactQName

      private org.alfresco.service.namespace.QName charactQName
      The charact q name.
    • charactNodeRef

      private org.alfresco.service.cmr.repository.NodeRef charactNodeRef
      The 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 id
      attribute - the attribute
      dataListQName - the data list q name
      charactQName - the charact q name
      charactNodeRef - 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:
      hashCode in class AbstractAttributeMapping
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class AbstractAttributeMapping
    • toString

      public String toString()
      Overrides:
      toString in class Object