Class AbstractFieldMapping
- java.lang.Object
 - 
- com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping
 
 
- 
- All Implemented Interfaces:
 FieldMapping
- Direct Known Subclasses:
 BinaryFieldMapping,BooleanFieldMapping,DateFieldMapping,DoubleFieldMapping,FloatFieldMapping,IntFieldMapping,LongFieldMapping,StringFieldMapping,TextFieldMapping
@ParametersAreNonnullByDefault public abstract class AbstractFieldMapping extends Object implements FieldMapping
This class provides a skeletal implementation of theFieldMappinginterface.- Since:
 - 8.6
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractFieldMapping.Builder 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFieldMapping(AbstractFieldMapping.Builder builder)protectedAbstractFieldMapping(String name, boolean stored, boolean indexed) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()inthashCode()booleanisIndexed()booleanisStored()StringtoString()- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface com.atlassian.confluence.plugins.index.api.mapping.FieldMapping
accept 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AbstractFieldMapping
protected AbstractFieldMapping(AbstractFieldMapping.Builder builder)
 
- 
AbstractFieldMapping
protected AbstractFieldMapping(String name, boolean stored, boolean indexed)
 
 - 
 
- 
Method Detail
- 
getName
public String getName()
- Specified by:
 getNamein interfaceFieldMapping- Returns:
 - name of the field
 
 
- 
isStored
public boolean isStored()
- Specified by:
 isStoredin interfaceFieldMapping- Returns:
 - true if the original field value is stored, so it can be retrieved.
 
 
- 
isIndexed
public boolean isIndexed()
- Specified by:
 isIndexedin interfaceFieldMapping- Returns:
 - true if the field is indexed, so it can be searched
 
 
 - 
 
 -