Class AbstractAttributeMapping

java.lang.Object
fr.becpg.config.mapping.AbstractAttributeMapping
Direct Known Subclasses:
AttributeMapping, CharacteristicMapping, FileMapping, FormulaMapping, HierarchyMapping

public abstract class AbstractAttributeMapping extends Object
Class that represent the mapping for importing a property or an association (node or characteristic or file)
Version:
$Id: $Id
Author:
querephi
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.alfresco.service.cmr.dictionary.ClassAttributeDefinition
    The attribute.
    protected String
    The id.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractAttributeMapping(String id, org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute)
    Instantiates a new attribute mapping.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    org.alfresco.service.cmr.dictionary.ClassAttributeDefinition
    Gets the attribute.
    Gets the id.
    int
    void
    setAttribute(org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute)
    Sets the attribute.
    void
    Sets the id.

    Methods inherited from class java.lang.Object

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

    • id

      protected String id
      The id.
    • attribute

      protected org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute
      The attribute.
  • Constructor Details

    • AbstractAttributeMapping

      protected AbstractAttributeMapping(String id, org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute)
      Instantiates a new attribute mapping.
      Parameters:
      id - the id
      attribute - the attribute
  • Method Details

    • getId

      public String getId()
      Gets the id.
      Returns:
      the id
    • setId

      public void setId(String id)
      Sets the id.
      Parameters:
      id - the new id
    • getAttribute

      public org.alfresco.service.cmr.dictionary.ClassAttributeDefinition getAttribute()
      Gets the attribute.
      Returns:
      the attribute
    • setAttribute

      public void setAttribute(org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute)
      Sets the attribute.
      Parameters:
      attribute - the new attribute
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object