Package fr.becpg.config.mapping
Class AttributeMapping
java.lang.Object
fr.becpg.config.mapping.AbstractAttributeMapping
fr.becpg.config.mapping.AttributeMapping
Class that represent the mapping for importing a property or an association of a node
<column id="modifier" attribute="cm:modifier" />
<column id="suppliers" attribute="bcpg:supplierAssoc" />.
- Version:
- $Id: $Id
- Author:
- querephi
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate org.alfresco.service.namespace.QNameFields inherited from class fr.becpg.config.mapping.AbstractAttributeMapping
attribute, id -
Constructor Summary
ConstructorsConstructorDescriptionAttributeMapping(String id, org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute) Constructor for AttributeMapping. -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.alfresco.service.namespace.QNameGetter for the fieldtargetClass.inthashCode()booleanisMLText()isMLText.voidsetMLText(boolean isMLText) setMLText.voidsetTargetClass(org.alfresco.service.namespace.QName targetClass) Setter for the fieldtargetClass.toString()Methods inherited from class fr.becpg.config.mapping.AbstractAttributeMapping
getAttribute, getId, setAttribute, setId
-
Field Details
-
targetClass
private org.alfresco.service.namespace.QName targetClass -
isMLText
private boolean isMLText
-
-
Constructor Details
-
Method Details
-
getTargetClass
public org.alfresco.service.namespace.QName getTargetClass()Getter for the field
targetClass.- Returns:
- a
QNameobject.
-
setTargetClass
public void setTargetClass(org.alfresco.service.namespace.QName targetClass) Setter for the field
targetClass.- Parameters:
targetClass- aQNameobject.
-
isMLText
public boolean isMLText()isMLText.
- Returns:
- a boolean.
-
setMLText
public void setMLText(boolean isMLText) setMLText.
- Parameters:
isMLText- a boolean.
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAttributeMapping
-
equals
- Overrides:
equalsin classAbstractAttributeMapping
-