Package fr.becpg.config.mapping
Class HierarchyMapping
java.lang.Object
fr.becpg.config.mapping.AbstractAttributeMapping
fr.becpg.config.mapping.HierarchyMapping
Class that represent the mapping for importing a hierarchy
<column id="lkvValue2" type="Hierarchy" attribute="bcpg:lkvValue"
parentLevel="lkvValue1" parentLevelAttribute="bcpg:parentLevel" />
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsFields inherited from class fr.becpg.config.mapping.AbstractAttributeMapping
attribute, id -
Constructor Summary
ConstructorsConstructorDescriptionHierarchyMapping(String id, org.alfresco.service.cmr.dictionary.ClassAttributeDefinition attribute, String parentLevelColumn, String path, String key) Constructor for HierarchyMapping. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()Getter for the fieldkey.Getter for the fieldparentLevelColumn.getPath()Getter for the fieldpath.inthashCode()voidSetter for the fieldkey.voidsetParentLevelColumn(String parentLevelColumn) Setter for the fieldparentLevelColumn.voidSetter for the fieldpath.toString()Methods inherited from class fr.becpg.config.mapping.AbstractAttributeMapping
getAttribute, getId, setAttribute, setId
-
Field Details
-
parentLevelColumn
-
path
-
key
-
-
Constructor Details
-
Method Details
-
getParentLevelColumn
Getter for the field
parentLevelColumn.- Returns:
- a
Stringobject.
-
setParentLevelColumn
Setter for the field
parentLevelColumn.- Parameters:
parentLevelColumn- aStringobject.
-
getPath
Getter for the field
path.- Returns:
- a
Stringobject.
-
setPath
Setter for the field
path.- Parameters:
path- aStringobject.
-
getKey
Getter for the field
key.- Returns:
- a
Stringobject
-
setKey
Setter for the field
key.- Parameters:
key- aStringobject
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAttributeMapping
-
equals
- Overrides:
equalsin classAbstractAttributeMapping
-
toString
-