Uses of Record Class
com.tnsai.context.entity.EntityAttribute
Packages that use EntityAttribute
-
Uses of EntityAttribute in com.tnsai.context.entity
Methods in com.tnsai.context.entity that return EntityAttributeModifier and TypeMethodDescriptionstatic EntityAttributeEntityAttribute.full(String name, Object value, String sourceId, double confidence, Instant observedAt) Creates an attribute with full specification.static EntityAttributeCreates an attribute with default confidence (1.0) and current timestamp.EntityAttribute.updateValue(Object newValue, String newSourceId, double newConfidence, String changeReason) Creates a new attribute with updated value and adds current value to history.EntityAttribute.withConfidence(double newConfidence) Creates a new attribute with updated confidence.static EntityAttributeEntityAttribute.withConfidence(String name, Object value, String sourceId, double confidence) Creates an attribute with specified confidence.Methods in com.tnsai.context.entity that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionEntity.getAllConflicts()Gets all attributes that have conflicts.Entity.getAttribute(String name) Gets an attribute by name.Entity.getConflictingValues(String attributeName) Gets all conflicting values for an attribute.Methods in com.tnsai.context.entity with parameters of type EntityAttributeModifier and TypeMethodDescriptionEntity.Builder.attribute(EntityAttribute attr) Entity.Builder.conflictingValue(String attributeName, EntityAttribute attr) booleanEntityAttribute.conflictsWith(EntityAttribute other) Returns true if this attribute conflicts with another (same name, different value).Entity.withAttribute(EntityAttribute attribute) Creates a new entity with an updated attribute.Method parameters in com.tnsai.context.entity with type arguments of type EntityAttribute