Package fr.becpg.config.mapping
Class AbstractAttributeMapping
java.lang.Object
fr.becpg.config.mapping.AbstractAttributeMapping
- Direct Known Subclasses:
AttributeMapping,CharacteristicMapping,FileMapping,FormulaMapping,HierarchyMapping
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAttributeMapping(String id, org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute) Instantiates a new attribute mapping. -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.alfresco.service.cmr.dictionary.ClassAttributeDefinitionGets the attribute.getId()Gets the id.inthashCode()voidsetAttribute(org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute) Sets the attribute.voidSets the id.
-
Field Details
-
id
The id. -
attribute
protected org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attributeThe attribute.
-
-
Constructor Details
-
AbstractAttributeMapping
protected AbstractAttributeMapping(String id, org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute) Instantiates a new attribute mapping.- Parameters:
id- the idattribute- the attribute
-
-
Method Details
-
getId
Gets the id.- Returns:
- the id
-
setId
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() -
equals
-