public abstract class GeneratedAttributeConfiguration extends AbstractLuceneItem
AttributeConfiguration.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
AVAILABLEINDEXABLEATTRIBUTES
Qualifier of the
AttributeConfiguration.availableIndexableAttributes attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
EXACT
Qualifier of the
AttributeConfiguration.exact attribute |
static String |
FIELDNAME
Qualifier of the
AttributeConfiguration.fieldName attribute |
static String |
INDEXCONFIGURATION
Qualifier of the
AttributeConfiguration.indexConfiguration attribute |
static String |
INDEXEDATTRIBUTE
Qualifier of the
AttributeConfiguration.indexedAttribute attribute |
static String |
STOREDATA
Qualifier of the
AttributeConfiguration.storeData attribute |
static String |
WEIGHT
Qualifier of the
AttributeConfiguration.weight attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedAttributeConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Collection<AttributeDescriptor> |
getAvailableIndexableAttributes()
Generated method - Getter of the
AttributeConfiguration.availableIndexableAttributes attribute. |
abstract Collection<AttributeDescriptor> |
getAvailableIndexableAttributes(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.availableIndexableAttributes attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getFieldName()
Generated method - Getter of the
AttributeConfiguration.fieldName attribute. |
String |
getFieldName(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.fieldName attribute. |
IndexConfiguration |
getIndexConfiguration()
Generated method - Getter of the
AttributeConfiguration.indexConfiguration attribute. |
IndexConfiguration |
getIndexConfiguration(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.indexConfiguration attribute. |
AttributeDescriptor |
getIndexedAttribute()
Generated method - Getter of the
AttributeConfiguration.indexedAttribute attribute. |
AttributeDescriptor |
getIndexedAttribute(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.indexedAttribute attribute. |
Double |
getWeight()
Generated method - Getter of the
AttributeConfiguration.weight attribute. |
Double |
getWeight(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.weight attribute. |
double |
getWeightAsPrimitive()
Generated method - Getter of the
AttributeConfiguration.weight attribute. |
double |
getWeightAsPrimitive(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.weight attribute. |
Boolean |
isExact()
Generated method - Getter of the
AttributeConfiguration.exact attribute. |
Boolean |
isExact(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.exact attribute. |
boolean |
isExactAsPrimitive()
Generated method - Getter of the
AttributeConfiguration.exact attribute. |
boolean |
isExactAsPrimitive(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.exact attribute. |
Boolean |
isStoreData()
Generated method - Getter of the
AttributeConfiguration.storeData attribute. |
Boolean |
isStoreData(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.storeData attribute. |
boolean |
isStoreDataAsPrimitive()
Generated method - Getter of the
AttributeConfiguration.storeData attribute. |
boolean |
isStoreDataAsPrimitive(SessionContext ctx)
Generated method - Getter of the
AttributeConfiguration.storeData attribute. |
void |
setExact(boolean value)
Generated method - Setter of the
AttributeConfiguration.exact attribute. |
void |
setExact(Boolean value)
Generated method - Setter of the
AttributeConfiguration.exact attribute. |
void |
setExact(SessionContext ctx,
boolean value)
Generated method - Setter of the
AttributeConfiguration.exact attribute. |
void |
setExact(SessionContext ctx,
Boolean value)
Generated method - Setter of the
AttributeConfiguration.exact attribute. |
void |
setFieldName(SessionContext ctx,
String value)
Generated method - Setter of the
AttributeConfiguration.fieldName attribute. |
void |
setFieldName(String value)
Generated method - Setter of the
AttributeConfiguration.fieldName attribute. |
protected void |
setIndexConfiguration(IndexConfiguration value)
Generated method - Setter of the
AttributeConfiguration.indexConfiguration attribute. |
protected void |
setIndexConfiguration(SessionContext ctx,
IndexConfiguration value)
Generated method - Setter of the
AttributeConfiguration.indexConfiguration attribute. |
void |
setIndexedAttribute(AttributeDescriptor value)
Generated method - Setter of the
AttributeConfiguration.indexedAttribute attribute. |
void |
setIndexedAttribute(SessionContext ctx,
AttributeDescriptor value)
Generated method - Setter of the
AttributeConfiguration.indexedAttribute attribute. |
void |
setStoreData(boolean value)
Generated method - Setter of the
AttributeConfiguration.storeData attribute. |
void |
setStoreData(Boolean value)
Generated method - Setter of the
AttributeConfiguration.storeData attribute. |
void |
setStoreData(SessionContext ctx,
boolean value)
Generated method - Setter of the
AttributeConfiguration.storeData attribute. |
void |
setStoreData(SessionContext ctx,
Boolean value)
Generated method - Setter of the
AttributeConfiguration.storeData attribute. |
void |
setWeight(double value)
Generated method - Setter of the
AttributeConfiguration.weight attribute. |
void |
setWeight(Double value)
Generated method - Setter of the
AttributeConfiguration.weight attribute. |
void |
setWeight(SessionContext ctx,
double value)
Generated method - Setter of the
AttributeConfiguration.weight attribute. |
void |
setWeight(SessionContext ctx,
Double value)
Generated method - Setter of the
AttributeConfiguration.weight attribute. |
createItem, getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic static final String AVAILABLEINDEXABLEATTRIBUTES
AttributeConfiguration.availableIndexableAttributes attributepublic static final String EXACT
AttributeConfiguration.exact attributepublic static final String FIELDNAME
AttributeConfiguration.fieldName attributepublic static final String INDEXCONFIGURATION
AttributeConfiguration.indexConfiguration attributepublic static final String INDEXEDATTRIBUTE
AttributeConfiguration.indexedAttribute attributepublic static final String STOREDATA
AttributeConfiguration.storeData attributepublic static final String WEIGHT
AttributeConfiguration.weight attributeprotected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedAbstractLuceneItempublic abstract Collection<AttributeDescriptor> getAvailableIndexableAttributes(SessionContext ctx)
AttributeConfiguration.availableIndexableAttributes attribute.public Collection<AttributeDescriptor> getAvailableIndexableAttributes()
AttributeConfiguration.availableIndexableAttributes attribute.public Boolean isExact(SessionContext ctx)
AttributeConfiguration.exact attribute.public Boolean isExact()
AttributeConfiguration.exact attribute.public boolean isExactAsPrimitive(SessionContext ctx)
AttributeConfiguration.exact attribute.public boolean isExactAsPrimitive()
AttributeConfiguration.exact attribute.public void setExact(SessionContext ctx, Boolean value)
AttributeConfiguration.exact attribute.value - the exact - Indicates whether this attribute text must be indexed
exactly (for example, without any stemming
mechanism), such as codes or identification
numbers. Defaults to Boolean.FALSE.public void setExact(Boolean value)
AttributeConfiguration.exact attribute.value - the exact - Indicates whether this attribute text must be indexed
exactly (for example, without any stemming
mechanism), such as codes or identification
numbers. Defaults to Boolean.FALSE.public void setExact(SessionContext ctx, boolean value)
AttributeConfiguration.exact attribute.value - the exact - Indicates whether this attribute text must be indexed
exactly (for example, without any stemming
mechanism), such as codes or identification
numbers. Defaults to Boolean.FALSE.public void setExact(boolean value)
AttributeConfiguration.exact attribute.value - the exact - Indicates whether this attribute text must be indexed
exactly (for example, without any stemming
mechanism), such as codes or identification
numbers. Defaults to Boolean.FALSE.public String getFieldName(SessionContext ctx)
AttributeConfiguration.fieldName attribute.public String getFieldName()
AttributeConfiguration.fieldName attribute.public void setFieldName(SessionContext ctx, String value)
AttributeConfiguration.fieldName attribute.value - the fieldName - Field name within the lucene index where the
attribute will be stored.public void setFieldName(String value)
AttributeConfiguration.fieldName attribute.value - the fieldName - Field name within the lucene index where the
attribute will be stored.public IndexConfiguration getIndexConfiguration(SessionContext ctx)
AttributeConfiguration.indexConfiguration attribute.public IndexConfiguration getIndexConfiguration()
AttributeConfiguration.indexConfiguration attribute.protected void setIndexConfiguration(SessionContext ctx, IndexConfiguration value)
AttributeConfiguration.indexConfiguration attribute.value - the indexConfiguration - The IndexConfiguration to which this
configuration belongs.protected void setIndexConfiguration(IndexConfiguration value)
AttributeConfiguration.indexConfiguration attribute.value - the indexConfiguration - The IndexConfiguration to which this
configuration belongs.public AttributeDescriptor getIndexedAttribute(SessionContext ctx)
AttributeConfiguration.indexedAttribute attribute.public AttributeDescriptor getIndexedAttribute()
AttributeConfiguration.indexedAttribute attribute.public void setIndexedAttribute(SessionContext ctx, AttributeDescriptor value)
AttributeConfiguration.indexedAttribute attribute.value - the indexedAttribute - Gets the attribute definition this configuration
represents. Is limited to the values of the
availableIndexableAttributes attribute.public void setIndexedAttribute(AttributeDescriptor value)
AttributeConfiguration.indexedAttribute attribute.value - the indexedAttribute - Gets the attribute definition this configuration
represents. Is limited to the values of the
availableIndexableAttributes attribute.public Boolean isStoreData(SessionContext ctx)
AttributeConfiguration.storeData attribute.public Boolean isStoreData()
AttributeConfiguration.storeData attribute.public boolean isStoreDataAsPrimitive(SessionContext ctx)
AttributeConfiguration.storeData attribute.public boolean isStoreDataAsPrimitive()
AttributeConfiguration.storeData attribute.public void setStoreData(SessionContext ctx, Boolean value)
AttributeConfiguration.storeData attribute.value - the storeData - Specifies whether the original text has to be stored
inside the lucene index as well. Defaults to
Boolean.TRUE.public void setStoreData(Boolean value)
AttributeConfiguration.storeData attribute.value - the storeData - Specifies whether the original text has to be stored
inside the lucene index as well. Defaults to
Boolean.TRUE.public void setStoreData(SessionContext ctx, boolean value)
AttributeConfiguration.storeData attribute.value - the storeData - Specifies whether the original text has to be stored
inside the lucene index as well. Defaults to
Boolean.TRUE.public void setStoreData(boolean value)
AttributeConfiguration.storeData attribute.value - the storeData - Specifies whether the original text has to be stored
inside the lucene index as well. Defaults to
Boolean.TRUE.public Double getWeight(SessionContext ctx)
AttributeConfiguration.weight attribute.public Double getWeight()
AttributeConfiguration.weight attribute.public double getWeightAsPrimitive(SessionContext ctx)
AttributeConfiguration.weight attribute.public double getWeightAsPrimitive()
AttributeConfiguration.weight attribute.public void setWeight(SessionContext ctx, Double value)
AttributeConfiguration.weight attribute.value - the weight - The weighting of the attribute within the Lucene
index. Must be greater than 0. Defaults to new
Double(1.0).public void setWeight(Double value)
AttributeConfiguration.weight attribute.value - the weight - The weighting of the attribute within the Lucene
index. Must be greater than 0. Defaults to new
Double(1.0).public void setWeight(SessionContext ctx, double value)
AttributeConfiguration.weight attribute.value - the weight - The weighting of the attribute within the Lucene
index. Must be greater than 0. Defaults to new
Double(1.0).public void setWeight(double value)
AttributeConfiguration.weight attribute.value - the weight - The weighting of the attribute within the Lucene
index. Must be greater than 0. Defaults to new
Double(1.0).Copyright © 2017 SAP SE. All Rights Reserved.