Package com.embabel.agent.core
Interface PropertyDefinition
-
- All Implemented Interfaces:
public interface PropertyDefinition
-
-
Method Summary
Modifier and Type Method Description abstract StringgetName()abstract StringgetDescription()abstract CardinalitygetCardinality()abstract Map<String, String>getMetadata()Semantic metadata for this property. -
-
Method Detail
-
getDescription
abstract String getDescription()
-
getCardinality
abstract Cardinality getCardinality()
-
getMetadata
abstract Map<String, String> getMetadata()
Semantic metadata for this property. Populated from @Semantics annotation on the field. Keys and values are strings; common keys include:
predicate: Natural language predicate (e.g., "works at")inverse: Inverse predicate (e.g., "employs")aliases: Comma-separated alternative phrasings
-
-
-
-