public static class EntityAttribute.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EntityAttribute |
build() |
EntityAttribute.Builder |
copy(EntityAttribute model) |
EntityAttribute.Builder |
entityName(String entityName)
Name of referenced entity.
|
EntityAttribute.Builder |
isFuzzyMatch(Boolean isFuzzyMatch)
Is the entity attribute a fuzzy match
|
EntityAttribute.Builder |
isInvertComparisons(Boolean isInvertComparisons)
Are comparisons inverted in the entity attribute
|
EntityAttribute.Builder |
isMultiValue(Boolean isMultiValue)
Is the entity attribute multi-value
|
EntityAttribute.Builder |
name(String name)
The name of an entity attribute
|
EntityAttribute.Builder |
naturalLanguageMapping(EntityAttributeNaturalLanguageMapping naturalLanguageMapping) |
EntityAttribute.Builder |
temporalPreference(TemporalPreference temporalPreference)
Temporal preference of an attribute
|
EntityAttribute.Builder |
type(EntityAttributeType type)
The type of an entity attribute
|
public EntityAttribute.Builder name(String name)
The name of an entity attribute
name
- the value to setpublic EntityAttribute.Builder type(EntityAttributeType type)
The type of an entity attribute
type
- the value to setpublic EntityAttribute.Builder naturalLanguageMapping(EntityAttributeNaturalLanguageMapping naturalLanguageMapping)
public EntityAttribute.Builder isMultiValue(Boolean isMultiValue)
Is the entity attribute multi-value
isMultiValue
- the value to setpublic EntityAttribute.Builder isFuzzyMatch(Boolean isFuzzyMatch)
Is the entity attribute a fuzzy match
isFuzzyMatch
- the value to setpublic EntityAttribute.Builder isInvertComparisons(Boolean isInvertComparisons)
Are comparisons inverted in the entity attribute
isInvertComparisons
- the value to setpublic EntityAttribute.Builder temporalPreference(TemporalPreference temporalPreference)
Temporal preference of an attribute
temporalPreference
- the value to setpublic EntityAttribute.Builder entityName(String entityName)
Name of referenced entity.
entityName
- the value to setpublic EntityAttribute build()
public EntityAttribute.Builder copy(EntityAttribute model)
Copyright © 2016–2024. All rights reserved.